@stridge/kit 0.1.0-alpha.60 → 0.1.0-alpha.62

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 (295) hide show
  1. package/dist/KitProvider.d.ts +0 -21
  2. package/dist/KitProvider.js +1 -1
  3. package/dist/_internal/deposit/driver/index.d.ts +3 -3
  4. package/dist/_internal/drivers/stridge-mock/index.d.ts +3 -2
  5. package/dist/_internal/drivers/stridge-mock/index.js +1 -1
  6. package/dist/activity/compound/index.js +1 -1
  7. package/dist/deposit/compound/index.d.ts +21 -10
  8. package/dist/deposit/compound/index.js +1 -1
  9. package/dist/deposit/widgets/index.d.ts +6 -3
  10. package/dist/deposit/widgets/index.js +1 -1
  11. package/dist/drivers/stridge/createStridgeDepositDriver.js +1 -1
  12. package/dist/drivers/stridge-mock/checkoutChannel.d.ts +31 -0
  13. package/dist/drivers/stridge-mock/checkoutChannel.js +1 -0
  14. package/dist/drivers/stridge-mock/createStridgeMockDriver.d.ts +28 -0
  15. package/dist/drivers/stridge-mock/createStridgeMockDriver.js +1 -1
  16. package/dist/drivers/stridge-mock/fixtures.d.ts +6 -2
  17. package/dist/drivers/stridge-mock/fixtures.js +1 -1
  18. package/dist/drivers/stridge-mock/triggers.d.ts +12 -0
  19. package/dist/events/emit/useDepositEmissions.js +1 -1
  20. package/dist/flows/deposit/dialog/DepositDialog.js +1 -1
  21. package/dist/flows/deposit/driver/payloads.d.ts +206 -20
  22. package/dist/flows/deposit/driver/types.d.ts +106 -10
  23. package/dist/flows/deposit/orchestrator/controller.js +1 -1
  24. package/dist/flows/deposit/orchestrator/index.d.ts +1 -1
  25. package/dist/flows/deposit/orchestrator/reducer.js +1 -1
  26. package/dist/flows/deposit/orchestrator/types.d.ts +202 -66
  27. package/dist/flows/deposit/shared/checkoutPopup.js +1 -0
  28. package/dist/flows/deposit/shared/onramp.js +1 -0
  29. package/dist/flows/deposit/shared/onrampError.js +1 -0
  30. package/dist/flows/deposit/widgets/amount-entry/AmountEntry.js +1 -1
  31. package/dist/flows/deposit/widgets/deposit/Deposit.js +1 -1
  32. package/dist/flows/deposit/widgets/deposit/compound/Deposit.d.ts +5 -5
  33. package/dist/flows/deposit/widgets/deposit/compound/components/Guards.js +1 -1
  34. package/dist/flows/deposit/widgets/deposit/compound/components/Methods.d.ts +1 -2
  35. package/dist/flows/deposit/widgets/deposit/compound/components/RailPicker.js +1 -1
  36. package/dist/flows/deposit/widgets/deposit/compound/types.d.ts +9 -9
  37. package/dist/flows/deposit/widgets/error-state/ErrorState.js +1 -1
  38. package/dist/flows/deposit/widgets/onramp-amount-entry/OnrampAmountEntry.d.ts +68 -0
  39. package/dist/flows/deposit/widgets/onramp-amount-entry/OnrampAmountEntry.js +1 -0
  40. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.d.ts +66 -0
  41. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.js +1 -0
  42. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.slots.d.ts +21 -0
  43. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.slots.js +1 -0
  44. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.js +1 -0
  45. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/CurrencyChip.d.ts +12 -0
  46. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/CurrencyChip.js +1 -0
  47. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/HeroLabel.d.ts +13 -0
  48. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/HeroLabel.js +1 -0
  49. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/ProviderCard.d.ts +12 -0
  50. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/ProviderCard.js +1 -0
  51. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/ReceiveChip.d.ts +14 -0
  52. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/ReceiveChip.js +1 -0
  53. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/context.d.ts +14 -0
  54. package/dist/flows/deposit/widgets/{cash-amount-entry → onramp-amount-entry}/compound/context.js +1 -1
  55. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/index.d.ts +4 -0
  56. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/index.js +1 -0
  57. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/types.d.ts +40 -0
  58. package/dist/flows/deposit/widgets/onramp-amount-entry/index.d.ts +1 -0
  59. package/dist/flows/deposit/widgets/onramp-amount-entry/index.js +1 -0
  60. package/dist/flows/deposit/widgets/onramp-confirm/OnrampConfirm.d.ts +52 -0
  61. package/dist/flows/deposit/widgets/onramp-confirm/OnrampConfirm.js +1 -0
  62. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.d.ts +44 -0
  63. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.js +1 -0
  64. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.slots.d.ts +31 -0
  65. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.slots.js +1 -0
  66. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.js +1 -0
  67. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Body.d.ts +16 -0
  68. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Body.js +1 -0
  69. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Disclaimer.d.ts +21 -0
  70. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Disclaimer.js +1 -0
  71. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Header.d.ts +15 -0
  72. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Header.js +1 -0
  73. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Summary.d.ts +15 -0
  74. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Summary.js +1 -0
  75. package/dist/flows/deposit/widgets/onramp-confirm/compound/context.d.ts +46 -0
  76. package/dist/flows/deposit/widgets/{cash-confirm → onramp-confirm}/compound/context.js +1 -1
  77. package/dist/flows/deposit/widgets/onramp-confirm/compound/index.d.ts +4 -0
  78. package/dist/flows/deposit/widgets/onramp-confirm/compound/index.js +1 -0
  79. package/dist/flows/deposit/widgets/onramp-confirm/compound/types.d.ts +67 -0
  80. package/dist/flows/deposit/widgets/onramp-confirm/index.d.ts +1 -0
  81. package/dist/flows/deposit/widgets/onramp-confirm/index.js +1 -0
  82. package/dist/flows/deposit/widgets/onramp-currency-picker/OnrampCurrencyPicker.d.ts +39 -0
  83. package/dist/flows/deposit/widgets/onramp-currency-picker/OnrampCurrencyPicker.js +1 -0
  84. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.d.ts +37 -0
  85. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.js +1 -0
  86. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.slots.d.ts +17 -0
  87. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.slots.js +1 -0
  88. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.js +1 -0
  89. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Body.d.ts +6 -0
  90. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Body.js +1 -0
  91. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/CurrencyRow.d.ts +12 -0
  92. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/CurrencyRow.js +1 -0
  93. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Empty.js +1 -0
  94. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Header.d.ts +10 -0
  95. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Header.js +1 -0
  96. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Search.d.ts +6 -0
  97. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Search.js +1 -0
  98. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/context.js +1 -0
  99. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/index.d.ts +3 -0
  100. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/index.js +1 -0
  101. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/types.d.ts +48 -0
  102. package/dist/flows/deposit/widgets/onramp-currency-picker/index.d.ts +1 -0
  103. package/dist/flows/deposit/widgets/onramp-currency-picker/index.js +1 -0
  104. package/dist/flows/deposit/widgets/onramp-payment-pending/OnrampPaymentPending.d.ts +50 -0
  105. package/dist/flows/deposit/widgets/onramp-payment-pending/OnrampPaymentPending.js +1 -0
  106. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.d.ts +68 -0
  107. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.js +1 -0
  108. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.slots.d.ts +17 -0
  109. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.slots.js +1 -0
  110. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/Flow.d.ts +13 -0
  111. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/Flow.js +1 -0
  112. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/Flow.styles.js +1 -0
  113. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/ReopenButton.d.ts +11 -0
  114. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/ReopenButton.js +1 -0
  115. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/context.d.ts +32 -0
  116. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/context.js +1 -0
  117. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/index.d.ts +3 -0
  118. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/index.js +1 -0
  119. package/dist/flows/deposit/widgets/onramp-payment-pending/index.d.ts +1 -0
  120. package/dist/flows/deposit/widgets/onramp-payment-pending/index.js +1 -0
  121. package/dist/flows/deposit/widgets/onramp-provider-picker/OnrampProviderPicker.d.ts +38 -0
  122. package/dist/flows/deposit/widgets/onramp-provider-picker/OnrampProviderPicker.js +1 -0
  123. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.d.ts +35 -0
  124. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.js +1 -0
  125. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.slots.d.ts +19 -0
  126. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.slots.js +1 -0
  127. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.styles.js +1 -0
  128. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/Body.d.ts +6 -0
  129. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/Body.js +1 -0
  130. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/Header.d.ts +10 -0
  131. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/Header.js +1 -0
  132. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/ProviderRow.d.ts +15 -0
  133. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/ProviderRow.js +1 -0
  134. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/context.js +1 -0
  135. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/index.d.ts +3 -0
  136. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/index.js +1 -0
  137. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/types.d.ts +50 -0
  138. package/dist/flows/deposit/widgets/onramp-provider-picker/index.d.ts +1 -0
  139. package/dist/flows/deposit/widgets/onramp-provider-picker/index.js +1 -0
  140. package/dist/flows/deposit/widgets/success-state/SuccessState.js +1 -1
  141. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/QrCode.js +1 -1
  142. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/RecipientField.js +1 -1
  143. package/dist/format/index.d.ts +2 -1
  144. package/dist/format/index.js +1 -1
  145. package/dist/i18n/locales/ar.js +1 -1
  146. package/dist/i18n/locales/es.js +1 -1
  147. package/dist/i18n/locales/source-keys.d.ts +1 -1
  148. package/dist/icons/index.d.ts +4 -8
  149. package/dist/icons/index.js +1 -1
  150. package/dist/index.d.ts +3 -4
  151. package/dist/index.js +1 -1
  152. package/dist/package.js +1 -1
  153. package/dist/shared/attribution/Attribution.js +1 -1
  154. package/dist/shared/attribution/Attribution.styles.js +1 -1
  155. package/dist/shared/dialog/Frame.js +1 -1
  156. package/dist/shared/format/formatFiat.d.ts +31 -0
  157. package/dist/shared/format/formatFiat.js +1 -0
  158. package/dist/shared/icons/BellIcon.d.ts +7 -0
  159. package/dist/shared/icons/BellIcon.js +1 -0
  160. package/dist/shared/icons/BitcoinIcon.d.ts +5 -8
  161. package/dist/shared/icons/BitcoinIcon.js +1 -1
  162. package/dist/shared/icons/CardIcon.d.ts +3 -3
  163. package/dist/shared/icons/DirhamSignIcon.d.ts +16 -0
  164. package/dist/shared/icons/DirhamSignIcon.js +1 -0
  165. package/dist/shared/icons/SearchIcon.d.ts +7 -0
  166. package/dist/shared/icons/SearchIcon.js +1 -0
  167. package/dist/shared/orchestrator/index.js +1 -1
  168. package/dist/shared/orchestrator/useOnrampSessionWatcher.js +1 -0
  169. package/dist/shared/ui/AmountInput/useAutoShrinkFontSize.js +1 -1
  170. package/dist/shared/ui/Checkbox/Checkbox.d.ts +47 -0
  171. package/dist/shared/ui/Checkbox/Checkbox.js +1 -0
  172. package/dist/shared/ui/Checkbox/Checkbox.slots.d.ts +12 -0
  173. package/dist/shared/ui/Checkbox/Checkbox.slots.js +1 -0
  174. package/dist/shared/ui/Checkbox/Checkbox.styles.js +1 -0
  175. package/dist/shared/ui/Checkbox/index.d.ts +2 -0
  176. package/dist/shared/ui/Checkbox/index.js +1 -0
  177. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.d.ts +36 -0
  178. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.js +1 -0
  179. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.slots.d.ts +12 -0
  180. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.slots.js +1 -0
  181. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.styles.js +1 -0
  182. package/dist/shared/ui/CurrencyGlyph/flags.js +1 -0
  183. package/dist/shared/ui/CurrencyGlyph/index.d.ts +2 -0
  184. package/dist/shared/ui/CurrencyGlyph/index.js +1 -0
  185. package/dist/shared/ui/DisclosureRow/DisclosureRow.d.ts +56 -0
  186. package/dist/shared/ui/DisclosureRow/DisclosureRow.js +1 -0
  187. package/dist/shared/ui/DisclosureRow/DisclosureRow.slots.d.ts +8 -0
  188. package/dist/shared/ui/DisclosureRow/DisclosureRow.slots.js +1 -0
  189. package/dist/shared/ui/DisclosureRow/DisclosureRow.styles.js +1 -0
  190. package/dist/shared/ui/DisclosureRow/index.d.ts +2 -0
  191. package/dist/shared/ui/DisclosureRow/index.js +1 -0
  192. package/dist/shared/ui/FiatSymbol/FiatAmount.d.ts +32 -0
  193. package/dist/shared/ui/FiatSymbol/FiatAmount.js +1 -0
  194. package/dist/shared/ui/FiatSymbol/FiatSymbol.d.ts +30 -0
  195. package/dist/shared/ui/FiatSymbol/FiatSymbol.js +1 -0
  196. package/dist/shared/ui/FiatSymbol/index.d.ts +2 -0
  197. package/dist/shared/ui/FiatSymbol/index.js +1 -0
  198. package/dist/shared/ui/Tabs/Tabs.d.ts +2 -2
  199. package/dist/shared/utils/logos/resolveLogoSrc.js +1 -1
  200. package/dist/shared/widgets/activity/compound/ActivityDetail.js +1 -1
  201. package/dist/shared/widgets/amount-entry/compound/AmountEntry.js +1 -1
  202. package/dist/shared/widgets/amount-entry/compound/AmountEntry.styles.js +1 -1
  203. package/dist/shared/widgets/amount-entry/compound/components/Footer.js +1 -1
  204. package/dist/shared/widgets/amount-entry/compound/components/Hero/Hero.d.ts +2 -1
  205. package/dist/shared/widgets/amount-entry/compound/components/Hero/Hero.js +1 -1
  206. package/dist/shared/widgets/amount-entry/compound/components/Hero/StaticBand.js +1 -1
  207. package/dist/shared/widgets/amount-entry/compound/types.d.ts +16 -0
  208. package/dist/shared/widgets/confirm-transfer/compound/components/Breakdown.js +1 -1
  209. package/dist/shared/widgets/error-state/compound/ErrorState.styles.js +1 -1
  210. package/dist/shared/widgets/error-state/compound/components/MoreDetails.d.ts +3 -3
  211. package/dist/shared/widgets/error-state/compound/components/MoreDetails.js +1 -1
  212. package/dist/shared/widgets/success-state/compound/SuccessState.styles.js +1 -1
  213. package/dist/shared/widgets/success-state/compound/components/MoreDetails.d.ts +2 -3
  214. package/dist/shared/widgets/success-state/compound/components/MoreDetails.js +1 -1
  215. package/dist/stridge/StridgeProvider.d.ts +0 -10
  216. package/dist/stridge/StridgeProvider.js +1 -1
  217. package/dist/stridge/stubs.js +1 -1
  218. package/dist/styles/index.css +118 -40
  219. package/dist/types.d.ts +3 -3
  220. package/dist/ui/index.d.ts +9 -1
  221. package/dist/ui/index.js +1 -1
  222. package/dist/version.js +1 -1
  223. package/dist/withdraw/compound/index.js +1 -1
  224. package/package.json +1 -1
  225. package/dist/flows/deposit/bindings/DepositBindings.d.ts +0 -87
  226. package/dist/flows/deposit/bindings/DepositBindings.js +0 -1
  227. package/dist/flows/deposit/bindings/index.d.ts +0 -1
  228. package/dist/flows/deposit/bindings/index.js +0 -1
  229. package/dist/flows/deposit/shared/cash.d.ts +0 -20
  230. package/dist/flows/deposit/shared/cash.js +0 -1
  231. package/dist/flows/deposit/widgets/cash-amount-entry/CashAmountEntry.d.ts +0 -71
  232. package/dist/flows/deposit/widgets/cash-amount-entry/CashAmountEntry.js +0 -1
  233. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.d.ts +0 -69
  234. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.js +0 -1
  235. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.slots.d.ts +0 -16
  236. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.slots.js +0 -1
  237. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.styles.js +0 -1
  238. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/HeroLabel.d.ts +0 -13
  239. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/HeroLabel.js +0 -1
  240. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/MethodChip.d.ts +0 -18
  241. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/MethodChip.js +0 -1
  242. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/ReceiveChip.d.ts +0 -14
  243. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/ReceiveChip.js +0 -1
  244. package/dist/flows/deposit/widgets/cash-amount-entry/compound/index.d.ts +0 -3
  245. package/dist/flows/deposit/widgets/cash-amount-entry/compound/index.js +0 -1
  246. package/dist/flows/deposit/widgets/cash-amount-entry/compound/types.d.ts +0 -42
  247. package/dist/flows/deposit/widgets/cash-amount-entry/index.d.ts +0 -1
  248. package/dist/flows/deposit/widgets/cash-amount-entry/index.js +0 -1
  249. package/dist/flows/deposit/widgets/cash-confirm/CashConfirm.d.ts +0 -63
  250. package/dist/flows/deposit/widgets/cash-confirm/CashConfirm.js +0 -1
  251. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.d.ts +0 -54
  252. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.js +0 -1
  253. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.slots.d.ts +0 -33
  254. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.slots.js +0 -1
  255. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.styles.js +0 -1
  256. package/dist/flows/deposit/widgets/cash-confirm/compound/cashConfirmDimensions.js +0 -1
  257. package/dist/flows/deposit/widgets/cash-confirm/compound/components/ApplePayBody.d.ts +0 -15
  258. package/dist/flows/deposit/widgets/cash-confirm/compound/components/ApplePayBody.js +0 -1
  259. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Body.d.ts +0 -22
  260. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Body.js +0 -1
  261. package/dist/flows/deposit/widgets/cash-confirm/compound/components/BodyLabel.js +0 -1
  262. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardBody.d.ts +0 -16
  263. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardBody.js +0 -1
  264. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.icons.js +0 -1
  265. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.js +0 -1
  266. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.keys.js +0 -1
  267. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.state.js +0 -1
  268. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.styles.js +0 -1
  269. package/dist/flows/deposit/widgets/cash-confirm/compound/components/GooglePayBody.d.ts +0 -16
  270. package/dist/flows/deposit/widgets/cash-confirm/compound/components/GooglePayBody.js +0 -1
  271. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Header.d.ts +0 -21
  272. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Header.js +0 -1
  273. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Summary.d.ts +0 -17
  274. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Summary.js +0 -1
  275. package/dist/flows/deposit/widgets/cash-confirm/compound/components/cardFormat.js +0 -1
  276. package/dist/flows/deposit/widgets/cash-confirm/compound/index.d.ts +0 -3
  277. package/dist/flows/deposit/widgets/cash-confirm/compound/index.js +0 -1
  278. package/dist/flows/deposit/widgets/cash-confirm/compound/types.d.ts +0 -66
  279. package/dist/flows/deposit/widgets/cash-confirm/index.d.ts +0 -1
  280. package/dist/flows/deposit/widgets/cash-confirm/index.js +0 -1
  281. package/dist/flows/deposit/widgets/cash-confirm/mocks.js +0 -1
  282. package/dist/shared/icons/AmexIcon.d.ts +0 -14
  283. package/dist/shared/icons/AmexIcon.js +0 -1
  284. package/dist/shared/icons/ApplePayIcon.d.ts +0 -15
  285. package/dist/shared/icons/ApplePayIcon.js +0 -1
  286. package/dist/shared/icons/CashIcon.d.ts +0 -16
  287. package/dist/shared/icons/CashIcon.js +0 -1
  288. package/dist/shared/icons/DiscoverIcon.d.ts +0 -14
  289. package/dist/shared/icons/DiscoverIcon.js +0 -1
  290. package/dist/shared/icons/GooglePayIcon.d.ts +0 -15
  291. package/dist/shared/icons/GooglePayIcon.js +0 -1
  292. package/dist/shared/icons/MastercardIcon.d.ts +0 -16
  293. package/dist/shared/icons/MastercardIcon.js +0 -1
  294. package/dist/shared/icons/VisaIcon.d.ts +0 -15
  295. package/dist/shared/icons/VisaIcon.js +0 -1
