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

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 (185) 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 +13 -10
  8. package/dist/deposit/compound/index.js +1 -1
  9. package/dist/deposit/widgets/index.d.ts +4 -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 +77 -20
  22. package/dist/flows/deposit/driver/types.d.ts +64 -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 +102 -59
  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/widgets/amount-entry/AmountEntry.js +1 -1
  30. package/dist/flows/deposit/widgets/deposit/Deposit.js +1 -1
  31. package/dist/flows/deposit/widgets/deposit/compound/Deposit.d.ts +5 -5
  32. package/dist/flows/deposit/widgets/deposit/compound/components/Guards.js +1 -1
  33. package/dist/flows/deposit/widgets/deposit/compound/components/Methods.d.ts +1 -2
  34. package/dist/flows/deposit/widgets/deposit/compound/components/RailPicker.js +1 -1
  35. package/dist/flows/deposit/widgets/deposit/compound/types.d.ts +9 -9
  36. package/dist/flows/deposit/widgets/error-state/ErrorState.js +1 -1
  37. package/dist/flows/deposit/widgets/onramp-amount-entry/OnrampAmountEntry.d.ts +64 -0
  38. package/dist/flows/deposit/widgets/onramp-amount-entry/OnrampAmountEntry.js +1 -0
  39. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.d.ts +62 -0
  40. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.js +1 -0
  41. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.slots.d.ts +14 -0
  42. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.slots.js +1 -0
  43. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.js +1 -0
  44. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/HeroLabel.d.ts +13 -0
  45. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/HeroLabel.js +1 -0
  46. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/ReceiveChip.d.ts +14 -0
  47. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/ReceiveChip.js +1 -0
  48. package/dist/flows/deposit/widgets/{cash-amount-entry → onramp-amount-entry}/compound/context.js +1 -1
  49. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/index.d.ts +3 -0
  50. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/index.js +1 -0
  51. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/types.d.ts +29 -0
  52. package/dist/flows/deposit/widgets/onramp-amount-entry/index.d.ts +1 -0
  53. package/dist/flows/deposit/widgets/onramp-amount-entry/index.js +1 -0
  54. package/dist/flows/deposit/widgets/onramp-confirm/OnrampConfirm.d.ts +50 -0
  55. package/dist/flows/deposit/widgets/onramp-confirm/OnrampConfirm.js +1 -0
  56. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.d.ts +42 -0
  57. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.js +1 -0
  58. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.slots.d.ts +24 -0
  59. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.slots.js +1 -0
  60. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.js +1 -0
  61. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Body.d.ts +16 -0
  62. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Body.js +1 -0
  63. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Header.d.ts +15 -0
  64. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Header.js +1 -0
  65. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Summary.d.ts +15 -0
  66. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Summary.js +1 -0
  67. package/dist/flows/deposit/widgets/onramp-confirm/compound/context.d.ts +25 -0
  68. package/dist/flows/deposit/widgets/{cash-confirm → onramp-confirm}/compound/context.js +1 -1
  69. package/dist/flows/deposit/widgets/onramp-confirm/compound/index.d.ts +4 -0
  70. package/dist/flows/deposit/widgets/onramp-confirm/compound/index.js +1 -0
  71. package/dist/flows/deposit/widgets/onramp-confirm/compound/types.d.ts +62 -0
  72. package/dist/flows/deposit/widgets/onramp-confirm/index.d.ts +1 -0
  73. package/dist/flows/deposit/widgets/onramp-confirm/index.js +1 -0
  74. package/dist/flows/deposit/widgets/onramp-payment-pending/OnrampPaymentPending.d.ts +48 -0
  75. package/dist/flows/deposit/widgets/onramp-payment-pending/OnrampPaymentPending.js +1 -0
  76. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.d.ts +63 -0
  77. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.js +1 -0
  78. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.slots.d.ts +14 -0
  79. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.slots.js +1 -0
  80. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/ReopenButton.d.ts +11 -0
  81. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/ReopenButton.js +1 -0
  82. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/context.js +1 -0
  83. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/index.d.ts +2 -0
  84. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/index.js +1 -0
  85. package/dist/flows/deposit/widgets/onramp-payment-pending/index.d.ts +1 -0
  86. package/dist/flows/deposit/widgets/onramp-payment-pending/index.js +1 -0
  87. package/dist/flows/deposit/widgets/success-state/SuccessState.js +1 -1
  88. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/QrCode.js +1 -1
  89. package/dist/i18n/locales/ar.js +1 -1
  90. package/dist/i18n/locales/es.js +1 -1
  91. package/dist/i18n/locales/source-keys.d.ts +1 -1
  92. package/dist/icons/index.d.ts +1 -8
  93. package/dist/icons/index.js +1 -1
  94. package/dist/index.d.ts +3 -4
  95. package/dist/index.js +1 -1
  96. package/dist/package.js +1 -1
  97. package/dist/shared/icons/BitcoinIcon.d.ts +5 -8
  98. package/dist/shared/icons/BitcoinIcon.js +1 -1
  99. package/dist/shared/icons/CardIcon.d.ts +3 -3
  100. package/dist/shared/orchestrator/index.js +1 -1
  101. package/dist/shared/orchestrator/useOnrampSessionWatcher.js +1 -0
  102. package/dist/shared/ui/Tabs/Tabs.d.ts +2 -2
  103. package/dist/shared/widgets/activity/compound/ActivityDetail.js +1 -1
  104. package/dist/shared/widgets/amount-entry/compound/AmountEntry.js +1 -1
  105. package/dist/shared/widgets/amount-entry/compound/components/Footer.js +1 -1
  106. package/dist/shared/widgets/amount-entry/compound/types.d.ts +6 -0
  107. package/dist/stridge/StridgeProvider.d.ts +0 -10
  108. package/dist/stridge/StridgeProvider.js +1 -1
  109. package/dist/stridge/stubs.js +1 -1
  110. package/dist/styles/index.css +4 -44
  111. package/dist/types.d.ts +3 -3
  112. package/dist/version.js +1 -1
  113. package/dist/withdraw/compound/index.js +1 -1
  114. package/package.json +1 -1
  115. package/dist/flows/deposit/bindings/DepositBindings.d.ts +0 -87
  116. package/dist/flows/deposit/bindings/DepositBindings.js +0 -1
  117. package/dist/flows/deposit/bindings/index.d.ts +0 -1
  118. package/dist/flows/deposit/bindings/index.js +0 -1
  119. package/dist/flows/deposit/shared/cash.d.ts +0 -20
  120. package/dist/flows/deposit/shared/cash.js +0 -1
  121. package/dist/flows/deposit/widgets/cash-amount-entry/CashAmountEntry.d.ts +0 -71
  122. package/dist/flows/deposit/widgets/cash-amount-entry/CashAmountEntry.js +0 -1
  123. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.d.ts +0 -69
  124. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.js +0 -1
  125. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.slots.d.ts +0 -16
  126. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.slots.js +0 -1
  127. package/dist/flows/deposit/widgets/cash-amount-entry/compound/CashAmountEntry.styles.js +0 -1
  128. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/HeroLabel.d.ts +0 -13
  129. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/HeroLabel.js +0 -1
  130. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/MethodChip.d.ts +0 -18
  131. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/MethodChip.js +0 -1
  132. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/ReceiveChip.d.ts +0 -14
  133. package/dist/flows/deposit/widgets/cash-amount-entry/compound/components/ReceiveChip.js +0 -1
  134. package/dist/flows/deposit/widgets/cash-amount-entry/compound/index.d.ts +0 -3
  135. package/dist/flows/deposit/widgets/cash-amount-entry/compound/index.js +0 -1
  136. package/dist/flows/deposit/widgets/cash-amount-entry/compound/types.d.ts +0 -42
  137. package/dist/flows/deposit/widgets/cash-amount-entry/index.d.ts +0 -1
  138. package/dist/flows/deposit/widgets/cash-amount-entry/index.js +0 -1
  139. package/dist/flows/deposit/widgets/cash-confirm/CashConfirm.d.ts +0 -63
  140. package/dist/flows/deposit/widgets/cash-confirm/CashConfirm.js +0 -1
  141. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.d.ts +0 -54
  142. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.js +0 -1
  143. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.slots.d.ts +0 -33
  144. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.slots.js +0 -1
  145. package/dist/flows/deposit/widgets/cash-confirm/compound/CashConfirm.styles.js +0 -1
  146. package/dist/flows/deposit/widgets/cash-confirm/compound/cashConfirmDimensions.js +0 -1
  147. package/dist/flows/deposit/widgets/cash-confirm/compound/components/ApplePayBody.d.ts +0 -15
  148. package/dist/flows/deposit/widgets/cash-confirm/compound/components/ApplePayBody.js +0 -1
  149. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Body.d.ts +0 -22
  150. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Body.js +0 -1
  151. package/dist/flows/deposit/widgets/cash-confirm/compound/components/BodyLabel.js +0 -1
  152. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardBody.d.ts +0 -16
  153. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardBody.js +0 -1
  154. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.icons.js +0 -1
  155. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.js +0 -1
  156. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.keys.js +0 -1
  157. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.state.js +0 -1
  158. package/dist/flows/deposit/widgets/cash-confirm/compound/components/CardInputRow.styles.js +0 -1
  159. package/dist/flows/deposit/widgets/cash-confirm/compound/components/GooglePayBody.d.ts +0 -16
  160. package/dist/flows/deposit/widgets/cash-confirm/compound/components/GooglePayBody.js +0 -1
  161. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Header.d.ts +0 -21
  162. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Header.js +0 -1
  163. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Summary.d.ts +0 -17
  164. package/dist/flows/deposit/widgets/cash-confirm/compound/components/Summary.js +0 -1
  165. package/dist/flows/deposit/widgets/cash-confirm/compound/components/cardFormat.js +0 -1
  166. package/dist/flows/deposit/widgets/cash-confirm/compound/index.d.ts +0 -3
  167. package/dist/flows/deposit/widgets/cash-confirm/compound/index.js +0 -1
  168. package/dist/flows/deposit/widgets/cash-confirm/compound/types.d.ts +0 -66
  169. package/dist/flows/deposit/widgets/cash-confirm/index.d.ts +0 -1
  170. package/dist/flows/deposit/widgets/cash-confirm/index.js +0 -1
  171. package/dist/flows/deposit/widgets/cash-confirm/mocks.js +0 -1
  172. package/dist/shared/icons/AmexIcon.d.ts +0 -14
  173. package/dist/shared/icons/AmexIcon.js +0 -1
  174. package/dist/shared/icons/ApplePayIcon.d.ts +0 -15
  175. package/dist/shared/icons/ApplePayIcon.js +0 -1
  176. package/dist/shared/icons/CashIcon.d.ts +0 -16
  177. package/dist/shared/icons/CashIcon.js +0 -1
  178. package/dist/shared/icons/DiscoverIcon.d.ts +0 -14
  179. package/dist/shared/icons/DiscoverIcon.js +0 -1
  180. package/dist/shared/icons/GooglePayIcon.d.ts +0 -15
  181. package/dist/shared/icons/GooglePayIcon.js +0 -1
  182. package/dist/shared/icons/MastercardIcon.d.ts +0 -16
  183. package/dist/shared/icons/MastercardIcon.js +0 -1
  184. package/dist/shared/icons/VisaIcon.d.ts +0 -15
  185. package/dist/shared/icons/VisaIcon.js +0 -1
@@ -1,15 +0,0 @@
1
- import { SVGProps } from "react";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
-
4
- //#region src/shared/icons/GooglePayIcon.d.ts
5
- /**
6
- * Google "G" glyph — monochrome silhouette filled with `currentColor`. Used
7
- * as the themed glyph for the cash rail's Google Pay method in
8
- * `Deposit.Method`. The full Google Pay button lockup is reserved for
9
- * integrators with Google brand approval, who pass the official mark through
10
- * the `DepositMethodInput.icon` override prop. The `Pay` suffix on the
11
- * identifier disambiguates this from non-payment uses of the Google brand.
12
- */
13
- declare function GooglePayIcon(props: SVGProps<SVGSVGElement>): _$react_jsx_runtime0.JSX.Element;
14
- //#endregion
15
- export { GooglePayIcon };
@@ -1 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";function t(t){return e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`currentColor`,...t,children:e(`path`,{d:`M21.35 11.1H12.18v3.83h5.27c-.5 2.43-2.55 3.83-5.27 3.83-3.21 0-5.81-2.6-5.81-5.81s2.6-5.81 5.81-5.81c1.39 0 2.65.49 3.64 1.31l2.71-2.71C16.84 4.16 14.61 3 12.18 3 7.05 3 2.92 7.13 2.92 12.26s4.13 9.26 9.26 9.26c5.35 0 8.93-3.74 8.93-9 0-.61-.06-1.21-.16-1.79z`})})}export{t as GooglePayIcon};
@@ -1,16 +0,0 @@
1
- import { SVGProps } from "react";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
-
4
- //#region src/shared/icons/MastercardIcon.d.ts
5
- /**
6
- * Mastercard monochrome silhouette — two interlocking circles, the brand's icon-only mark.
7
- * Themed via `currentColor`. Used as the detected-brand glyph in the cash deposit's
8
- * `CardInputRow` when `detectBrand(pan)` returns `"mastercard"`. Full-colour Mastercard
9
- * lockups (the red+orange Venn diagram) are reserved for integrators with brand approval; this
10
- * kit ships the silhouette for trademark safety. The two circles paint at 70% opacity each so
11
- * the overlap region renders at full opacity in `currentColor` — keeps the iconic Venn shape
12
- * recognisable without baking in the brand colours.
13
- */
14
- declare function MastercardIcon(props: SVGProps<SVGSVGElement>): _$react_jsx_runtime0.JSX.Element;
15
- //#endregion
16
- export { MastercardIcon };
@@ -1 +0,0 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";function n(n){return t(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:32,height:20,viewBox:`0 0 32 20`,fill:`currentColor`,...n,children:[e(`circle`,{cx:`12`,cy:`10`,r:`6`,fillOpacity:`0.7`}),e(`circle`,{cx:`20`,cy:`10`,r:`6`,fillOpacity:`0.7`})]})}export{n as MastercardIcon};
@@ -1,15 +0,0 @@
1
- import { SVGProps } from "react";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
-
4
- //#region src/shared/icons/VisaIcon.d.ts
5
- /**
6
- * Visa-brand monochrome wordmark — silhouette letterforms in `currentColor`. Used as the
7
- * detected-brand glyph in the cash deposit's `CardInputRow` when `detectBrand(pan)` returns
8
- * `"visa"`. The natural 32×20 aspect ratio matches card-art conventions; consumers constrain
9
- * via inline width/height. Full-colour Visa brand lockups are reserved for integrators with
10
- * brand approval, who pass the official mark through a slot override; this kit ships the
11
- * silhouette for trademark safety.
12
- */
13
- declare function VisaIcon(props: SVGProps<SVGSVGElement>): _$react_jsx_runtime0.JSX.Element;
14
- //#endregion
15
- export { VisaIcon };
@@ -1 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";function t(t){return e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:32,height:20,viewBox:`0 0 32 20`,fill:`currentColor`,...t,children:e(`text`,{x:`16`,y:`14.5`,textAnchor:`middle`,fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`,fontSize:`11`,fontWeight:`900`,fontStyle:`italic`,letterSpacing:`-0.2`,children:`VISA`})})}export{t as VisaIcon};