@@ -1 +1 @@
1
- const e={root:{"ErrorState__styles.root":`ErrorState__styles.root`,"position-kVAEAm":`x1n2onr6`,"width-kzqmXN":`xh8yej3`,"maxWidth-ks0D6T":`x17fpy1y`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:32`},header:{"ErrorState__styles.header":`ErrorState__styles.header`,"justifyContent-kjj79g":`x1qughib`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:40`},closeIcon:{"ErrorState__styles.closeIcon":`ErrorState__styles.closeIcon`,"color-kMwMTN":`xdksllq`,"strokeWidth-kfJifR":`x1k315e8`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:43`},hero:{"ErrorState__styles.hero":`ErrorState__styles.hero`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x883omv`,"paddingTop-kLKAdn":`x9desvi`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1t4gjm`,"paddingInlineStart-kZCmMZ":`xz7312c`,"animationName-kKVMdj":`xv305lp`,"animationDuration-k44tkh":`xmprevt x1s1fvk8`,"animationTimingFunction-kyAemX":`xa3vuyk`,"animationFillMode-kWV6AL":`x1u6ievf`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:48`},heroRing:{"ErrorState__styles.heroRing":`ErrorState__styles.heroRing`,"display-k1xSpc":`x1lliihq`,"width-kzqmXN":`x1fu8urw`,"height-kZKoxP":`x1peatla`,"marginBottom-k1K539":`xat24cr`,"flexShrink-kmuXW":`x2lah0s`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:65`},heroRingMark:{"ErrorState__styles.heroRingMark":`ErrorState__styles.heroRingMark`,"transformOrigin-k3nNDw":`x1g0ag68`,"animationName-kKVMdj":`x14k796y x1aquc0h`,"animationDuration-k44tkh":`xmprevt`,"animationDelay-kKxzle":`x1x1c4bx x14q22ui`,"animationTimingFunction-kyAemX":`x4hg4is`,"animationFillMode-kWV6AL":`x1u6ievf`,"animationIterationCount-ko0y90":`x1v7wizp`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:72`},heroHeadline:{"ErrorState__styles.heroHeadline":`ErrorState__styles.heroHeadline`,"marginTop-keoZOQ":`x1xmf6yo`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:87`},heroReason:{"ErrorState__styles.heroReason":`ErrorState__styles.heroReason`,"maxWidth-ks0D6T":`x1va8c73`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:90`},detailsSection:{"ErrorState__styles.detailsSection":`ErrorState__styles.detailsSection`,"marginInlineStart-keTefX":`xnzr9dm`,"marginInlineEnd-k71WvV":`xnqxrjt`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:100`},statusValueFailed:{"ErrorState__styles.statusValueFailed":`ErrorState__styles.statusValueFailed`,"color-kMwMTN":`x19vemxs`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:105`},assetValue:{"ErrorState__styles.assetValue":`ErrorState__styles.assetValue`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x167g77z`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:109`},assetValueText:{"ErrorState__styles.assetValueText":`ErrorState__styles.assetValueText`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x1pha0wt`,"gap-kOIVth":`x17d4w8g`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:114`},assetValueStruck:{"ErrorState__styles.assetValueStruck":`ErrorState__styles.assetValueStruck`,"textDecorationLine-kMnn75":`x5lhwog`,"textDecorationThickness-kNySMw":`xyi4chj`,"textUnderlineOffset-kcSHmL":`xrys4gj`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:123`},disclosureChevron:{"ErrorState__styles.disclosureChevron":`ErrorState__styles.disclosureChevron`,"width-kzqmXN":`x6jxa94`,"height-kZKoxP":`x1v9usgg`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`x137ha3m`,"strokeWidth-kfJifR":`xhr4kjn`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:129`},moreDetailsTrigger:{"ErrorState__styles.moreDetailsTrigger":`ErrorState__styles.moreDetailsTrigger`,"cursor-kkrTdU":`x1ypdohk`,"outline-kI3sdo":`x1a2a7pz`,"userSelect-kfSwDN":`x87ps6o`,"WebkitTapHighlightColor-kQizK7":`x1i10hfl`,":focus-visible_boxShadow-kEtg5x":`xf4a2cz`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:137`},moreDetailsTriggerClosed:{"ErrorState__styles.moreDetailsTriggerClosed":`ErrorState__styles.moreDetailsTriggerClosed`,"borderBottomWidth-kt9PQ7":`x1qhh985`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:146`},moreDetailsChevron:{"ErrorState__styles.moreDetailsChevron":`ErrorState__styles.moreDetailsChevron`,"width-kzqmXN":`x6jxa94`,"height-kZKoxP":`x1v9usgg`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`x137ha3m`,"strokeWidth-kfJifR":`xhr4kjn`,"transformOrigin-k3nNDw":`x1g0ag68`,"transitionProperty-k1ekBW":`x11xpdln`,"transitionDuration-kIyJzY":`x9dyr19 x12w9bfk`,"transitionTimingFunction-kAMwcw":`x9lcvmn`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:149`},moreDetailsChevronOpen:{"ErrorState__styles.moreDetailsChevronOpen":`ErrorState__styles.moreDetailsChevronOpen`,"transform-k3aq6I":`x1iffjtl`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:163`},helpInfo:{"ErrorState__styles.helpInfo":`ErrorState__styles.helpInfo`,"marginTop-keoZOQ":`xhrpt6u`,"marginInlineStart-keTefX":`xnzr9dm`,"marginInlineEnd-k71WvV":`xnqxrjt`,"borderRadius-kaIpWk":`x1s7mj9v`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:166`},helpInfoLink:{"ErrorState__styles.helpInfoLink":`ErrorState__styles.helpInfoLink`,"color-kMwMTN":`x1me39qh`,"textDecorationLine-kMnn75":`xujl8zx`,"textDecorationThickness-kNySMw":`xyi4chj`,"textUnderlineOffset-kcSHmL":`xda060z`,"--stridge-kit-external-link-align":`x5oa300`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:172`},actions:{"ErrorState__styles.actions":`ErrorState__styles.actions`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x1qjc9v5`,"paddingTop-kLKAdn":`x109j2v6`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1t4gjm`,"paddingInlineStart-kZCmMZ":`xz7312c`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:180`},cta:{"ErrorState__styles.cta":`ErrorState__styles.cta`,"width-kzqmXN":`xh8yej3`,"alignSelf-kSGwAc":`xkh2ocl`,":focus-visible_boxShadow-kEtg5x":`xhatipn`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:189`},ctaInteractive:{"ErrorState__styles.ctaInteractive":`ErrorState__styles.ctaInteractive`,"cursor-kkrTdU":`x1ypdohk`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:196`},ctaInert:{"ErrorState__styles.ctaInert":`ErrorState__styles.ctaInert`,"cursor-kkrTdU":`xt0e3qv`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:199`},ctaPrimary:{"ErrorState__styles.ctaPrimary":`ErrorState__styles.ctaPrimary`,"borderWidth-kMzoRj":`xc342km`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:202`}};export{e as styles};
1
+ const e={root:{"ErrorState__styles.root":`ErrorState__styles.root`,"position-kVAEAm":`x1n2onr6`,"width-kzqmXN":`xh8yej3`,"maxWidth-ks0D6T":`x17fpy1y`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:32`},header:{"ErrorState__styles.header":`ErrorState__styles.header`,"justifyContent-kjj79g":`x1qughib`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:40`},closeIcon:{"ErrorState__styles.closeIcon":`ErrorState__styles.closeIcon`,"color-kMwMTN":`xdksllq`,"strokeWidth-kfJifR":`x1k315e8`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:43`},hero:{"ErrorState__styles.hero":`ErrorState__styles.hero`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x883omv`,"paddingTop-kLKAdn":`x9desvi`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1t4gjm`,"paddingInlineStart-kZCmMZ":`xz7312c`,"animationName-kKVMdj":`xv305lp`,"animationDuration-k44tkh":`xmprevt x1s1fvk8`,"animationTimingFunction-kyAemX":`xa3vuyk`,"animationFillMode-kWV6AL":`x1u6ievf`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:48`},heroRing:{"ErrorState__styles.heroRing":`ErrorState__styles.heroRing`,"display-k1xSpc":`x1lliihq`,"width-kzqmXN":`x1fu8urw`,"height-kZKoxP":`x1peatla`,"marginBottom-k1K539":`xat24cr`,"flexShrink-kmuXW":`x2lah0s`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:65`},heroRingMark:{"ErrorState__styles.heroRingMark":`ErrorState__styles.heroRingMark`,"transformOrigin-k3nNDw":`x1g0ag68`,"animationName-kKVMdj":`x14k796y x1aquc0h`,"animationDuration-k44tkh":`xmprevt`,"animationDelay-kKxzle":`x1x1c4bx x14q22ui`,"animationTimingFunction-kyAemX":`x4hg4is`,"animationFillMode-kWV6AL":`x1u6ievf`,"animationIterationCount-ko0y90":`x1v7wizp`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:72`},heroHeadline:{"ErrorState__styles.heroHeadline":`ErrorState__styles.heroHeadline`,"marginTop-keoZOQ":`x1xmf6yo`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:87`},heroReason:{"ErrorState__styles.heroReason":`ErrorState__styles.heroReason`,"maxWidth-ks0D6T":`x1va8c73`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:90`},detailsSection:{"ErrorState__styles.detailsSection":`ErrorState__styles.detailsSection`,"marginInlineStart-keTefX":`xnzr9dm`,"marginInlineEnd-k71WvV":`xnqxrjt`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:100`},statusValueFailed:{"ErrorState__styles.statusValueFailed":`ErrorState__styles.statusValueFailed`,"color-kMwMTN":`x19vemxs`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:105`},assetValue:{"ErrorState__styles.assetValue":`ErrorState__styles.assetValue`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x167g77z`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:109`},assetValueText:{"ErrorState__styles.assetValueText":`ErrorState__styles.assetValueText`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x1pha0wt`,"gap-kOIVth":`x17d4w8g`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:114`},assetValueStruck:{"ErrorState__styles.assetValueStruck":`ErrorState__styles.assetValueStruck`,"textDecorationLine-kMnn75":`x5lhwog`,"textDecorationThickness-kNySMw":`xyi4chj`,"textUnderlineOffset-kcSHmL":`xrys4gj`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:123`},disclosureChevron:{"ErrorState__styles.disclosureChevron":`ErrorState__styles.disclosureChevron`,"width-kzqmXN":`x6jxa94`,"height-kZKoxP":`x1v9usgg`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`x137ha3m`,"strokeWidth-kfJifR":`xhr4kjn`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:129`},helpInfo:{"ErrorState__styles.helpInfo":`ErrorState__styles.helpInfo`,"marginTop-keoZOQ":`xhrpt6u`,"marginInlineStart-keTefX":`xnzr9dm`,"marginInlineEnd-k71WvV":`xnqxrjt`,"borderRadius-kaIpWk":`x1s7mj9v`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:136`},helpInfoLink:{"ErrorState__styles.helpInfoLink":`ErrorState__styles.helpInfoLink`,"color-kMwMTN":`x1me39qh`,"textDecorationLine-kMnn75":`xujl8zx`,"textDecorationThickness-kNySMw":`xyi4chj`,"textUnderlineOffset-kcSHmL":`xda060z`,"--stridge-kit-external-link-align":`x5oa300`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:142`},actions:{"ErrorState__styles.actions":`ErrorState__styles.actions`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x1qjc9v5`,"paddingTop-kLKAdn":`x109j2v6`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1t4gjm`,"paddingInlineStart-kZCmMZ":`xz7312c`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:150`},cta:{"ErrorState__styles.cta":`ErrorState__styles.cta`,"width-kzqmXN":`xh8yej3`,"alignSelf-kSGwAc":`xkh2ocl`,":focus-visible_boxShadow-kEtg5x":`xhatipn`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:159`},ctaInteractive:{"ErrorState__styles.ctaInteractive":`ErrorState__styles.ctaInteractive`,"cursor-kkrTdU":`x1ypdohk`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:166`},ctaInert:{"ErrorState__styles.ctaInert":`ErrorState__styles.ctaInert`,"cursor-kkrTdU":`xt0e3qv`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:169`},ctaPrimary:{"ErrorState__styles.ctaPrimary":`ErrorState__styles.ctaPrimary`,"borderWidth-kMzoRj":`xc342km`,$$css:`@stridge/kit:src/shared/widgets/error-state/compound/ErrorState.styles.ts:172`}};export{e as styles};
@@ -3,9 +3,9 @@ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/shared/widgets/error-state/compound/components/MoreDetails.d.ts
5
5
  /**
6
- * Collapsible row that expands inline to surface additional context (e.g. Reason code, Detected, Source tx). The
7
- * trigger renders as a `Details.Row`; children render as flat sibling rows underneath. Supports controlled and
8
- * uncontrolled open state via `open` / `defaultOpen` / `onOpenChange`.
6
+ * Collapsible row that expands inline to surface additional context (e.g. Reason code, Detected,
7
+ * Source tx). Built on the shared {@link DisclosureRow} so it stays identical to the success /
8
+ * onramp disclosures. Supports controlled and uncontrolled open state.
9
9
  */
10
10
  declare function ErrorStateMoreDetails({
11
11
  label,
@@ -1 +1 @@
1
- "use client";import{useLingui as e}from"../../../../i18n/useLingui.js";import"../../../../../i18n/index.js";import{ChevronRightIcon as t}from"../../../../icons/ChevronRightIcon.js";import"../../../../../icons/index.js";import{Collapsible as n}from"../../../../ui/Collapsible/Collapsible.js";import"../../../../ui/Collapsible/index.js";import{Details as r}from"../../../../ui/Details/Details.js";import"../../../../ui/Details/index.js";import{useDirectionalChevronTransform as i}from"../../../../dialog/useDirectionalChevronTransform.js";import{useErrorStateContext as a}from"../context.js";import{ERROR_STATE_SLOTS as o}from"../ErrorState.slots.js";import{styles as s}from"../ErrorState.styles.js";import{useCallback as c,useState as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";import*as f from"@stylexjs/stylex";function p({label:p,defaultOpen:m=!1,open:h,onOpenChange:g,children:_}){let v=a(`ErrorState.MoreDetails`),{_:y}=e();if(!v.depositTx&&v.submittedAt===void 0&&v.failedAt===void 0)return null;let b=p??y({id:`LEbOpR`,message:`More details`}),x=typeof h==`boolean`,[S,C]=l(m),w=x?h:S,T=c(e=>{x||C(e),g?.(e)},[x,g]),E=f.props(s.moreDetailsTrigger,w?null:s.moreDetailsTriggerClosed),D=f.props(s.moreDetailsChevron),O=i(w);return d(n,{open:w,onOpenChange:T,children:[u(n.Trigger,{nativeButton:!1,render:u(r.Row,{"data-stridge-slot":o.moreDetailsTrigger,label:b,className:E.className,style:E.style,children:u(t,{"aria-hidden":!0,className:D.className,style:{...D.style,transform:O}})})}),u(n.Panel,{children:_})]})}export{p as ErrorStateMoreDetails};
1
+ "use client";import{useLingui as e}from"../../../../i18n/useLingui.js";import"../../../../../i18n/index.js";import{DisclosureRow as t}from"../../../../ui/DisclosureRow/DisclosureRow.js";import"../../../../ui/DisclosureRow/index.js";import{useErrorStateContext as n}from"../context.js";import{ERROR_STATE_SLOTS as r}from"../ErrorState.slots.js";import{jsx as i}from"react/jsx-runtime";function a({label:a,defaultOpen:o=!1,open:s,onOpenChange:c,children:l}){let u=n(`ErrorState.MoreDetails`),{_:d}=e();return!u.depositTx&&u.submittedAt===void 0&&u.failedAt===void 0?null:i(t,{label:a??d({id:`LEbOpR`,message:`More details`}),defaultOpen:o,triggerProps:{"data-stridge-slot":r.moreDetailsTrigger},...typeof s==`boolean`?{open:s}:{},...c?{onOpenChange:c}:{},children:l})}export{a as ErrorStateMoreDetails};
@@ -1 +1 @@
1
- const e={root:{"SuccessState__styles.root":`SuccessState__styles.root`,"position-kVAEAm":`x1n2onr6`,"width-kzqmXN":`xh8yej3`,"maxWidth-ks0D6T":`x17fpy1y`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:53`},header:{"SuccessState__styles.header":`SuccessState__styles.header`,"justifyContent-kjj79g":`x1qughib`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:61`},closeIcon:{"SuccessState__styles.closeIcon":`SuccessState__styles.closeIcon`,"width-kzqmXN":`xsmyaan`,"height-kZKoxP":`x1kpxq89`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`xdksllq`,"strokeWidth-kfJifR":`x1k315e8`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:64`},hero:{"SuccessState__styles.hero":`SuccessState__styles.hero`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x883omv`,"paddingTop-kLKAdn":`x9desvi`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1t4gjm`,"paddingInlineStart-kZCmMZ":`xz7312c`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:72`},heroRing:{"SuccessState__styles.heroRing":`SuccessState__styles.heroRing`,"display-k1xSpc":`x1lliihq`,"width-kzqmXN":`x1fu8urw`,"height-kZKoxP":`x1peatla`,"marginBottom-k1K539":`xzueoph`,"flexShrink-kmuXW":`x2lah0s`,"transformOrigin-k3nNDw":`x1g0ag68`,"animationName-kKVMdj":`xdozz8d`,"animationDuration-k44tkh":`xl8t4ro x1s1fvk8`,"animationTimingFunction-kyAemX":`xa3vuyk`,"animationFillMode-kWV6AL":`x1u6ievf`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:82`},heroRingCheck:{"SuccessState__styles.heroRingCheck":`SuccessState__styles.heroRingCheck`,"strokeDasharray-k5rJSQ":`x19f38uw`,"strokeDashoffset-kDRTOe":`x1f9z5db`,"animationName-kKVMdj":`xdi478p`,"animationDuration-k44tkh":`x4afe7t x1s1fvk8`,"animationDelay-kKxzle":`x192tdn3 x14q22ui`,"animationTimingFunction-kyAemX":`xa3vuyk`,"animationFillMode-kWV6AL":`x10e4vud`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:97`},heroAmountRow:{"SuccessState__styles.heroAmountRow":`SuccessState__styles.heroAmountRow`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x1pha0wt`,"justifyContent-kjj79g":`xl56j7k`,"gap-kOIVth":`x883omv`,"marginTop-keoZOQ":`xr9ek0c`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:112`},heroAmountIcon:{"SuccessState__styles.heroAmountIcon":`SuccessState__styles.heroAmountIcon`,"alignSelf-kSGwAc":`xamitd3`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:119`},detailsSection:{"SuccessState__styles.detailsSection":`SuccessState__styles.detailsSection`,"marginTop-keoZOQ":`x1gslohp`,"marginInlineStart-keTefX":`xnzr9dm`,"marginInlineEnd-k71WvV":`xnqxrjt`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:128`},assetValue:{"SuccessState__styles.assetValue":`SuccessState__styles.assetValue`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x167g77z`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:134`},routeValue:{"SuccessState__styles.routeValue":`SuccessState__styles.routeValue`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x167g77z`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:140`},routeArrow:{"SuccessState__styles.routeArrow":`SuccessState__styles.routeArrow`,"width-kzqmXN":`xsmyaan`,"height-kZKoxP":`xegnrdp`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`x137ha3m`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:145`},actions:{"SuccessState__styles.actions":`SuccessState__styles.actions`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`xou54vl`,"paddingTop-kLKAdn":`x1xy6bms`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1t4gjm`,"paddingInlineStart-kZCmMZ":`xz7312c`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:152`},actionRow:{"SuccessState__styles.actionRow":`SuccessState__styles.actionRow`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"width-kzqmXN":`xh8yej3`,"gap-kOIVth":`x883omv`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:162`},actionRowPair:{"SuccessState__styles.actionRowPair":`SuccessState__styles.actionRowPair`,"alignItems-kGNEyG":`x1qjc9v5`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:168`},doneButton:{"SuccessState__styles.doneButton":`SuccessState__styles.doneButton`,"flex-kUk6DE":`x98rzlu`,"width-kzqmXN":`xh8yej3`,"borderWidth-kMzoRj":`xc342km`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:174`},closeButton:{"SuccessState__styles.closeButton":`SuccessState__styles.closeButton`,"flex-kUk6DE":`x98rzlu`,"width-kzqmXN":`xh8yej3`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:180`},doneButtonInteractive:{"SuccessState__styles.doneButtonInteractive":`SuccessState__styles.doneButtonInteractive`,"cursor-kkrTdU":`x1ypdohk`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:184`},doneButtonInert:{"SuccessState__styles.doneButtonInert":`SuccessState__styles.doneButtonInert`,"cursor-kkrTdU":`xt0e3qv`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:187`},explorerLink:{"SuccessState__styles.explorerLink":`SuccessState__styles.explorerLink`,"color-kMwMTN":`x1me39qh`,"textDecorationLine-kMnn75":`xujl8zx`,"textDecorationThickness-kNySMw":`xyi4chj`,"textUnderlineOffset-kcSHmL":`xda060z`,"--stridge-kit-external-link-align":`x5oa300`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:195`},headline:{"SuccessState__styles.headline":`SuccessState__styles.headline`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x883omv`,"paddingTop-kLKAdn":`x9desvi`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1hhzuzn`,"paddingInlineStart-kZCmMZ":`xz7312c`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:203`},headlineTitle:{"SuccessState__styles.headlineTitle":`SuccessState__styles.headlineTitle`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:213`},headlineDescription:{"SuccessState__styles.headlineDescription":`SuccessState__styles.headlineDescription`,"margin-kogj98":`x1ghz6dp`,"maxWidth-ks0D6T":`x1va8c73`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:216`},moreDetailsTrigger:{"SuccessState__styles.moreDetailsTrigger":`SuccessState__styles.moreDetailsTrigger`,"cursor-kkrTdU":`x1ypdohk`,"outline-kI3sdo":`x1a2a7pz`,"userSelect-kfSwDN":`x87ps6o`,"WebkitTapHighlightColor-kQizK7":`x1i10hfl`,":focus-visible_boxShadow-kEtg5x":`xf4a2cz`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:226`},moreDetailsTriggerClosed:{"SuccessState__styles.moreDetailsTriggerClosed":`SuccessState__styles.moreDetailsTriggerClosed`,"borderBottomWidth-kt9PQ7":`x1qhh985`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:235`},moreDetailsChevron:{"SuccessState__styles.moreDetailsChevron":`SuccessState__styles.moreDetailsChevron`,"width-kzqmXN":`x6jxa94`,"height-kZKoxP":`x1v9usgg`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`x137ha3m`,"strokeWidth-kfJifR":`xhr4kjn`,"transformOrigin-k3nNDw":`x1g0ag68`,"transitionProperty-k1ekBW":`x11xpdln`,"transitionDuration-kIyJzY":`x9dyr19 x12w9bfk`,"transitionTimingFunction-kAMwcw":`x9lcvmn`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:238`},moreDetailsChevronOpen:{"SuccessState__styles.moreDetailsChevronOpen":`SuccessState__styles.moreDetailsChevronOpen`,"transform-k3aq6I":`x1iffjtl`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:252`}};export{e as styles};
1
+ const e={root:{"SuccessState__styles.root":`SuccessState__styles.root`,"position-kVAEAm":`x1n2onr6`,"width-kzqmXN":`xh8yej3`,"maxWidth-ks0D6T":`x17fpy1y`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:53`},header:{"SuccessState__styles.header":`SuccessState__styles.header`,"justifyContent-kjj79g":`x1qughib`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:61`},closeIcon:{"SuccessState__styles.closeIcon":`SuccessState__styles.closeIcon`,"width-kzqmXN":`xsmyaan`,"height-kZKoxP":`x1kpxq89`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`xdksllq`,"strokeWidth-kfJifR":`x1k315e8`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:64`},hero:{"SuccessState__styles.hero":`SuccessState__styles.hero`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x883omv`,"paddingTop-kLKAdn":`x9desvi`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1t4gjm`,"paddingInlineStart-kZCmMZ":`xz7312c`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:72`},heroRing:{"SuccessState__styles.heroRing":`SuccessState__styles.heroRing`,"display-k1xSpc":`x1lliihq`,"width-kzqmXN":`x1fu8urw`,"height-kZKoxP":`x1peatla`,"marginBottom-k1K539":`xzueoph`,"flexShrink-kmuXW":`x2lah0s`,"transformOrigin-k3nNDw":`x1g0ag68`,"animationName-kKVMdj":`xdozz8d`,"animationDuration-k44tkh":`xl8t4ro x1s1fvk8`,"animationTimingFunction-kyAemX":`xa3vuyk`,"animationFillMode-kWV6AL":`x1u6ievf`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:82`},heroRingCheck:{"SuccessState__styles.heroRingCheck":`SuccessState__styles.heroRingCheck`,"strokeDasharray-k5rJSQ":`x19f38uw`,"strokeDashoffset-kDRTOe":`x1f9z5db`,"animationName-kKVMdj":`xdi478p`,"animationDuration-k44tkh":`x4afe7t x1s1fvk8`,"animationDelay-kKxzle":`x192tdn3 x14q22ui`,"animationTimingFunction-kyAemX":`xa3vuyk`,"animationFillMode-kWV6AL":`x10e4vud`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:97`},heroAmountRow:{"SuccessState__styles.heroAmountRow":`SuccessState__styles.heroAmountRow`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x1pha0wt`,"justifyContent-kjj79g":`xl56j7k`,"gap-kOIVth":`x883omv`,"marginTop-keoZOQ":`xr9ek0c`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:112`},heroAmountIcon:{"SuccessState__styles.heroAmountIcon":`SuccessState__styles.heroAmountIcon`,"alignSelf-kSGwAc":`xamitd3`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:119`},detailsSection:{"SuccessState__styles.detailsSection":`SuccessState__styles.detailsSection`,"marginTop-keoZOQ":`x1gslohp`,"marginInlineStart-keTefX":`xnzr9dm`,"marginInlineEnd-k71WvV":`xnqxrjt`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:128`},assetValue:{"SuccessState__styles.assetValue":`SuccessState__styles.assetValue`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x167g77z`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:134`},routeValue:{"SuccessState__styles.routeValue":`SuccessState__styles.routeValue`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x167g77z`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:140`},routeArrow:{"SuccessState__styles.routeArrow":`SuccessState__styles.routeArrow`,"width-kzqmXN":`xsmyaan`,"height-kZKoxP":`xegnrdp`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`x137ha3m`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:145`},actions:{"SuccessState__styles.actions":`SuccessState__styles.actions`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`xou54vl`,"paddingTop-kLKAdn":`x1xy6bms`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1t4gjm`,"paddingInlineStart-kZCmMZ":`xz7312c`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:152`},actionRow:{"SuccessState__styles.actionRow":`SuccessState__styles.actionRow`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"width-kzqmXN":`xh8yej3`,"gap-kOIVth":`x883omv`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:162`},actionRowPair:{"SuccessState__styles.actionRowPair":`SuccessState__styles.actionRowPair`,"alignItems-kGNEyG":`x1qjc9v5`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:168`},doneButton:{"SuccessState__styles.doneButton":`SuccessState__styles.doneButton`,"flex-kUk6DE":`x98rzlu`,"width-kzqmXN":`xh8yej3`,"borderWidth-kMzoRj":`xc342km`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:174`},closeButton:{"SuccessState__styles.closeButton":`SuccessState__styles.closeButton`,"flex-kUk6DE":`x98rzlu`,"width-kzqmXN":`xh8yej3`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:180`},doneButtonInteractive:{"SuccessState__styles.doneButtonInteractive":`SuccessState__styles.doneButtonInteractive`,"cursor-kkrTdU":`x1ypdohk`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:184`},doneButtonInert:{"SuccessState__styles.doneButtonInert":`SuccessState__styles.doneButtonInert`,"cursor-kkrTdU":`xt0e3qv`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:187`},explorerLink:{"SuccessState__styles.explorerLink":`SuccessState__styles.explorerLink`,"color-kMwMTN":`x1me39qh`,"textDecorationLine-kMnn75":`xujl8zx`,"textDecorationThickness-kNySMw":`xyi4chj`,"textUnderlineOffset-kcSHmL":`xda060z`,"--stridge-kit-external-link-align":`x5oa300`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:195`},headline:{"SuccessState__styles.headline":`SuccessState__styles.headline`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x883omv`,"paddingTop-kLKAdn":`x9desvi`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1hhzuzn`,"paddingInlineStart-kZCmMZ":`xz7312c`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:203`},headlineTitle:{"SuccessState__styles.headlineTitle":`SuccessState__styles.headlineTitle`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:213`},headlineDescription:{"SuccessState__styles.headlineDescription":`SuccessState__styles.headlineDescription`,"margin-kogj98":`x1ghz6dp`,"maxWidth-ks0D6T":`x1va8c73`,$$css:`@stridge/kit:src/shared/widgets/success-state/compound/SuccessState.styles.ts:216`}};export{e as styles};
@@ -4,9 +4,8 @@ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
  //#region src/shared/widgets/success-state/compound/components/MoreDetails.d.ts
5
5
  /**
6
6
  * Collapsible row that expands inline to surface additional context
7
- * (deposit + completion tx hashes, order timestamps). The trigger
8
- * renders as a `Details.Row`; children render as flat sibling rows
9
- * underneath when expanded.
7
+ * (deposit + completion tx hashes, order timestamps). Built on the shared
8
+ * {@link DisclosureRow} so it stays identical to the failure / onramp disclosures.
10
9
  */
11
10
  declare function SuccessStateMoreDetails({
12
11
  label,
@@ -1 +1 @@
1
- "use client";import{useLingui as e}from"../../../../i18n/useLingui.js";import"../../../../../i18n/index.js";import{ChevronRightIcon as t}from"../../../../icons/ChevronRightIcon.js";import"../../../../../icons/index.js";import{Collapsible as n}from"../../../../ui/Collapsible/Collapsible.js";import"../../../../ui/Collapsible/index.js";import{Details as r}from"../../../../ui/Details/Details.js";import"../../../../ui/Details/index.js";import{useDirectionalChevronTransform as i}from"../../../../dialog/useDirectionalChevronTransform.js";import{useSuccessStateContext as a}from"../context.js";import{SUCCESS_STATE_SLOTS as o}from"../SuccessState.slots.js";import{styles as s}from"../SuccessState.styles.js";import{useCallback as c,useState as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";import*as f from"@stylexjs/stylex";function p({label:p,defaultOpen:m=!1,open:h,onOpenChange:g,children:_}){let v=a(`SuccessState.MoreDetails`),{_:y}=e();if(!v.depositTx&&!v.completionTx&&v.submittedAt===void 0&&v.filledAt===void 0)return null;let b=p??y({id:`LEbOpR`,message:`More details`}),x=typeof h==`boolean`,[S,C]=l(m),w=x?h:S,T=c(e=>{x||C(e),g?.(e)},[x,g]),E=f.props(s.moreDetailsTrigger,w?null:s.moreDetailsTriggerClosed),D=f.props(s.moreDetailsChevron),O=i(w);return d(n,{open:w,onOpenChange:T,children:[u(n.Trigger,{nativeButton:!1,render:u(r.Row,{"data-stridge-slot":o.moreDetailsTrigger,label:b,className:E.className,style:E.style,children:u(t,{"aria-hidden":!0,className:D.className,style:{...D.style,transform:O}})})}),u(n.Panel,{children:_})]})}export{p as SuccessStateMoreDetails};
1
+ "use client";import{useLingui as e}from"../../../../i18n/useLingui.js";import"../../../../../i18n/index.js";import{DisclosureRow as t}from"../../../../ui/DisclosureRow/DisclosureRow.js";import"../../../../ui/DisclosureRow/index.js";import{useSuccessStateContext as n}from"../context.js";import{SUCCESS_STATE_SLOTS as r}from"../SuccessState.slots.js";import{jsx as i}from"react/jsx-runtime";function a({label:a,defaultOpen:o=!1,open:s,onOpenChange:c,children:l}){let u=n(`SuccessState.MoreDetails`),{_:d}=e();return!u.depositTx&&!u.completionTx&&u.submittedAt===void 0&&u.filledAt===void 0?null:i(t,{label:a??d({id:`LEbOpR`,message:`More details`}),defaultOpen:o,triggerProps:{"data-stridge-slot":r.moreDetailsTrigger},...typeof s==`boolean`?{open:s}:{},...c?{onOpenChange:c}:{},children:l})}export{a as SuccessStateMoreDetails};
@@ -151,16 +151,6 @@ interface StridgeDevConfig {
151
151
  * returns no address.
152
152
  */
153
153
  userAddressOverride?: Address;
154
- /**
155
- * Unlock the cash payment rail (Card / Apple Pay / Google Pay). The cash flow is currently
156
- * UI-only with no backend, so the rail is fused off for every integration by default and this
157
- * knob is the only switch that surfaces it. Reserved for Stridge's own demo / preview surfaces
158
- * while cash bakes — production integrations should not flip it. The
159
- * `flows.deposit.methods.cashRail.enabled` opt-in is still required *in addition* to this gate;
160
- * this knob will be removed (and the rail governed by the opt-in alone) once the cash backend
161
- * ships.
162
- */
163
- cashRail?: boolean;
164
154
  }
165
155
  /**
166
156
  * Persistence configuration for the kit's per-tab state (settlement banner acks, future kit-wide
@@ -1 +1 @@
1
- "use client";import{StridgeEventsContext as e}from"../events/context.js";import{createKitI18n as t}from"../shared/i18n/createKitI18n.js";import"../i18n/index.js";import{createStridgeCatalog as n}from"../drivers/stridge/catalog.js";import{createStridgeActivityDriver as r}from"../drivers/stridge/createStridgeActivityDriver.js";import{createStridgeDepositDriver as i}from"../drivers/stridge/createStridgeDepositDriver.js";import{createStridgeWithdrawDriver as a}from"../drivers/stridge/createStridgeWithdrawDriver.js";import"../_internal/drivers/stridge/index.js";import{createBus as ee}from"../events/bus/createBus.js";import{createFlowIdRegistry as te}from"../events/bus/flowIdRegistry.js";import{createMetadataStore as o}from"../events/bus/metadata.js";import"../events/bus/index.js";import{KitProvider as s}from"../KitProvider.js";import{resolveMerchantLink as c}from"../shared/merchant-link/resolveMerchantLink.js";import"../shared/merchant-link/index.js";import{useIntercomMerchantContext as l}from"../shared/support/useIntercomMerchantContext.js";import{useMerchantContext as u}from"../shared/support/useMerchantContext.js";import"../shared/support/index.js";import{useDeepMemo as d}from"../shared/utils/useDeepMemo.js";import{ConnectWalletContext as f}from"../shared/wallet/ConnectWalletContext.js";import{DepositOwnerContext as p}from"./depositOwner.js";import{useOptionalWagmi as m}from"./optionalWagmi.js";import{createStubDepositDriver as h,createStubWithdrawDriver as g}from"./stubs.js";import{useEffect as ne,useMemo as _,useRef as v}from"react";import{jsx as y}from"react/jsx-runtime";function b({gatewayKey:b,environment:x,asset:S,flows:C,appearance:w,i18n:T,storage:E,dev:D,support:O,terms:k,prefetch:A,connectWallet:j,className:re,children:ie}){if(!C.deposit&&!C.withdraw)throw Error("<StridgeProvider /> requires at least one of `flows.deposit` or `flows.withdraw`.");if(!S)throw Error("<StridgeProvider /> requires `asset: { networkId, symbol }`.");let{config:M,address:N}=m(),P=_(()=>t(T??{}),[T?.locale,T?.messages]),F=v(P);F.current=P;let I=d(S),L=d(C.deposit),R=d(C.withdraw),z=I.networkId,B=I.symbol,V=L?.owner?.address??N??D?.userAddressOverride,H=R?.owner.address,U=_(()=>n({projectKey:b,...x?{environment:x}:{}}),[b,x]),W=_(()=>{if(!(!L||!V))return i({userAddress:V,projectKey:b,destination:{network_id:z,asset_symbol:B,to_address:L.destination.address},wagmiConfig:M,catalog:U,getI18n:()=>F.current,...x?{environment:x}:{},...L.minAmountUsd===void 0?{}:{minAmountUsd:L.minAmountUsd},...L.maxAmountUsd===void 0?{}:{maxAmountUsd:L.maxAmountUsd},...L.metadata?{metadata:L.metadata}:{}})},[L,V,b,x,z,B,M,U]),G=_(()=>h(),[]),K=L?W??G:void 0,q=_(()=>{if(!(!R||!H))return a({userAddress:H,projectKey:b,currency:{networkId:z,assetSymbol:B},wagmiConfig:M,catalog:U,getI18n:()=>F.current,...x?{environment:x}:{},...R.minAmountUsd===void 0?{}:{minAmountUsd:R.minAmountUsd},...R.maxAmountUsd===void 0?{}:{maxAmountUsd:R.maxAmountUsd},...R.metadata?{metadata:R.metadata}:{}})},[R,H,b,x,z,B,M,U]),J=_(()=>g(),[]),Y=R?q??J:void 0,X=(L?V:void 0)??(R?H:void 0),Z=_(()=>{if(X)return r({userAddress:X,projectKey:b,catalog:U,...x?{environment:x}:{}})},[X,b,x,U]);ne(()=>{if(!A)return;let e=A===!0||A.includes(`deposit`),t=A===!0||A.includes(`withdraw`),n=A===!0||A.includes(`activity`)||e||t;e&&W?.arm(),t&&q?.arm(),n&&Z?.arm()},[A,W,q,Z]);let ae=_(()=>L?{resolved:V!==void 0}:null,[L,V]),oe=_(()=>j?{onClick:j.onClick,...j.label===void 0?{}:{label:j.label}}:null,[j?.onClick,j?.label]),Q=V??H,$=u({gatewayKey:b,environment:x??`production`,assetChain:z,assetSymbol:B,...Q?{userAddress:Q}:{},...W?{depositDriver:W}:{}});return l(c(O?{url:O.url,onSelect:O.onOpen}:void 0).kind===`default`?$:null),y(e,{value:_(()=>({bus:ee(),flowIds:te(),metadata:o()}),[]),children:y(f,{value:oe,children:y(p,{value:ae,children:y(s,{theme:w?.theme,accent:w?.accent,radius:w?.radius,direction:w?.direction,attribution:w?.attribution,presentation:w?.presentation,i18n:T,storage:E?.driver,storageNamespace:E?.namespace,className:re,support:O,merchantContext:$,terms:k,...K?{deposit:K}:{},...L?.methods?{depositMethods:L.methods}:{},...Y?{withdraw:Y}:{},...Z?{activity:Z}:{},...D?.cashRail?{dev:{cashRail:!0}}:{},children:ie})})})})}export{b as StridgeProvider};
1
+ "use client";import{StridgeEventsContext as e}from"../events/context.js";import{createKitI18n as t}from"../shared/i18n/createKitI18n.js";import"../i18n/index.js";import{createStridgeCatalog as n}from"../drivers/stridge/catalog.js";import{createStridgeActivityDriver as r}from"../drivers/stridge/createStridgeActivityDriver.js";import{createStridgeDepositDriver as i}from"../drivers/stridge/createStridgeDepositDriver.js";import{createStridgeWithdrawDriver as a}from"../drivers/stridge/createStridgeWithdrawDriver.js";import"../_internal/drivers/stridge/index.js";import{createBus as ee}from"../events/bus/createBus.js";import{createFlowIdRegistry as te}from"../events/bus/flowIdRegistry.js";import{createMetadataStore as o}from"../events/bus/metadata.js";import"../events/bus/index.js";import{KitProvider as s}from"../KitProvider.js";import{resolveMerchantLink as c}from"../shared/merchant-link/resolveMerchantLink.js";import"../shared/merchant-link/index.js";import{useIntercomMerchantContext as l}from"../shared/support/useIntercomMerchantContext.js";import{useMerchantContext as u}from"../shared/support/useMerchantContext.js";import"../shared/support/index.js";import{useDeepMemo as d}from"../shared/utils/useDeepMemo.js";import{ConnectWalletContext as f}from"../shared/wallet/ConnectWalletContext.js";import{DepositOwnerContext as p}from"./depositOwner.js";import{useOptionalWagmi as m}from"./optionalWagmi.js";import{createStubDepositDriver as h,createStubWithdrawDriver as g}from"./stubs.js";import{useEffect as _,useMemo as v,useRef as y}from"react";import{jsx as b}from"react/jsx-runtime";function x({gatewayKey:x,environment:S,asset:C,flows:w,appearance:T,i18n:E,storage:D,dev:O,support:k,terms:ne,prefetch:A,connectWallet:j,className:re,children:ie}){if(!w.deposit&&!w.withdraw)throw Error("<StridgeProvider /> requires at least one of `flows.deposit` or `flows.withdraw`.");if(!C)throw Error("<StridgeProvider /> requires `asset: { networkId, symbol }`.");let{config:M,address:N}=m(),P=v(()=>t(E??{}),[E?.locale,E?.messages]),F=y(P);F.current=P;let I=d(C),L=d(w.deposit),R=d(w.withdraw),z=I.networkId,B=I.symbol,V=L?.owner?.address??N??O?.userAddressOverride,H=R?.owner.address,U=v(()=>n({projectKey:x,...S?{environment:S}:{}}),[x,S]),W=v(()=>{if(!(!L||!V))return i({userAddress:V,projectKey:x,destination:{network_id:z,asset_symbol:B,to_address:L.destination.address},wagmiConfig:M,catalog:U,getI18n:()=>F.current,...S?{environment:S}:{},...L.minAmountUsd===void 0?{}:{minAmountUsd:L.minAmountUsd},...L.maxAmountUsd===void 0?{}:{maxAmountUsd:L.maxAmountUsd},...L.metadata?{metadata:L.metadata}:{}})},[L,V,x,S,z,B,M,U]),G=v(()=>h(),[]),K=L?W??G:void 0,q=v(()=>{if(!(!R||!H))return a({userAddress:H,projectKey:x,currency:{networkId:z,assetSymbol:B},wagmiConfig:M,catalog:U,getI18n:()=>F.current,...S?{environment:S}:{},...R.minAmountUsd===void 0?{}:{minAmountUsd:R.minAmountUsd},...R.maxAmountUsd===void 0?{}:{maxAmountUsd:R.maxAmountUsd},...R.metadata?{metadata:R.metadata}:{}})},[R,H,x,S,z,B,M,U]),J=v(()=>g(),[]),Y=R?q??J:void 0,X=(L?V:void 0)??(R?H:void 0),Z=v(()=>{if(X)return r({userAddress:X,projectKey:x,catalog:U,...S?{environment:S}:{}})},[X,x,S,U]);_(()=>{if(!A)return;let e=A===!0||A.includes(`deposit`),t=A===!0||A.includes(`withdraw`),n=A===!0||A.includes(`activity`)||e||t;e&&W?.arm(),t&&q?.arm(),n&&Z?.arm()},[A,W,q,Z]);let ae=v(()=>L?{resolved:V!==void 0}:null,[L,V]),oe=v(()=>j?{onClick:j.onClick,...j.label===void 0?{}:{label:j.label}}:null,[j?.onClick,j?.label]),Q=V??H,$=u({gatewayKey:x,environment:S??`production`,assetChain:z,assetSymbol:B,...Q?{userAddress:Q}:{},...W?{depositDriver:W}:{}});return l(c(k?{url:k.url,onSelect:k.onOpen}:void 0).kind===`default`?$:null),b(e,{value:v(()=>({bus:ee(),flowIds:te(),metadata:o()}),[]),children:b(f,{value:oe,children:b(p,{value:ae,children:b(s,{theme:T?.theme,accent:T?.accent,radius:T?.radius,direction:T?.direction,attribution:T?.attribution,presentation:T?.presentation,i18n:E,storage:D?.driver,storageNamespace:D?.namespace,className:re,support:k,merchantContext:$,terms:ne,...K?{deposit:K}:{},...L?.methods?{depositMethods:L.methods}:{},...Y?{withdraw:Y}:{},...Z?{activity:Z}:{},children:ie})})})})}export{x as StridgeProvider};
@@ -1 +1 @@
1
- const e=Object.freeze({status:`idle`}),t=Object.freeze({brand:e,target:e,addresses:e,balances:e,quote:e,settlement:e,wallet:e,cashMethods:e,activity:e}),n=Object.freeze({withdrawableBalances:e,receiveOptions:e,quote:e,settlement:e,activity:e}),r=()=>{};function i(){if(typeof DOMException==`function`)return new DOMException(`Aborted`,`AbortError`);let e=Error(`Aborted`);return e.name=`AbortError`,e}function a(e){return new Promise((t,n)=>{if(e.aborted){n(i());return}e.addEventListener(`abort`,()=>n(i()),{once:!0})})}function o(){return{getSnapshot:()=>t,subscribe:()=>r,arm:()=>{},requestQuote:(e,t)=>a(t),submitDeposit:(e,t)=>a(t),watchSettlement:()=>{},fetchActiveSettlement:async()=>null}}function s(){return{getSnapshot:()=>n,subscribe:()=>r,arm:()=>{},requestQuote:(e,t)=>a(t),prepareWithdrawal:(e,t)=>a(t),watchSettlement:()=>{}}}export{o as createStubDepositDriver,s as createStubWithdrawDriver};
1
+ const e=Object.freeze({status:`idle`}),t=Object.freeze({brand:e,target:e,addresses:e,balances:e,quote:e,settlement:e,wallet:e,onrampMethods:e,activity:e}),n=Object.freeze({withdrawableBalances:e,receiveOptions:e,quote:e,settlement:e,activity:e}),r=()=>{};function i(){if(typeof DOMException==`function`)return new DOMException(`Aborted`,`AbortError`);let e=Error(`Aborted`);return e.name=`AbortError`,e}function a(e){return new Promise((t,n)=>{if(e.aborted){n(i());return}e.addEventListener(`abort`,()=>n(i()),{once:!0})})}function o(){return{getSnapshot:()=>t,subscribe:()=>r,arm:()=>{},requestQuote:(e,t)=>a(t),submitDeposit:(e,t)=>a(t),watchSettlement:()=>{},fetchActiveSettlement:async()=>null}}function s(){return{getSnapshot:()=>n,subscribe:()=>r,arm:()=>{},requestQuote:(e,t)=>a(t),prepareWithdrawal:(e,t)=>a(t),watchSettlement:()=>{}}}export{o as createStubDepositDriver,s as createStubWithdrawDriver};
@@ -441,10 +441,6 @@
441
441
  border-color: var(--stridge-kit-border);
442
442
  }
443
443
 
444
- .x16691aj {
445
- border-color: var(--stridge-kit-destructive);
446
- }
447
-
448
444
  .xab7lrg {
449
445
  border-color: var(--stridge-kit-tabs-tab-border-active);
450
446
  }
@@ -465,6 +461,14 @@
465
461
  border-radius: 0;
466
462
  }
467
463
 
464
+ .x4pepcl {
465
+ border-radius: 12px;
466
+ }
467
+
468
+ .x1cum3z5 {
469
+ border-radius: 2px;
470
+ }
471
+
468
472
  .x16rqkct {
469
473
  border-radius: 50%;
470
474
  }
@@ -541,6 +545,10 @@
541
545
  border-radius: var(--stridge-kit-tile-radius-pill);
542
546
  }
543
547
 
548
+ .xbsl7fq {
549
+ border-style: dashed;
550
+ }
551
+
544
552
  .xng3xce {
545
553
  border-style: none;
546
554
  }
@@ -553,6 +561,10 @@
553
561
  border-width: 0;
554
562
  }
555
563
 
564
+ .xvndefy {
565
+ border-width: 1.5px;
566
+ }
567
+
556
568
  .xmkeg23 {
557
569
  border-width: 1px;
558
570
  }
@@ -665,6 +677,10 @@
665
677
  gap: var(--stridge-kit-space-3);
666
678
  }
667
679
 
680
+ .x157g05j {
681
+ gap: var(--stridge-kit-space-5);
682
+ }
683
+
668
684
  .x1a6yh9e {
669
685
  gap: var(--stridge-kit-space-2);
670
686
  }
@@ -745,6 +761,10 @@
745
761
  padding-block: 4px;
746
762
  }
747
763
 
764
+ .xifx94n {
765
+ padding-block: 5px;
766
+ }
767
+
748
768
  .x1t0vds8 {
749
769
  padding-block: 6px;
750
770
  }
@@ -757,6 +777,10 @@
757
777
  padding-block: 8px;
758
778
  }
759
779
 
780
+ .x1yhm569 {
781
+ padding-block: var(--stridge-kit-space-4);
782
+ }
783
+
760
784
  .x1yowcxs {
761
785
  padding-block: var(--stridge-kit-space-3);
762
786
  }
@@ -937,6 +961,10 @@
937
961
  align-items: center;
938
962
  }
939
963
 
964
+ .xuk3077 {
965
+ align-items: flex-end;
966
+ }
967
+
940
968
  .x1cy8zhl {
941
969
  align-items: flex-start;
942
970
  }
@@ -1321,6 +1349,16 @@
1321
1349
  border-start-start-radius: var(--stridge-kit-card-radius-frame);
1322
1350
  }
1323
1351
 
1352
+ .xf7hhl2 {
1353
+ box-shadow: 0 -1px 0 0 var(--stridge-kit-border),0 -8px 16px -6px #00000038;
1354
+ }
1355
+
1356
+ @supports (color: lab(0% 0 0)) {
1357
+ .xf7hhl2 {
1358
+ box-shadow: 0 -1px 0 0 var(--stridge-kit-border),0 -8px 16px -6px lab(0% 0 0 / .22);
1359
+ }
1360
+ }
1361
+
1324
1362
  .x1gsh91t {
1325
1363
  box-shadow: 0 0 0 1.5px var(--stridge-kit-tile-surface);
1326
1364
  }
@@ -1869,10 +1907,6 @@
1869
1907
  line-height: 0;
1870
1908
  }
1871
1909
 
1872
- .x1u7k74 {
1873
- line-height: 1.2;
1874
- }
1875
-
1876
1910
  .x132q4wb {
1877
1911
  line-height: 1.25;
1878
1912
  }
@@ -2073,6 +2107,14 @@
2073
2107
  padding-inline-start: 22px;
2074
2108
  }
2075
2109
 
2110
+ .xyiysdx {
2111
+ padding-inline-start: 2px;
2112
+ }
2113
+
2114
+ .xaso8d8 {
2115
+ padding-inline-start: 5px;
2116
+ }
2117
+
2076
2118
  .x25sj25 {
2077
2119
  padding-inline-start: 6px;
2078
2120
  }
@@ -2149,6 +2191,10 @@
2149
2191
  stroke-width: 1.6px;
2150
2192
  }
2151
2193
 
2194
+ .x68fu6m {
2195
+ stroke-width: 1.8px;
2196
+ }
2197
+
2152
2198
  .xupzf07 {
2153
2199
  stroke-width: 2.2px;
2154
2200
  }
@@ -2161,6 +2207,10 @@
2161
2207
  stroke-width: 2px;
2162
2208
  }
2163
2209
 
2210
+ .xqjr0vm {
2211
+ stroke-width: 3px;
2212
+ }
2213
+
2164
2214
  .xrjhcif {
2165
2215
  stroke: var(--stridge-kit-card-border);
2166
2216
  }
@@ -2317,6 +2367,10 @@
2317
2367
  transition-property: background-color, border-color, color;
2318
2368
  }
2319
2369
 
2370
+ .xts7igz {
2371
+ transition-property: background-color, border-color;
2372
+ }
2373
+
2320
2374
  .xs2xxs2 {
2321
2375
  transition-property: background-color, color;
2322
2376
  }
@@ -2333,10 +2387,6 @@
2333
2387
  transition-property: border-color, box-shadow;
2334
2388
  }
2335
2389
 
2336
- .xshfolx {
2337
- transition-property: border-color;
2338
- }
2339
-
2340
2390
  .xkdsq27 {
2341
2391
  transition-property: box-shadow;
2342
2392
  }
@@ -2486,14 +2536,6 @@
2486
2536
  z-index: var(--stridge-kit-z-popover);
2487
2537
  }
2488
2538
 
2489
- .x3ppix8:active:not(:disabled) {
2490
- background-color: color-mix(in oklab,var(--stridge-kit-card-surface) 78%,var(--stridge-kit-foreground));
2491
- }
2492
-
2493
- .x16sea6d:hover:not(:disabled) {
2494
- background-color: color-mix(in oklab,var(--stridge-kit-card-surface) 89%,var(--stridge-kit-foreground));
2495
- }
2496
-
2497
2539
  .x3celgi:active:not(:disabled) {
2498
2540
  background-color: color-mix(in oklab,var(--stridge-kit-surface-hover) 70%,var(--stridge-kit-foreground));
2499
2541
  }
@@ -2666,6 +2708,10 @@
2666
2708
  background-color: #0000;
2667
2709
  }
2668
2710
 
2711
+ .xiy4fg7:hover {
2712
+ background-color: var(--stridge-kit-surface-hover);
2713
+ }
2714
+
2669
2715
  .x1tkvd9a:hover {
2670
2716
  background-color: var(--stridge-kit-secondary);
2671
2717
  }
@@ -2878,8 +2924,8 @@
2878
2924
  height: 14px;
2879
2925
  }
2880
2926
 
2881
- .x1ymw6g {
2882
- height: 160px;
2927
+ .xx3o462 {
2928
+ height: 15px;
2883
2929
  }
2884
2930
 
2885
2931
  .xlup9mm {
@@ -2906,10 +2952,6 @@
2906
2952
  height: 200px;
2907
2953
  }
2908
2954
 
2909
- .x1qx5ct2 {
2910
- height: 20px;
2911
- }
2912
-
2913
2955
  .x17rw0jw {
2914
2956
  height: 22px;
2915
2957
  }
@@ -2938,6 +2980,14 @@
2938
2980
  height: 46px;
2939
2981
  }
2940
2982
 
2983
+ .xdd8jsf {
2984
+ height: 52px;
2985
+ }
2986
+
2987
+ .xng8ra {
2988
+ height: 60px;
2989
+ }
2990
+
2941
2991
  .x1peatla {
2942
2992
  height: 64px;
2943
2993
  }
@@ -3014,6 +3064,10 @@
3014
3064
  margin-top: 0;
3015
3065
  }
3016
3066
 
3067
+ .x14vqqas {
3068
+ margin-top: 12px;
3069
+ }
3070
+
3017
3071
  .x1hmvnq2 {
3018
3072
  margin-top: 14px;
3019
3073
  }
@@ -3070,6 +3124,10 @@
3070
3124
  max-height: 1em;
3071
3125
  }
3072
3126
 
3127
+ .x2z3yb8 {
3128
+ max-height: 360px;
3129
+ }
3130
+
3073
3131
  .xpulllz {
3074
3132
  max-height: 66px;
3075
3133
  }
@@ -3154,6 +3212,10 @@
3154
3212
  min-height: 40px;
3155
3213
  }
3156
3214
 
3215
+ .xbktkl8 {
3216
+ min-height: 56px;
3217
+ }
3218
+
3157
3219
  .x17g2nzx {
3158
3220
  min-width: .6em;
3159
3221
  }
@@ -3190,6 +3252,10 @@
3190
3252
  padding-bottom: 0;
3191
3253
  }
3192
3254
 
3255
+ .x1a8lsjc {
3256
+ padding-bottom: 10px;
3257
+ }
3258
+
3193
3259
  .xxbrewl {
3194
3260
  padding-bottom: 11px;
3195
3261
  }
@@ -3230,6 +3296,10 @@
3230
3296
  padding-bottom: var(--stridge-kit-space-3);
3231
3297
  }
3232
3298
 
3299
+ .x1vc98yp {
3300
+ padding-bottom: var(--stridge-kit-space-8);
3301
+ }
3302
+
3233
3303
  .xpnfv0q {
3234
3304
  padding-bottom: var(--stridge-kit-space-5);
3235
3305
  }
@@ -3322,6 +3392,10 @@
3322
3392
  padding-top: var(--stridge-kit-space-3);
3323
3393
  }
3324
3394
 
3395
+ .x5gat22 {
3396
+ padding-top: var(--stridge-kit-space-8);
3397
+ }
3398
+
3325
3399
  .x4xct4k {
3326
3400
  padding-top: var(--stridge-kit-space-5);
3327
3401
  }
@@ -3374,8 +3448,8 @@
3374
3448
  width: 14px;
3375
3449
  }
3376
3450
 
3377
- .xq1dxzn {
3378
- width: 160px;
3451
+ .x1a00udw {
3452
+ width: 15px;
3379
3453
  }
3380
3454
 
3381
3455
  .x1kky2od {
@@ -3394,10 +3468,6 @@
3394
3468
  width: 1em;
3395
3469
  }
3396
3470
 
3397
- .xw4jnvo {
3398
- width: 20px;
3399
- }
3400
-
3401
3471
  .x16grhtn {
3402
3472
  width: 220px;
3403
3473
  }
@@ -3426,18 +3496,10 @@
3426
3496
  width: 44px;
3427
3497
  }
3428
3498
 
3429
- .x1bu4hv2 {
3430
- width: 5ch;
3431
- }
3432
-
3433
3499
  .x1fu8urw {
3434
3500
  width: 64px;
3435
3501
  }
3436
3502
 
3437
- .xig3uv9 {
3438
- width: 6ch;
3439
- }
3440
-
3441
3503
  .x1xc55vz {
3442
3504
  width: 8px;
3443
3505
  }
@@ -3830,6 +3892,14 @@
3830
3892
  }
3831
3893
 
3832
3894
  @layer priority9 {
3895
+ .x1ad04t7::-webkit-search-cancel-button {
3896
+ appearance: none;
3897
+ }
3898
+
3899
+ .x1glnyev::-webkit-search-decoration {
3900
+ appearance: none;
3901
+ }
3902
+
3833
3903
  .xbntbuv:before, .xki0kx:after {
3834
3904
  background-color: var(--stridge-kit-border);
3835
3905
  }
@@ -3842,6 +3912,14 @@
3842
3912
  content: "";
3843
3913
  }
3844
3914
 
3915
+ .x1hcrkkg::-webkit-search-cancel-button {
3916
+ display: none;
3917
+ }
3918
+
3919
+ .xzwh6sb::-webkit-search-decoration {
3920
+ display: none;
3921
+ }
3922
+
3845
3923
  .x90y9lf::placeholder {
3846
3924
  font-family: var(--stridge-kit-font-mono);
3847
3925
  }
package/dist/types.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Entity, SettlementFailureKind, TxRef } from "./shared/driver/types.js";
2
- import { AcceptedAssetPayload, AddressItemPayload, AssetPayload, BalanceItemPayload, BrandPayload, ChainPayload, QuoteBreakdownPayload, QuotePayload, QuoteRoutePayload, SettlementFailurePayload, SettlementPayload, SettlementPendingPayload, SettlementSuccessPayload, SourceWalletPayload, TargetPayload, WalletInfo, WalletPayload } from "./flows/deposit/driver/payloads.js";
2
+ import { AcceptedAssetPayload, AddressItemPayload, AssetPayload, BalanceItemPayload, BrandPayload, ChainPayload, OnrampMethodCapability, OnrampMethodsPayload, OnrampQuotePayload, OnrampReceiveAssetPayload, OnrampSessionPayload, OnrampSessionStateName, QuoteBreakdownPayload, QuotePayload, QuoteRoutePayload, SettlementFailurePayload, SettlementPayload, SettlementPendingPayload, SettlementSuccessPayload, SourceWalletPayload, TargetPayload, WalletInfo, WalletPayload } from "./flows/deposit/driver/payloads.js";
3
3
  import { DepositSnapshot } from "./flows/deposit/driver/types.js";
4
4
  import { FailureInfo } from "./shared/orchestrator/types.js";
5
- import { CashMethodId, ConfirmDepositPhase, DepositActions, DepositController, DepositMethod, DepositState, DepositStateName, GatewayEvent, OpenInput, ResolvedOpenInput, RetryTargetSpec } from "./flows/deposit/orchestrator/types.js";
5
+ import { ConfirmDepositPhase, DepositActions, DepositController, DepositMethod, DepositState, DepositStateName, GatewayEvent, OnrampConfirmPhase, OpenInput, ResolvedOpenInput, RetryTargetSpec } from "./flows/deposit/orchestrator/types.js";
6
6
  import { ReceiveOptionDto, ReceiveOptionsResponse, WithdrawableBalanceDto, WithdrawableBalancesResponse, WithdrawalQuoteDto, WithdrawalQuoteResponse, WithdrawalSettlementDto, WithdrawalSettlementResponse } from "./flows/withdraw/driver/dto.js";
7
7
  import { ReceiveChainPayload, ReceiveTokenOptionPayload, WithdrawableBalanceItemPayload, WithdrawalQuoteBreakdownPayload, WithdrawalQuotePayload, WithdrawalReceiveAssetPayload, WithdrawalSettlementFailurePayload, WithdrawalSettlementPayload, WithdrawalSettlementPendingPayload, WithdrawalSettlementSuccessPayload } from "./flows/withdraw/driver/payloads.js";
8
8
  import { WithdrawSnapshot } from "./flows/withdraw/driver/types.js";
@@ -14,4 +14,4 @@ import { WithdrawActions, WithdrawController, WithdrawEvent, WithdrawState, With
14
14
  import { STEPS_WITH_OWN_SETTLEMENT_VIEW, stepRendersSettlement } from "./flows/deposit/orchestrator/steps.js";
15
15
  import { WithdrawBalanceInput, WithdrawBindings, WithdrawSuggestedRecipient } from "./flows/withdraw/bindings/WithdrawBindings.js";
16
16
  import { BannerAckBucket } from "./banners/useBannerAck.js";
17
- export { type AcceptedAssetPayload, type AddressItemPayload, type AssetPayload, type BalanceItemPayload, type BannerAckBucket, type BrandPayload, type CashMethodId, type ChainPayload, type ConfirmDepositPhase, type DepositActions, type DepositController, type DepositMethod, type DepositSnapshot, type DepositState, type DepositStateName, type Entity, type FailureInfo, type GatewayEvent, type KitConfig, type KitDirection, type KitRadius, type KitStorage, type KitStorageAdapter, type KitStoragePersistence, type KitTarget, type KitTheme, type OpenInput, type Presentation, type PresentationConfig, type PresentationMode, type QuoteBreakdownPayload, type QuotePayload, type QuoteRoutePayload, type ReceiveChainPayload, type ReceiveOptionDto, type ReceiveOptionsResponse, type ReceiveTokenOptionPayload, type ResolvedOpenInput, type RetryTargetSpec, STEPS_WITH_OWN_SETTLEMENT_VIEW, type SettlementFailureKind, type SettlementFailurePayload, type SettlementPayload, type SettlementPendingPayload, type SettlementSuccessPayload, type SourceWalletPayload, type TargetPayload, type TxRef, type WalletInfo, type WalletPayload, type WithdrawActions, type WithdrawBalanceInput, type WithdrawBindings, type WithdrawController, type WithdrawEvent, type WithdrawSnapshot, type WithdrawState, type WithdrawStateName, type WithdrawSubmitActions, type WithdrawSubmitCallback, type WithdrawSubmitInput, type WithdrawSuggestedRecipient, type WithdrawableBalanceDto, type WithdrawableBalanceItemPayload, type WithdrawableBalancesResponse, type WithdrawalFormSnapshot, type WithdrawalQuoteBreakdownPayload, type WithdrawalQuoteDto, type WithdrawalQuotePayload, type WithdrawalQuoteResponse, type WithdrawalReceiveAssetPayload, type WithdrawalSettlementDto, type WithdrawalSettlementFailurePayload, type WithdrawalSettlementPayload, type WithdrawalSettlementPendingPayload, type WithdrawalSettlementResponse, type WithdrawalSettlementSuccessPayload, stepRendersSettlement };
17
+ export { type AcceptedAssetPayload, type AddressItemPayload, type AssetPayload, type BalanceItemPayload, type BannerAckBucket, type BrandPayload, type ChainPayload, type ConfirmDepositPhase, type DepositActions, type DepositController, type DepositMethod, type DepositSnapshot, type DepositState, type DepositStateName, type Entity, type FailureInfo, type GatewayEvent, type KitConfig, type KitDirection, type KitRadius, type KitStorage, type KitStorageAdapter, type KitStoragePersistence, type KitTarget, type KitTheme, type OnrampConfirmPhase, type OnrampMethodCapability, type OnrampMethodsPayload, type OnrampQuotePayload, type OnrampReceiveAssetPayload, type OnrampSessionPayload, type OnrampSessionStateName, type OpenInput, type Presentation, type PresentationConfig, type PresentationMode, type QuoteBreakdownPayload, type QuotePayload, type QuoteRoutePayload, type ReceiveChainPayload, type ReceiveOptionDto, type ReceiveOptionsResponse, type ReceiveTokenOptionPayload, type ResolvedOpenInput, type RetryTargetSpec, STEPS_WITH_OWN_SETTLEMENT_VIEW, type SettlementFailureKind, type SettlementFailurePayload, type SettlementPayload, type SettlementPendingPayload, type SettlementSuccessPayload, type SourceWalletPayload, type TargetPayload, type TxRef, type WalletInfo, type WalletPayload, type WithdrawActions, type WithdrawBalanceInput, type WithdrawBindings, type WithdrawController, type WithdrawEvent, type WithdrawSnapshot, type WithdrawState, type WithdrawStateName, type WithdrawSubmitActions, type WithdrawSubmitCallback, type WithdrawSubmitInput, type WithdrawSuggestedRecipient, type WithdrawableBalanceDto, type WithdrawableBalanceItemPayload, type WithdrawableBalancesResponse, type WithdrawalFormSnapshot, type WithdrawalQuoteBreakdownPayload, type WithdrawalQuoteDto, type WithdrawalQuotePayload, type WithdrawalQuoteResponse, type WithdrawalReceiveAssetPayload, type WithdrawalSettlementDto, type WithdrawalSettlementFailurePayload, type WithdrawalSettlementPayload, type WithdrawalSettlementPendingPayload, type WithdrawalSettlementResponse, type WithdrawalSettlementSuccessPayload, stepRendersSettlement };
@@ -15,16 +15,24 @@ import { Button, ButtonSize, ButtonVariant } from "../shared/ui/Button/Button.js
15
15
  import { BUTTON_SLOTS, ButtonSlot } from "../shared/ui/Button/Button.slots.js";
16
16
  import { Card, CardVariant } from "../shared/ui/Card/Card.js";
17
17
  import { CARD_SLOTS, CardSlot } from "../shared/ui/Card/Card.slots.js";
18
+ import { Checkbox } from "../shared/ui/Checkbox/Checkbox.js";
19
+ import { CHECKBOX_SLOTS, CheckboxSlot } from "../shared/ui/Checkbox/Checkbox.slots.js";
18
20
  import { Collapsible } from "../shared/ui/Collapsible/Collapsible.js";
19
21
  import { COLLAPSIBLE_SLOTS, CollapsibleSlot } from "../shared/ui/Collapsible/Collapsible.slots.js";
22
+ import { CurrencyGlyph } from "../shared/ui/CurrencyGlyph/CurrencyGlyph.js";
23
+ import { CURRENCY_GLYPH_SLOTS, CurrencyGlyphSlot } from "../shared/ui/CurrencyGlyph/CurrencyGlyph.slots.js";
20
24
  import { Details } from "../shared/ui/Details/Details.js";
21
25
  import { DETAILS_SLOTS, DetailsSlot } from "../shared/ui/Details/Details.slots.js";
22
26
  import { Dialog, useIsInsideDialogContent } from "../shared/ui/Dialog/Dialog.js";
23
27
  import { DIALOG_SLOTS, DialogSlot } from "../shared/ui/Dialog/Dialog.slots.js";
28
+ import { DisclosureRow } from "../shared/ui/DisclosureRow/DisclosureRow.js";
29
+ import { DISCLOSURE_ROW_SLOTS, DisclosureRowSlot } from "../shared/ui/DisclosureRow/DisclosureRow.slots.js";
24
30
  import { Drawer } from "../shared/ui/Drawer/Drawer.js";
25
31
  import { DRAWER_SLOTS, DrawerSlot } from "../shared/ui/Drawer/Drawer.slots.js";
26
32
  import { ExternalLink } from "../shared/ui/ExternalLink/ExternalLink.js";
27
33
  import { EXTERNAL_LINK_SLOTS, ExternalLinkSlot } from "../shared/ui/ExternalLink/ExternalLink.slots.js";
34
+ import { FiatAmount, FiatAmountProps } from "../shared/ui/FiatSymbol/FiatAmount.js";
35
+ import { FiatSymbol, FiatSymbolProps } from "../shared/ui/FiatSymbol/FiatSymbol.js";
28
36
  import { Field, FieldOrientation } from "../shared/ui/Field/Field.js";
29
37
  import { FIELD_SLOTS, FieldSlot } from "../shared/ui/Field/Field.slots.js";
30
38
  import { IconButton, IconButtonSize } from "../shared/ui/IconButton/IconButton.js";
@@ -53,4 +61,4 @@ import { TokenLogoProps } from "../shared/ui/TokenLogo/types.js";
53
61
  import { TokenLogo } from "../shared/ui/TokenLogo/TokenLogo.js";
54
62
  import { Tooltip, TooltipVariant } from "../shared/ui/Tooltip/Tooltip.js";
55
63
  import { TOOLTIP_SLOTS, TooltipSlot } from "../shared/ui/Tooltip/Tooltip.slots.js";
56
- export { ALERT_SLOTS, AMOUNT_INPUT_SLOTS, AdaptiveSurface, AdaptiveSurfaceProps, Alert, AlertSlot, AlertVariant, AmountInput, AmountInputSlot, BADGE_SLOTS, BUTTON_SLOTS, Badge, BadgeColor, BadgeRoundness, BadgeSize, BadgeSlot, BadgeVariant, Button, ButtonSize, ButtonSlot, ButtonVariant, CARD_SLOTS, COLLAPSIBLE_SLOTS, Card, CardSlot, CardVariant, Collapsible, CollapsibleSlot, DETAILS_SLOTS, DIALOG_SLOTS, DRAWER_SLOTS, Details, DetailsSlot, Dialog, DialogSlot, Drawer, DrawerSlot, EXTERNAL_LINK_SLOTS, ExternalLink, ExternalLinkSlot, FIELD_SLOTS, Field, FieldOrientation, FieldSlot, HtmlTags, ICON_BUTTON_SLOTS, IMAGE_SLOTS, INPUT_GROUP_SLOTS, IconButton, IconButtonSize, IconButtonSlot, Image, ImageGroupProps, ImageOverlayProps, ImageProps, ImageShape, ImageSize, ImageSlot, InputGroup, InputGroupAddonAlign, InputGroupSlot, LtrAtom, LtrAtomProps, Presentation, PresentationConfig, PresentationMode, SCROLL_AREA_SLOTS, SELECTABLE_TILE_SLOTS, SELECT_SLOTS, SKELETON_SLOTS, STEPS_SLOTS, ScrollArea, ScrollAreaSlot, Select, SelectSlot, SelectVariant, SelectableTile, SelectableTileGroup, SelectableTileGroupProps, SelectableTileShape, SelectableTileSlot, Skeleton, SkeletonSlot, Step, Steps, StepsSlot, TABS_SLOTS, TEXT_SLOTS, TOOLTIP_SLOTS, Tabs, TabsIndicator, TabsList, TabsPanel, TabsRoot, TabsSlot, TabsTab, TabsVariant, TextAlign, TextColor, TextComponent, TextFactory, TextFont, TextFontWeight, TextLeading, TextProps, TextSize, TextSlot, TextTracking, TextTransform, TokenLogo, TokenLogoProps, Tooltip, TooltipSlot, TooltipVariant, WALLET_ROW_SLOTS, WalletRow, WalletRowDensity, WalletRowProps, WalletRowSlot, formatAmountForInput, parseAmountInputValue, text, useIsInsideDialogContent };
64
+ export { ALERT_SLOTS, AMOUNT_INPUT_SLOTS, AdaptiveSurface, AdaptiveSurfaceProps, Alert, AlertSlot, AlertVariant, AmountInput, AmountInputSlot, BADGE_SLOTS, BUTTON_SLOTS, Badge, BadgeColor, BadgeRoundness, BadgeSize, BadgeSlot, BadgeVariant, Button, ButtonSize, ButtonSlot, ButtonVariant, CARD_SLOTS, CHECKBOX_SLOTS, COLLAPSIBLE_SLOTS, CURRENCY_GLYPH_SLOTS, Card, CardSlot, CardVariant, Checkbox, CheckboxSlot, Collapsible, CollapsibleSlot, CurrencyGlyph, CurrencyGlyphSlot, DETAILS_SLOTS, DIALOG_SLOTS, DISCLOSURE_ROW_SLOTS, DRAWER_SLOTS, Details, DetailsSlot, Dialog, DialogSlot, DisclosureRow, DisclosureRowSlot, Drawer, DrawerSlot, EXTERNAL_LINK_SLOTS, ExternalLink, ExternalLinkSlot, FIELD_SLOTS, FiatAmount, FiatAmountProps, FiatSymbol, FiatSymbolProps, Field, FieldOrientation, FieldSlot, HtmlTags, ICON_BUTTON_SLOTS, IMAGE_SLOTS, INPUT_GROUP_SLOTS, IconButton, IconButtonSize, IconButtonSlot, Image, ImageGroupProps, ImageOverlayProps, ImageProps, ImageShape, ImageSize, ImageSlot, InputGroup, InputGroupAddonAlign, InputGroupSlot, LtrAtom, LtrAtomProps, Presentation, PresentationConfig, PresentationMode, SCROLL_AREA_SLOTS, SELECTABLE_TILE_SLOTS, SELECT_SLOTS, SKELETON_SLOTS, STEPS_SLOTS, ScrollArea, ScrollAreaSlot, Select, SelectSlot, SelectVariant, SelectableTile, SelectableTileGroup, SelectableTileGroupProps, SelectableTileShape, SelectableTileSlot, Skeleton, SkeletonSlot, Step, Steps, StepsSlot, TABS_SLOTS, TEXT_SLOTS, TOOLTIP_SLOTS, Tabs, TabsIndicator, TabsList, TabsPanel, TabsRoot, TabsSlot, TabsTab, TabsVariant, TextAlign, TextColor, TextComponent, TextFactory, TextFont, TextFontWeight, TextLeading, TextProps, TextSize, TextSlot, TextTracking, TextTransform, TokenLogo, TokenLogoProps, Tooltip, TooltipSlot, TooltipVariant, WALLET_ROW_SLOTS, WalletRow, WalletRowDensity, WalletRowProps, WalletRowSlot, formatAmountForInput, parseAmountInputValue, text, useIsInsideDialogContent };