@payos-inc/payos-react 1.0.42 → 1.2.0-staging.91

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 (411) hide show
  1. package/LICENSE +96 -0
  2. package/README.md +160 -0
  3. package/dist/THIRD_PARTY_NOTICES.txt +549 -0
  4. package/dist/payos-react.cjs +50 -0
  5. package/dist/payos-react.css +1 -1
  6. package/dist/payos-react.esm.js +17 -11
  7. package/dist/payos-react.min.js +2 -1
  8. package/dist/payos-react.mjs +50 -0
  9. package/dist/types/index.d.ts +1 -57
  10. package/dist/types/payos-passkey-js/src/api/ApiClient.d.ts +48 -0
  11. package/dist/types/payos-passkey-js/src/core/PayOSPasskey.d.ts +114 -0
  12. package/dist/types/payos-passkey-js/src/core/types.d.ts +100 -0
  13. package/dist/types/payos-passkey-js/src/index.d.ts +9 -0
  14. package/dist/types/payos-passkey-js/src/services/mastercard/MastercardSDKService.d.ts +61 -0
  15. package/dist/types/payos-passkey-js/src/services/visa/VisaSDKService.d.ts +90 -0
  16. package/dist/types/payos-passkey-js/src/utils/diagnostics.d.ts +30 -0
  17. package/dist/types/payos-passkey-js/src/utils/logger.d.ts +36 -0
  18. package/dist/{components → types/payos-react/src/components}/payos/ActiveCardWidget.d.ts +0 -1
  19. package/dist/{components → types/payos-react/src/components}/payos/AgentRegistrationFlow.d.ts +1 -3
  20. package/dist/{components → types/payos-react/src/components}/payos/ConnectStripeLinkButton.d.ts +0 -1
  21. package/dist/types/{components → payos-react/src/components}/payos/IdentityVerificationFlow.d.ts +0 -1
  22. package/dist/{components → types/payos-react/src/components}/payos/LinkPaymentFlow.d.ts +0 -1
  23. package/dist/{components → types/payos-react/src/components}/payos/LinkSessionContent.d.ts +0 -1
  24. package/dist/types/{components → payos-react/src/components}/payos/PayOSFooter.d.ts +0 -1
  25. package/dist/types/{components → payos-react/src/components}/payos/PayWithLinkButton.d.ts +0 -1
  26. package/dist/{components → types/payos-react/src/components}/payos/PaymentMethodRow.d.ts +0 -1
  27. package/dist/{components → types/payos-react/src/components}/payos/PaymentSheet.d.ts +3 -4
  28. package/dist/types/{components → payos-react/src/components}/payos/PaymentSheetContent.d.ts +6 -4
  29. package/dist/types/{components → payos-react/src/components}/payos/PaymentSheetPaymentFlow.d.ts +4 -2
  30. package/dist/{components → types/payos-react/src/components}/payos/PaymentSheetShell.d.ts +0 -1
  31. package/dist/types/{components → payos-react/src/components}/payos/PaymentSheetStatusViews.d.ts +3 -2
  32. package/dist/types/{components → payos-react/src/components}/payos/PriceTag.d.ts +0 -1
  33. package/dist/types/{components → payos-react/src/components}/payos/ReceiptPanel.d.ts +0 -1
  34. package/dist/types/{components → payos-react/src/components}/payos/ViewHeader.d.ts +2 -1
  35. package/dist/types/{components → payos-react/src/components}/payos/drawer.d.ts +5 -2
  36. package/dist/{components → types/payos-react/src/components}/payos/order-summary.d.ts +0 -1
  37. package/dist/{components → types/payos-react/src/components}/payos/otp-input.d.ts +0 -1
  38. package/dist/types/{components → payos-react/src/components}/payos/phone-input.d.ts +0 -1
  39. package/dist/{components → types/payos-react/src/components}/payos/themeMode.d.ts +0 -1
  40. package/dist/types/{components → payos-react/src/components}/payos/usePaymentSheetDisplayData.d.ts +0 -1
  41. package/dist/types/{components → payos-react/src/components}/payos/usePaymentSheetLifecycle.d.ts +0 -1
  42. package/dist/{components → types/payos-react/src/components}/payos/usePaymentSheetSkipToAuth.d.ts +0 -1
  43. package/dist/{components → types/payos-react/src/components}/payos/usePaymentSheetSkipToLink.d.ts +0 -1
  44. package/dist/{components → types/payos-react/src/components}/payos/views/AgentRegistrationView.d.ts +0 -1
  45. package/dist/types/{components → payos-react/src/components}/payos/views/CardAddView.d.ts +1 -2
  46. package/dist/types/{components → payos-react/src/components}/payos/views/CheckoutView.d.ts +0 -1
  47. package/dist/types/{components → payos-react/src/components}/payos/views/IdentityView.d.ts +0 -1
  48. package/dist/{components → types/payos-react/src/components}/payos/views/LinkBrand.d.ts +0 -1
  49. package/dist/{components → types/payos-react/src/components}/payos/views/LinkCheckoutView.d.ts +0 -1
  50. package/dist/types/{components → payos-react/src/components}/payos/views/LinkConnectView.d.ts +0 -1
  51. package/dist/types/{components → payos-react/src/components}/payos/views/LinkDeniedView.d.ts +0 -1
  52. package/dist/{components → types/payos-react/src/components}/payos/views/LinkLoadingView.d.ts +0 -1
  53. package/dist/types/{components → payos-react/src/components}/payos/views/LinkSuccessView.d.ts +0 -1
  54. package/dist/{components → types/payos-react/src/components}/payos/views/ManageThirdPartyView.d.ts +0 -1
  55. package/dist/{components → types/payos-react/src/components}/payos/views/MethodListView.d.ts +8 -1
  56. package/dist/types/{components → payos-react/src/components}/payos/views/OTPView.d.ts +0 -1
  57. package/dist/types/payos-react/src/components/payos/views/ShareCardsView.d.ts +28 -0
  58. package/dist/types/{components → payos-react/src/components}/payos/views/SuccessView.d.ts +0 -1
  59. package/dist/{components → types/payos-react/src/components}/payos/views/VisaIframeView.d.ts +0 -1
  60. package/dist/types/{components → payos-react/src/components}/payos/views/VisaMethodView.d.ts +0 -1
  61. package/dist/{components → types/payos-react/src/components}/payos/views/VisaOtpView.d.ts +0 -1
  62. package/dist/{components → types/payos-react/src/components}/payos/views/WelcomeBackView.d.ts +0 -1
  63. package/dist/types/payos-react/src/components/ui/CardArt.d.ts +22 -0
  64. package/dist/types/{components → payos-react/src/components}/ui/CardBrandIcon.d.ts +0 -1
  65. package/dist/types/{components → payos-react/src/components}/ui/ConfirmDialog.d.ts +0 -1
  66. package/dist/types/{components → payos-react/src/components}/ui/DigitalCard.d.ts +0 -1
  67. package/dist/types/payos-react/src/components/ui/HelpPopover.d.ts +17 -0
  68. package/dist/types/{components → payos-react/src/components}/ui/button.d.ts +1 -2
  69. package/dist/types/{components → payos-react/src/components}/ui/card.d.ts +1 -2
  70. package/dist/types/{components → payos-react/src/components}/ui/input.d.ts +0 -1
  71. package/dist/types/{components → payos-react/src/components}/ui/label.d.ts +1 -2
  72. package/dist/types/{components → payos-react/src/components}/ui/separator.d.ts +0 -1
  73. package/dist/{hooks → types/payos-react/src/hooks}/useBiometricType.d.ts +0 -1
  74. package/dist/types/{hooks → payos-react/src/hooks}/useBodyScrollLock.d.ts +0 -1
  75. package/dist/types/{hooks → payos-react/src/hooks}/useCardElement.d.ts +1 -2
  76. package/dist/types/{hooks → payos-react/src/hooks}/useLinkAuth.d.ts +0 -1
  77. package/dist/types/{hooks → payos-react/src/hooks}/useLinkDeviceAuthPoll.d.ts +0 -1
  78. package/dist/types/{hooks → payos-react/src/hooks}/useLinkMethods.d.ts +0 -1
  79. package/dist/{hooks → types/payos-react/src/hooks}/useLinkSession.d.ts +0 -1
  80. package/dist/{hooks → types/payos-react/src/hooks}/useLinkSpendStatusPoll.d.ts +0 -1
  81. package/dist/types/{hooks → payos-react/src/hooks}/usePasskeySDK.d.ts +2 -4
  82. package/dist/{hooks → types/payos-react/src/hooks}/useSession.d.ts +14 -1
  83. package/dist/types/{hooks → payos-react/src/hooks}/useVisualViewport.d.ts +0 -1
  84. package/dist/{index.d.ts → types/payos-react/src/index.d.ts} +3 -4
  85. package/dist/{lib → types/payos-react/src/lib}/utils.d.ts +0 -1
  86. package/dist/{services → types/payos-react/src/services}/apiService.d.ts +12 -2
  87. package/dist/{services → types/payos-react/src/services}/linkTokenService.d.ts +0 -1
  88. package/dist/types/{cardElement.d.ts → payos-react/src/types/cardElement.d.ts} +2 -3
  89. package/dist/types/{drawer.d.ts → payos-react/src/types/drawer.d.ts} +0 -1
  90. package/dist/types/{types → payos-react/src/types}/index.d.ts +0 -1
  91. package/dist/types/{order.d.ts → payos-react/src/types/order.d.ts} +0 -1
  92. package/dist/types/{types → payos-react/src/types}/payment.d.ts +1 -2
  93. package/dist/types/{session.d.ts → payos-react/src/types/session.d.ts} +17 -1
  94. package/dist/types/{utils → payos-react/src/utils}/credentialStatus.d.ts +0 -1
  95. package/dist/{utils → types/payos-react/src/utils}/deviceFingerprint.d.ts +0 -1
  96. package/dist/types/{utils → payos-react/src/utils}/environment.d.ts +0 -1
  97. package/dist/{utils → types/payos-react/src/utils}/formatting.d.ts +0 -1
  98. package/dist/types/{utils → payos-react/src/utils}/linkPopup.d.ts +0 -1
  99. package/dist/types/payos-react/src/utils/organizationName.d.ts +8 -0
  100. package/dist/types/{utils → payos-react/src/utils}/selectCard.d.ts +0 -1
  101. package/dist/types/{utils → payos-react/src/utils}/text.d.ts +0 -1
  102. package/dist/{utils → types/payos-react/src/utils}/validation.d.ts +0 -1
  103. package/package.json +38 -13
  104. package/dist/components/identity/IdentityBar.d.ts +0 -8
  105. package/dist/components/identity/IdentityBar.d.ts.map +0 -1
  106. package/dist/components/order/OrderSummaryAccordion.d.ts +0 -9
  107. package/dist/components/order/OrderSummaryAccordion.d.ts.map +0 -1
  108. package/dist/components/order/ShipmentCard.d.ts +0 -8
  109. package/dist/components/order/ShipmentCard.d.ts.map +0 -1
  110. package/dist/components/payos/ActiveCardWidget.d.ts.map +0 -1
  111. package/dist/components/payos/AgentRegistrationFlow.d.ts.map +0 -1
  112. package/dist/components/payos/ConnectStripeLinkButton.d.ts.map +0 -1
  113. package/dist/components/payos/IdentityVerificationFlow.d.ts +0 -26
  114. package/dist/components/payos/IdentityVerificationFlow.d.ts.map +0 -1
  115. package/dist/components/payos/LinkPaymentFlow.d.ts.map +0 -1
  116. package/dist/components/payos/LinkSessionContent.d.ts.map +0 -1
  117. package/dist/components/payos/PayOSFooter.d.ts +0 -25
  118. package/dist/components/payos/PayOSFooter.d.ts.map +0 -1
  119. package/dist/components/payos/PayWithLinkButton.d.ts +0 -74
  120. package/dist/components/payos/PayWithLinkButton.d.ts.map +0 -1
  121. package/dist/components/payos/PaymentMethodRow.d.ts.map +0 -1
  122. package/dist/components/payos/PaymentSheet.d.ts.map +0 -1
  123. package/dist/components/payos/PaymentSheetContent.d.ts +0 -80
  124. package/dist/components/payos/PaymentSheetContent.d.ts.map +0 -1
  125. package/dist/components/payos/PaymentSheetPaymentFlow.d.ts +0 -43
  126. package/dist/components/payos/PaymentSheetPaymentFlow.d.ts.map +0 -1
  127. package/dist/components/payos/PaymentSheetShell.d.ts.map +0 -1
  128. package/dist/components/payos/PaymentSheetStatusViews.d.ts +0 -28
  129. package/dist/components/payos/PaymentSheetStatusViews.d.ts.map +0 -1
  130. package/dist/components/payos/PriceTag.d.ts +0 -64
  131. package/dist/components/payos/PriceTag.d.ts.map +0 -1
  132. package/dist/components/payos/ReceiptPanel.d.ts +0 -67
  133. package/dist/components/payos/ReceiptPanel.d.ts.map +0 -1
  134. package/dist/components/payos/ViewHeader.d.ts +0 -9
  135. package/dist/components/payos/ViewHeader.d.ts.map +0 -1
  136. package/dist/components/payos/drawer.d.ts +0 -107
  137. package/dist/components/payos/drawer.d.ts.map +0 -1
  138. package/dist/components/payos/order-summary.d.ts.map +0 -1
  139. package/dist/components/payos/otp-input.d.ts.map +0 -1
  140. package/dist/components/payos/phone-input.d.ts +0 -30
  141. package/dist/components/payos/phone-input.d.ts.map +0 -1
  142. package/dist/components/payos/themeMode.d.ts.map +0 -1
  143. package/dist/components/payos/usePaymentSheetDebug.d.ts +0 -22
  144. package/dist/components/payos/usePaymentSheetDebug.d.ts.map +0 -1
  145. package/dist/components/payos/usePaymentSheetDisplayData.d.ts +0 -29
  146. package/dist/components/payos/usePaymentSheetDisplayData.d.ts.map +0 -1
  147. package/dist/components/payos/usePaymentSheetLifecycle.d.ts +0 -39
  148. package/dist/components/payos/usePaymentSheetLifecycle.d.ts.map +0 -1
  149. package/dist/components/payos/usePaymentSheetSkipToAuth.d.ts.map +0 -1
  150. package/dist/components/payos/usePaymentSheetSkipToLink.d.ts.map +0 -1
  151. package/dist/components/payos/views/AgentRegistrationView.d.ts.map +0 -1
  152. package/dist/components/payos/views/CardAddView.d.ts +0 -101
  153. package/dist/components/payos/views/CardAddView.d.ts.map +0 -1
  154. package/dist/components/payos/views/CheckoutView.d.ts +0 -95
  155. package/dist/components/payos/views/CheckoutView.d.ts.map +0 -1
  156. package/dist/components/payos/views/IdentityView.d.ts +0 -51
  157. package/dist/components/payos/views/IdentityView.d.ts.map +0 -1
  158. package/dist/components/payos/views/LinkBrand.d.ts.map +0 -1
  159. package/dist/components/payos/views/LinkCheckoutView.d.ts.map +0 -1
  160. package/dist/components/payos/views/LinkConnectView.d.ts +0 -18
  161. package/dist/components/payos/views/LinkConnectView.d.ts.map +0 -1
  162. package/dist/components/payos/views/LinkDeniedView.d.ts +0 -13
  163. package/dist/components/payos/views/LinkDeniedView.d.ts.map +0 -1
  164. package/dist/components/payos/views/LinkLoadingView.d.ts.map +0 -1
  165. package/dist/components/payos/views/LinkSuccessView.d.ts +0 -11
  166. package/dist/components/payos/views/LinkSuccessView.d.ts.map +0 -1
  167. package/dist/components/payos/views/ManageThirdPartyView.d.ts.map +0 -1
  168. package/dist/components/payos/views/MethodListView.d.ts.map +0 -1
  169. package/dist/components/payos/views/OTPView.d.ts +0 -69
  170. package/dist/components/payos/views/OTPView.d.ts.map +0 -1
  171. package/dist/components/payos/views/SuccessView.d.ts +0 -49
  172. package/dist/components/payos/views/SuccessView.d.ts.map +0 -1
  173. package/dist/components/payos/views/VisaIframeView.d.ts.map +0 -1
  174. package/dist/components/payos/views/VisaMethodView.d.ts +0 -23
  175. package/dist/components/payos/views/VisaMethodView.d.ts.map +0 -1
  176. package/dist/components/payos/views/VisaOtpView.d.ts.map +0 -1
  177. package/dist/components/payos/views/WelcomeBackView.d.ts.map +0 -1
  178. package/dist/components/ui/CardBrandIcon.d.ts +0 -10
  179. package/dist/components/ui/CardBrandIcon.d.ts.map +0 -1
  180. package/dist/components/ui/ConfirmDialog.d.ts +0 -25
  181. package/dist/components/ui/ConfirmDialog.d.ts.map +0 -1
  182. package/dist/components/ui/DigitalCard.d.ts +0 -13
  183. package/dist/components/ui/DigitalCard.d.ts.map +0 -1
  184. package/dist/components/ui/InfoTooltip.d.ts +0 -8
  185. package/dist/components/ui/InfoTooltip.d.ts.map +0 -1
  186. package/dist/components/ui/PinInput.d.ts +0 -12
  187. package/dist/components/ui/PinInput.d.ts.map +0 -1
  188. package/dist/components/ui/button.d.ts +0 -14
  189. package/dist/components/ui/button.d.ts.map +0 -1
  190. package/dist/components/ui/card.d.ts +0 -15
  191. package/dist/components/ui/card.d.ts.map +0 -1
  192. package/dist/components/ui/input.d.ts +0 -6
  193. package/dist/components/ui/input.d.ts.map +0 -1
  194. package/dist/components/ui/label.d.ts +0 -6
  195. package/dist/components/ui/label.d.ts.map +0 -1
  196. package/dist/components/ui/separator.d.ts +0 -5
  197. package/dist/components/ui/separator.d.ts.map +0 -1
  198. package/dist/hooks/index.d.ts +0 -8
  199. package/dist/hooks/index.d.ts.map +0 -1
  200. package/dist/hooks/useBiometricType.d.ts.map +0 -1
  201. package/dist/hooks/useBodyScrollLock.d.ts +0 -32
  202. package/dist/hooks/useBodyScrollLock.d.ts.map +0 -1
  203. package/dist/hooks/useCardElement.d.ts +0 -135
  204. package/dist/hooks/useCardElement.d.ts.map +0 -1
  205. package/dist/hooks/useCheckoutFlow.d.ts +0 -29
  206. package/dist/hooks/useCheckoutFlow.d.ts.map +0 -1
  207. package/dist/hooks/useDrawerState.d.ts +0 -4
  208. package/dist/hooks/useDrawerState.d.ts.map +0 -1
  209. package/dist/hooks/useLinkAuth.d.ts +0 -24
  210. package/dist/hooks/useLinkAuth.d.ts.map +0 -1
  211. package/dist/hooks/useLinkDeviceAuthPoll.d.ts +0 -29
  212. package/dist/hooks/useLinkDeviceAuthPoll.d.ts.map +0 -1
  213. package/dist/hooks/useLinkMethods.d.ts +0 -28
  214. package/dist/hooks/useLinkMethods.d.ts.map +0 -1
  215. package/dist/hooks/useLinkSession.d.ts.map +0 -1
  216. package/dist/hooks/useLinkSpendStatusPoll.d.ts.map +0 -1
  217. package/dist/hooks/usePasskeySDK.d.ts +0 -103
  218. package/dist/hooks/usePasskeySDK.d.ts.map +0 -1
  219. package/dist/hooks/useSession.d.ts.map +0 -1
  220. package/dist/hooks/useVisualViewport.d.ts +0 -15
  221. package/dist/hooks/useVisualViewport.d.ts.map +0 -1
  222. package/dist/index.d.ts.map +0 -1
  223. package/dist/lib/theme.d.ts +0 -53
  224. package/dist/lib/theme.d.ts.map +0 -1
  225. package/dist/lib/utils.d.ts.map +0 -1
  226. package/dist/mocks/index.d.ts +0 -3
  227. package/dist/mocks/index.d.ts.map +0 -1
  228. package/dist/mocks/mockCheckoutFlow.d.ts +0 -25
  229. package/dist/mocks/mockCheckoutFlow.d.ts.map +0 -1
  230. package/dist/mocks/mockData.d.ts +0 -6
  231. package/dist/mocks/mockData.d.ts.map +0 -1
  232. package/dist/mocks/mockSessionData.d.ts +0 -38
  233. package/dist/mocks/mockSessionData.d.ts.map +0 -1
  234. package/dist/services/apiService.d.ts.map +0 -1
  235. package/dist/services/linkTokenService.d.ts.map +0 -1
  236. package/dist/services/mockSessionService.d.ts +0 -65
  237. package/dist/services/mockSessionService.d.ts.map +0 -1
  238. package/dist/types/cardElement.d.ts.map +0 -1
  239. package/dist/types/components/identity/IdentityBar.d.ts +0 -8
  240. package/dist/types/components/identity/IdentityBar.d.ts.map +0 -1
  241. package/dist/types/components/order/OrderSummaryAccordion.d.ts +0 -9
  242. package/dist/types/components/order/OrderSummaryAccordion.d.ts.map +0 -1
  243. package/dist/types/components/order/ShipmentCard.d.ts +0 -8
  244. package/dist/types/components/order/ShipmentCard.d.ts.map +0 -1
  245. package/dist/types/components/payos/ActiveCardWidget.d.ts +0 -60
  246. package/dist/types/components/payos/ActiveCardWidget.d.ts.map +0 -1
  247. package/dist/types/components/payos/AgentRegistrationFlow.d.ts +0 -24
  248. package/dist/types/components/payos/AgentRegistrationFlow.d.ts.map +0 -1
  249. package/dist/types/components/payos/ConnectStripeLinkButton.d.ts +0 -41
  250. package/dist/types/components/payos/ConnectStripeLinkButton.d.ts.map +0 -1
  251. package/dist/types/components/payos/IdentityVerificationFlow.d.ts.map +0 -1
  252. package/dist/types/components/payos/LinkPaymentFlow.d.ts +0 -11
  253. package/dist/types/components/payos/LinkPaymentFlow.d.ts.map +0 -1
  254. package/dist/types/components/payos/LinkSessionContent.d.ts +0 -19
  255. package/dist/types/components/payos/LinkSessionContent.d.ts.map +0 -1
  256. package/dist/types/components/payos/PayOSFooter.d.ts.map +0 -1
  257. package/dist/types/components/payos/PayWithLinkButton.d.ts.map +0 -1
  258. package/dist/types/components/payos/PaymentMethodRow.d.ts +0 -53
  259. package/dist/types/components/payos/PaymentMethodRow.d.ts.map +0 -1
  260. package/dist/types/components/payos/PaymentSheet.d.ts +0 -121
  261. package/dist/types/components/payos/PaymentSheet.d.ts.map +0 -1
  262. package/dist/types/components/payos/PaymentSheetContent.d.ts.map +0 -1
  263. package/dist/types/components/payos/PaymentSheetPaymentFlow.d.ts.map +0 -1
  264. package/dist/types/components/payos/PaymentSheetShell.d.ts +0 -25
  265. package/dist/types/components/payos/PaymentSheetShell.d.ts.map +0 -1
  266. package/dist/types/components/payos/PaymentSheetStatusViews.d.ts.map +0 -1
  267. package/dist/types/components/payos/PriceTag.d.ts.map +0 -1
  268. package/dist/types/components/payos/ReceiptPanel.d.ts.map +0 -1
  269. package/dist/types/components/payos/ViewHeader.d.ts.map +0 -1
  270. package/dist/types/components/payos/drawer.d.ts.map +0 -1
  271. package/dist/types/components/payos/order-summary.d.ts +0 -44
  272. package/dist/types/components/payos/order-summary.d.ts.map +0 -1
  273. package/dist/types/components/payos/otp-input.d.ts +0 -45
  274. package/dist/types/components/payos/otp-input.d.ts.map +0 -1
  275. package/dist/types/components/payos/phone-input.d.ts.map +0 -1
  276. package/dist/types/components/payos/themeMode.d.ts +0 -6
  277. package/dist/types/components/payos/themeMode.d.ts.map +0 -1
  278. package/dist/types/components/payos/usePaymentSheetDebug.d.ts +0 -22
  279. package/dist/types/components/payos/usePaymentSheetDebug.d.ts.map +0 -1
  280. package/dist/types/components/payos/usePaymentSheetDisplayData.d.ts.map +0 -1
  281. package/dist/types/components/payos/usePaymentSheetLifecycle.d.ts.map +0 -1
  282. package/dist/types/components/payos/usePaymentSheetSkipToAuth.d.ts +0 -18
  283. package/dist/types/components/payos/usePaymentSheetSkipToAuth.d.ts.map +0 -1
  284. package/dist/types/components/payos/usePaymentSheetSkipToLink.d.ts +0 -14
  285. package/dist/types/components/payos/usePaymentSheetSkipToLink.d.ts.map +0 -1
  286. package/dist/types/components/payos/views/AgentRegistrationView.d.ts +0 -61
  287. package/dist/types/components/payos/views/AgentRegistrationView.d.ts.map +0 -1
  288. package/dist/types/components/payos/views/CardAddView.d.ts.map +0 -1
  289. package/dist/types/components/payos/views/CheckoutView.d.ts.map +0 -1
  290. package/dist/types/components/payos/views/IdentityView.d.ts.map +0 -1
  291. package/dist/types/components/payos/views/LinkBrand.d.ts +0 -13
  292. package/dist/types/components/payos/views/LinkBrand.d.ts.map +0 -1
  293. package/dist/types/components/payos/views/LinkCheckoutView.d.ts +0 -31
  294. package/dist/types/components/payos/views/LinkCheckoutView.d.ts.map +0 -1
  295. package/dist/types/components/payos/views/LinkConnectView.d.ts.map +0 -1
  296. package/dist/types/components/payos/views/LinkDeniedView.d.ts.map +0 -1
  297. package/dist/types/components/payos/views/LinkLoadingView.d.ts +0 -11
  298. package/dist/types/components/payos/views/LinkLoadingView.d.ts.map +0 -1
  299. package/dist/types/components/payos/views/LinkSuccessView.d.ts.map +0 -1
  300. package/dist/types/components/payos/views/ManageThirdPartyView.d.ts +0 -19
  301. package/dist/types/components/payos/views/ManageThirdPartyView.d.ts.map +0 -1
  302. package/dist/types/components/payos/views/MethodListView.d.ts +0 -116
  303. package/dist/types/components/payos/views/MethodListView.d.ts.map +0 -1
  304. package/dist/types/components/payos/views/OTPView.d.ts.map +0 -1
  305. package/dist/types/components/payos/views/SuccessView.d.ts.map +0 -1
  306. package/dist/types/components/payos/views/VisaIframeView.d.ts +0 -16
  307. package/dist/types/components/payos/views/VisaIframeView.d.ts.map +0 -1
  308. package/dist/types/components/payos/views/VisaMethodView.d.ts.map +0 -1
  309. package/dist/types/components/payos/views/VisaOtpView.d.ts +0 -45
  310. package/dist/types/components/payos/views/VisaOtpView.d.ts.map +0 -1
  311. package/dist/types/components/payos/views/WelcomeBackView.d.ts +0 -34
  312. package/dist/types/components/payos/views/WelcomeBackView.d.ts.map +0 -1
  313. package/dist/types/components/ui/CardBrandIcon.d.ts.map +0 -1
  314. package/dist/types/components/ui/ConfirmDialog.d.ts.map +0 -1
  315. package/dist/types/components/ui/DigitalCard.d.ts.map +0 -1
  316. package/dist/types/components/ui/InfoTooltip.d.ts +0 -8
  317. package/dist/types/components/ui/InfoTooltip.d.ts.map +0 -1
  318. package/dist/types/components/ui/PinInput.d.ts +0 -12
  319. package/dist/types/components/ui/PinInput.d.ts.map +0 -1
  320. package/dist/types/components/ui/button.d.ts.map +0 -1
  321. package/dist/types/components/ui/card.d.ts.map +0 -1
  322. package/dist/types/components/ui/input.d.ts.map +0 -1
  323. package/dist/types/components/ui/label.d.ts.map +0 -1
  324. package/dist/types/components/ui/separator.d.ts.map +0 -1
  325. package/dist/types/drawer.d.ts.map +0 -1
  326. package/dist/types/hooks/index.d.ts +0 -8
  327. package/dist/types/hooks/index.d.ts.map +0 -1
  328. package/dist/types/hooks/useBiometricType.d.ts +0 -21
  329. package/dist/types/hooks/useBiometricType.d.ts.map +0 -1
  330. package/dist/types/hooks/useBodyScrollLock.d.ts.map +0 -1
  331. package/dist/types/hooks/useCardElement.d.ts.map +0 -1
  332. package/dist/types/hooks/useCheckoutFlow.d.ts +0 -29
  333. package/dist/types/hooks/useCheckoutFlow.d.ts.map +0 -1
  334. package/dist/types/hooks/useDrawerState.d.ts +0 -4
  335. package/dist/types/hooks/useDrawerState.d.ts.map +0 -1
  336. package/dist/types/hooks/useLinkAuth.d.ts.map +0 -1
  337. package/dist/types/hooks/useLinkDeviceAuthPoll.d.ts.map +0 -1
  338. package/dist/types/hooks/useLinkMethods.d.ts.map +0 -1
  339. package/dist/types/hooks/useLinkSession.d.ts +0 -81
  340. package/dist/types/hooks/useLinkSession.d.ts.map +0 -1
  341. package/dist/types/hooks/useLinkSpendStatusPoll.d.ts +0 -28
  342. package/dist/types/hooks/useLinkSpendStatusPoll.d.ts.map +0 -1
  343. package/dist/types/hooks/usePasskeySDK.d.ts.map +0 -1
  344. package/dist/types/hooks/useSession.d.ts +0 -87
  345. package/dist/types/hooks/useSession.d.ts.map +0 -1
  346. package/dist/types/hooks/useVisualViewport.d.ts.map +0 -1
  347. package/dist/types/index.d.ts.map +0 -1
  348. package/dist/types/lib/theme.d.ts +0 -53
  349. package/dist/types/lib/theme.d.ts.map +0 -1
  350. package/dist/types/lib/utils.d.ts +0 -3
  351. package/dist/types/lib/utils.d.ts.map +0 -1
  352. package/dist/types/mocks/index.d.ts +0 -3
  353. package/dist/types/mocks/index.d.ts.map +0 -1
  354. package/dist/types/mocks/mockCheckoutFlow.d.ts +0 -25
  355. package/dist/types/mocks/mockCheckoutFlow.d.ts.map +0 -1
  356. package/dist/types/mocks/mockData.d.ts +0 -6
  357. package/dist/types/mocks/mockData.d.ts.map +0 -1
  358. package/dist/types/mocks/mockSessionData.d.ts +0 -38
  359. package/dist/types/mocks/mockSessionData.d.ts.map +0 -1
  360. package/dist/types/order.d.ts.map +0 -1
  361. package/dist/types/payment.d.ts +0 -55
  362. package/dist/types/payment.d.ts.map +0 -1
  363. package/dist/types/services/apiService.d.ts +0 -406
  364. package/dist/types/services/apiService.d.ts.map +0 -1
  365. package/dist/types/services/linkTokenService.d.ts +0 -7
  366. package/dist/types/services/linkTokenService.d.ts.map +0 -1
  367. package/dist/types/services/mockSessionService.d.ts +0 -65
  368. package/dist/types/services/mockSessionService.d.ts.map +0 -1
  369. package/dist/types/session.d.ts.map +0 -1
  370. package/dist/types/types/cardElement.d.ts +0 -157
  371. package/dist/types/types/cardElement.d.ts.map +0 -1
  372. package/dist/types/types/drawer.d.ts +0 -33
  373. package/dist/types/types/drawer.d.ts.map +0 -1
  374. package/dist/types/types/index.d.ts.map +0 -1
  375. package/dist/types/types/order.d.ts +0 -25
  376. package/dist/types/types/order.d.ts.map +0 -1
  377. package/dist/types/types/payment.d.ts.map +0 -1
  378. package/dist/types/types/session.d.ts +0 -165
  379. package/dist/types/types/session.d.ts.map +0 -1
  380. package/dist/types/utils/credentialStatus.d.ts.map +0 -1
  381. package/dist/types/utils/deviceFingerprint.d.ts +0 -27
  382. package/dist/types/utils/deviceFingerprint.d.ts.map +0 -1
  383. package/dist/types/utils/environment.d.ts.map +0 -1
  384. package/dist/types/utils/formatting.d.ts +0 -41
  385. package/dist/types/utils/formatting.d.ts.map +0 -1
  386. package/dist/types/utils/index.d.ts +0 -4
  387. package/dist/types/utils/index.d.ts.map +0 -1
  388. package/dist/types/utils/linkFormat.d.ts +0 -17
  389. package/dist/types/utils/linkFormat.d.ts.map +0 -1
  390. package/dist/types/utils/linkPopup.d.ts.map +0 -1
  391. package/dist/types/utils/selectCard.d.ts.map +0 -1
  392. package/dist/types/utils/text.d.ts.map +0 -1
  393. package/dist/types/utils/validation.d.ts +0 -90
  394. package/dist/types/utils/validation.d.ts.map +0 -1
  395. package/dist/utils/credentialStatus.d.ts +0 -8
  396. package/dist/utils/credentialStatus.d.ts.map +0 -1
  397. package/dist/utils/deviceFingerprint.d.ts.map +0 -1
  398. package/dist/utils/environment.d.ts +0 -22
  399. package/dist/utils/environment.d.ts.map +0 -1
  400. package/dist/utils/formatting.d.ts.map +0 -1
  401. package/dist/utils/index.d.ts +0 -4
  402. package/dist/utils/index.d.ts.map +0 -1
  403. package/dist/utils/linkFormat.d.ts +0 -17
  404. package/dist/utils/linkFormat.d.ts.map +0 -1
  405. package/dist/utils/linkPopup.d.ts +0 -19
  406. package/dist/utils/linkPopup.d.ts.map +0 -1
  407. package/dist/utils/selectCard.d.ts +0 -18
  408. package/dist/utils/selectCard.d.ts.map +0 -1
  409. package/dist/utils/text.d.ts +0 -12
  410. package/dist/utils/text.d.ts.map +0 -1
  411. package/dist/utils/validation.d.ts.map +0 -1
@@ -1,95 +0,0 @@
1
- import * as React from "react";
2
- import type { SavedCard } from "../../../types";
3
- import type { MultiPaymentIntent } from "../../../types/session";
4
- /**
5
- * CheckoutView - Root payment view with payment method + submit
6
- *
7
- * This is the main checkout screen in the Card Stack Architecture.
8
- * Features:
9
- * - ActiveCardWidget (card display + CVC entry in unified component)
10
- * - Pay button (disabled until CVC is valid)
11
- * - Trust footer with PayOS branding
12
- * - Order summary now accessible via Smart Header (receipt toggle)
13
- *
14
- * Navigation:
15
- * - No back button (this is the root view)
16
- * - "Change" button in ActiveCardWidget → navigates to MethodListView
17
- *
18
- * Design System:
19
- * - Cards on Gray canvas
20
- * - Section labels with proper hierarchy
21
- * - Tactile physics on buttons
22
- */
23
- export interface OrderItem {
24
- label: string;
25
- value: string | number;
26
- description?: string;
27
- }
28
- export interface CheckoutViewProps {
29
- /**
30
- * Selected payment card
31
- */
32
- selectedCard: SavedCard;
33
- /**
34
- * All saved cards (used to render the inline picker list below the hero)
35
- */
36
- cards?: SavedCard[];
37
- /**
38
- * Handler when user taps a non-selected card in the inline list
39
- */
40
- onSelectCard?: (cardId: string) => void;
41
- /**
42
- * Handler when user clicks "Add new card" in the inline list
43
- */
44
- onAddNewCard?: () => void;
45
- /**
46
- * Optional handler to delete a card from the inline list
47
- */
48
- onDeleteCard?: (cardId: string) => Promise<unknown> | void;
49
- /**
50
- * Optional handler for the mobile "Change payment method" button — navigates to MethodListView
51
- */
52
- onChangeCard?: () => void;
53
- /**
54
- * Current CVC value
55
- */
56
- cvc: string;
57
- /**
58
- * CVC change handler
59
- */
60
- onCvcChange: (cvc: string) => void;
61
- /**
62
- * Payment intent with all order/payment details
63
- * Preferred over individual props for full session integration
64
- */
65
- paymentIntent?: MultiPaymentIntent;
66
- /**
67
- * Total amount to display (formatted, e.g., "$185.50")
68
- * @deprecated Use paymentIntent instead - this is kept for backward compatibility
69
- */
70
- total?: string;
71
- /**
72
- * Optional order line items
73
- * @deprecated Use paymentIntent.payments instead
74
- */
75
- items?: OrderItem[];
76
- /**
77
- * Whether this is an agent purchase
78
- * @deprecated Use paymentIntent.type instead - derived automatically
79
- */
80
- isAgentMode?: boolean;
81
- /**
82
- * Payment submission handler
83
- */
84
- onSubmit: () => void;
85
- /**
86
- * Loading state during payment processing
87
- */
88
- isLoading?: boolean;
89
- /**
90
- * Error message
91
- */
92
- error?: string;
93
- }
94
- export declare const CheckoutView: React.FC<CheckoutViewProps>;
95
- //# sourceMappingURL=CheckoutView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheckoutView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/CheckoutView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAqB,MAAM,wBAAwB,CAAC;AAEpF;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAeD,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,YAAY,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4HpD,CAAC"}
@@ -1,51 +0,0 @@
1
- import * as React from "react";
2
- import { type CountryCode } from "../phone-input";
3
- /**
4
- * IdentityView - Phone entry screen for authentication
5
- *
6
- * State 1 of checkout flow:
7
- * - Minimal header with context
8
- * - Phone input (Engineered component)
9
- * - Submit button attached below
10
- */
11
- interface IdentityViewProps {
12
- /**
13
- * Phone number value
14
- */
15
- phone: string;
16
- /**
17
- * Phone change handler
18
- */
19
- onPhoneChange: (phone: string) => void;
20
- /**
21
- * Selected country code
22
- */
23
- countryCode?: CountryCode;
24
- /**
25
- * Country change handler
26
- */
27
- onCountryChange?: (code: CountryCode) => void;
28
- /**
29
- * Submit handler
30
- */
31
- onSubmit: () => void;
32
- /**
33
- * Whether submission is loading
34
- */
35
- isLoading?: boolean;
36
- /**
37
- * Validation error message
38
- */
39
- error?: string;
40
- /**
41
- * Override heading text (e.g., "Add a card" for setup mode)
42
- */
43
- title?: string;
44
- /**
45
- * Override subtitle text
46
- */
47
- subtitle?: string;
48
- }
49
- export declare const IdentityView: React.FC<IdentityViewProps>;
50
- export {};
51
- //# sourceMappingURL=IdentityView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IdentityView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/IdentityView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG9D;;;;;;;GAOG;AAEH,UAAU,iBAAiB;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA0FpD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkBrand.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/LinkBrand.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;CAC3C;AAED,wBAAgB,SAAS,CAAC,EACxB,SAAkB,EAClB,QAAkB,EAClB,YAAqB,GACtB,EAAE,cAAc,2CAgChB;AAED,eAAe,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkCheckoutView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/LinkCheckoutView.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,wBAAwB,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,YAAY,CAAC;AAEnF,UAAU,qBAAqB;IAC7B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAoFD,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,QAAQ,EACR,aAA0B,EAC1B,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,EACR,iBAAiB,EACjB,YAAY,EACZ,cAAc,GACf,EAAE,qBAAqB,2CA6PvB;AAED,eAAe,gBAAgB,CAAC"}
@@ -1,18 +0,0 @@
1
- /**
2
- * LinkConnectView — shown while the device-auth popup is open. Mirrors the
3
- * passphrase Stripe is showing in the popup so the user has an anti-phishing
4
- * check.
5
- *
6
- * Ported from packages/payos-react/playground/src/demos/IdentityViewDemo.tsx
7
- * (function LinkConnectView). Popup management is now in useLinkSession;
8
- * this view only renders.
9
- */
10
- interface LinkConnectViewProps {
11
- passphrase: string;
12
- popupBlocked?: boolean;
13
- onReopen: () => void;
14
- onCancel: () => void;
15
- }
16
- export declare function LinkConnectView({ passphrase, popupBlocked, onReopen, onCancel, }: LinkConnectViewProps): import("react/jsx-runtime").JSX.Element;
17
- export default LinkConnectView;
18
- //# sourceMappingURL=LinkConnectView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkConnectView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/LinkConnectView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,UAAU,oBAAoB;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,YAAoB,EACpB,QAAQ,EACR,QAAQ,GACT,EAAE,oBAAoB,2CA4FtB;AAED,eAAe,eAAe,CAAC"}
@@ -1,13 +0,0 @@
1
- /**
2
- * LinkDeniedView — terminal failure state for connect or spend approval.
3
- * Layout matches playground/src/demos/IdentityViewDemo.tsx LinkDeniedView.
4
- */
5
- export type LinkDeniedReason = 'denied' | 'expired' | 'cancelled';
6
- interface LinkDeniedViewProps {
7
- reason?: LinkDeniedReason | string;
8
- onRetry?: () => void;
9
- onDismiss?: () => void;
10
- }
11
- export declare function LinkDeniedView({ reason, onRetry, onDismiss, }: LinkDeniedViewProps): import("react/jsx-runtime").JSX.Element;
12
- export default LinkDeniedView;
13
- //# sourceMappingURL=LinkDeniedView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDeniedView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/LinkDeniedView.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC;AAElE,UAAU,mBAAmB;IAC3B,MAAM,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAwBD,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,OAAO,EACP,SAAS,GACV,EAAE,mBAAmB,2CAgDrB;AAED,eAAe,cAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkLoadingView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/LinkLoadingView.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,UAAU,oBAAoB;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,eAAe,CAAC,EAC9B,OAAqC,GACtC,EAAE,oBAAoB,2CAWtB;AAED,eAAe,eAAe,CAAC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * LinkSuccessView — terminal success after spend approval + credential
3
- * generation. PaymentSheet usually transitions to its own SUCCESS phase
4
- * shortly after; this view exists as a brief confirmation.
5
- */
6
- interface LinkSuccessViewProps {
7
- message?: string;
8
- }
9
- export declare function LinkSuccessView({ message, }: LinkSuccessViewProps): import("react/jsx-runtime").JSX.Element;
10
- export default LinkSuccessView;
11
- //# sourceMappingURL=LinkSuccessView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkSuccessView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/LinkSuccessView.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,UAAU,oBAAoB;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,eAAe,CAAC,EAC9B,OAAiC,GAClC,EAAE,oBAAoB,2CAoEtB;AAED,eAAe,eAAe,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ManageThirdPartyView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/ManageThirdPartyView.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,UAAU,yBAAyB;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,4DAA4D;IAC5D,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,kEAAkE;IAClE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,uDAAuD;IACvD,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,aAAoB,GACrB,EAAE,yBAAyB,2CAyE3B;AAED,eAAe,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MethodListView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/MethodListView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAShD;;;;;;;;;;;;;;;GAeG;AAEH,+DAA+D;AAC/D,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,+DAA+D;IAC/D,SAAS,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,oDAAoD;IACpD,QAAQ,EAAE,OAAO,CAAC;IAClB,6FAA6F;IAC7F,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7B,mEAAmE;IACnE,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,+DAA+D;IAC/D,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAClC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,UAAU,mBAAmB;IAC3B;;OAEG;IACH,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;;OAKG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;;OAGG;IACH,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAiBD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiTxD,CAAC"}
@@ -1,69 +0,0 @@
1
- import * as React from "react";
2
- /**
3
- * OTPView - High-Speed Verification Code Entry
4
- *
5
- * **Compact, High-Density Design:**
6
- * - No decorative icons (pure utility)
7
- * - Tight typography with precise spacing
8
- * - Sharp rounded-md inputs with black focus rings
9
- * - Clear vertical flow: Headline → Subtext → Inputs → Button → Resend (ALL inside card)
10
- *
11
- * State 2 of checkout flow:
12
- * - Shows formatted phone number with edit link
13
- * - 6-digit OTP grid (engineered/crisp look)
14
- * - Verify button with mt-8 spacing
15
- * - Resend moved INSIDE card (mt-4 below button) for compact layout
16
- */
17
- interface OTPViewProps {
18
- /**
19
- * Phone number (masked, e.g., "(555) 123-****")
20
- */
21
- phoneNumber: string;
22
- /**
23
- * OTP value
24
- */
25
- otp: string;
26
- /**
27
- * OTP change handler
28
- */
29
- onOtpChange: (otp: string) => void;
30
- /**
31
- * Submit handler (receives code directly for auto-submit)
32
- */
33
- onSubmit: (code?: string) => void;
34
- /**
35
- * Edit phone number handler
36
- */
37
- onEdit?: () => void;
38
- /**
39
- * Resend code handler
40
- */
41
- onResend?: () => void;
42
- /**
43
- * Whether submission is loading
44
- */
45
- isLoading?: boolean;
46
- /**
47
- * Whether resend is loading
48
- */
49
- isResending?: boolean;
50
- /**
51
- * Validation error message
52
- */
53
- error?: string;
54
- /**
55
- * Seconds remaining until resend is allowed (0 = can resend)
56
- */
57
- resendCooldown?: number;
58
- /**
59
- * Number of failed OTP attempts
60
- */
61
- retryCount?: number;
62
- /**
63
- * Maximum allowed retry attempts (default: 3)
64
- */
65
- maxRetries?: number;
66
- }
67
- export declare const OTPView: React.FC<OTPViewProps>;
68
- export {};
69
- //# sourceMappingURL=OTPView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OTPView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/OTPView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;;;;;;;;;;;;GAcG;AAEH,UAAU,YAAY;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA4H1C,CAAC"}
@@ -1,49 +0,0 @@
1
- import * as React from "react";
2
- import type { MultiPaymentIntent, CompletionResult, WalletUser } from "../../../types/session";
3
- export interface SuccessViewProps {
4
- /**
5
- * Payment intent - used to derive success type and mode
6
- * Preferred over individual props for full session integration
7
- */
8
- paymentIntent?: MultiPaymentIntent;
9
- /**
10
- * Completion result from payment
11
- */
12
- completionResult?: CompletionResult;
13
- /**
14
- * Wallet user for personalization
15
- */
16
- walletUser?: WalletUser;
17
- /**
18
- * Success message type
19
- * @deprecated Use paymentIntent instead - type is derived automatically
20
- */
21
- type?: 'payment' | 'card-added';
22
- /**
23
- * Card network (determines passkey flow)
24
- */
25
- cardNetwork?: 'visa' | 'mastercard';
26
- /**
27
- * Checkout mode - affects messaging and passkey upsell display
28
- * @deprecated Use paymentIntent.type instead - mode is derived automatically
29
- */
30
- mode?: 'standard' | 'agent';
31
- /**
32
- * Handler for creating passkey (Mastercard SDK or Visa step-up trigger)
33
- */
34
- onCreatePasskey?: () => void;
35
- /**
36
- * Handler for dismissing upsell
37
- */
38
- onDismiss: () => void;
39
- /**
40
- * Whether passkey creation is loading (Mastercard SDK call)
41
- */
42
- isLoading?: boolean;
43
- /**
44
- * Whether user already has passkey enrolled
45
- */
46
- passkeyEnrolled?: boolean;
47
- }
48
- export declare const SuccessView: React.FC<SuccessViewProps>;
49
- //# sourceMappingURL=SuccessView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SuccessView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/SuccessView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,kBAAkB,EAAqB,gBAAgB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAiClH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACpC;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkHlD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"VisaIframeView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/VisaIframeView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;;;;;;;;GASG;AAEH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkBxD,CAAC"}
@@ -1,23 +0,0 @@
1
- import * as React from "react";
2
- /**
3
- * VisaMethodView - Visa Passkey Step-Up Method Selection
4
- *
5
- * Redesigned for trust & clarity:
6
- * - Visa logo header (centered)
7
- * - Conversational copy: "Let's make sure it's you"
8
- * - Radio button selection (not clickable cards)
9
- * - Confirm button to proceed
10
- */
11
- export interface VisaVerificationMethod {
12
- id: string;
13
- type: 'sms' | 'email';
14
- maskedValue: string;
15
- }
16
- export interface VisaMethodViewProps {
17
- methods: VisaVerificationMethod[];
18
- onSelectMethod: (methodId: string) => void;
19
- onBack?: () => void;
20
- isLoading?: boolean;
21
- }
22
- export declare const VisaMethodView: React.FC<VisaMethodViewProps>;
23
- //# sourceMappingURL=VisaMethodView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VisaMethodView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/VisaMethodView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;GAQG;AAGH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgIxD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"VisaOtpView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/VisaOtpView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+HlD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"WelcomeBackView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/WelcomeBackView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;GAWG;AAEH,UAAU,oBAAoB;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsE1D,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { CardBrand } from '../../types/payment';
3
- interface CardBrandIconProps {
4
- brand: CardBrand;
5
- size?: 'sm' | 'md';
6
- className?: string;
7
- }
8
- export declare const CardBrandIcon: React.FC<CardBrandIconProps>;
9
- export {};
10
- //# sourceMappingURL=CardBrandIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardBrandIcon.d.ts","sourceRoot":"","sources":["../../../src/components/ui/CardBrandIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,UAAU,kBAAkB;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6DtD,CAAC"}
@@ -1,25 +0,0 @@
1
- import * as React from "react";
2
- /**
3
- * ConfirmDialog - Reusable confirmation modal
4
- *
5
- * Features:
6
- * - Semi-transparent backdrop overlay
7
- * - Centered modal card
8
- * - Title, message, Cancel and Confirm buttons
9
- * - variant='danger' for red confirm button (delete actions)
10
- * - Loading state support
11
- */
12
- interface ConfirmDialogProps {
13
- isOpen: boolean;
14
- title: string;
15
- message: string;
16
- confirmText?: string;
17
- cancelText?: string;
18
- onConfirm: () => void;
19
- onCancel: () => void;
20
- isLoading?: boolean;
21
- variant?: "danger" | "default";
22
- }
23
- export declare const ConfirmDialog: React.FC<ConfirmDialogProps>;
24
- export {};
25
- //# sourceMappingURL=ConfirmDialog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;GASG;AAEH,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyEtD,CAAC"}
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- export interface DigitalCardProps {
3
- /** Card artwork URL or base64 data URL */
4
- cardArtUrl?: string;
5
- /** Card network */
6
- network: 'visa' | 'mastercard';
7
- /** Last 4 digits of card number */
8
- last4: string;
9
- /** Additional CSS classes */
10
- className?: string;
11
- }
12
- export declare const DigitalCard: React.FC<DigitalCardProps>;
13
- //# sourceMappingURL=DigitalCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DigitalCard.d.ts","sourceRoot":"","sources":["../../../src/components/ui/DigitalCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,gBAAgB;IAC/B,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB;IACnB,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC;IAC/B,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAeD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoElD,CAAC"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- interface InfoTooltipProps {
3
- content: string;
4
- className?: string;
5
- }
6
- export declare const InfoTooltip: React.FC<InfoTooltipProps>;
7
- export {};
8
- //# sourceMappingURL=InfoTooltip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InfoTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/InfoTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2BlD,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface PinInputProps {
3
- length: number;
4
- value: string;
5
- onChange: (value: string) => void;
6
- onComplete?: () => void;
7
- error?: boolean;
8
- autoFocus?: boolean;
9
- }
10
- export declare const PinInput: React.FC<PinInputProps>;
11
- export {};
12
- //# sourceMappingURL=PinInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../../src/components/ui/PinInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAmF5C,CAAC"}
@@ -1,14 +0,0 @@
1
- import * as React from "react";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const buttonVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
5
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
6
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
7
- export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
- asChild?: boolean;
9
- isLoading?: boolean;
10
- loadingText?: string;
11
- }
12
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
13
- export { Button, buttonVariants };
14
- //# sourceMappingURL=button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,cAAc;;;mFA4BnB,CAAC;AAEF,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,MAAM,uFAuBX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const cardVariants: (props?: ({
4
- variant?: "flat" | "default" | "transparent" | null | undefined;
5
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
- export interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
7
- }
8
- declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
9
- declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
10
- declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
11
- declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
12
- declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
13
- declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
14
- export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
15
- //# sourceMappingURL=card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,YAAY;;mFAcjB,CAAC;AAEF,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAExC,QAAA,MAAM,IAAI,kFAQT,CAAC;AAGF,QAAA,MAAM,UAAU,6GASd,CAAC;AAGH,QAAA,MAAM,SAAS,uHAYb,CAAC;AAGH,QAAA,MAAM,eAAe,yHASnB,CAAC;AAGH,QAAA,MAAM,WAAW,6GAKf,CAAC;AAGH,QAAA,MAAM,UAAU,6GASd,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
- }
4
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
5
- export { Input };
6
- //# sourceMappingURL=input.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;CAAG;AAExD,QAAA,MAAM,KAAK,qFAeV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- import * as LabelPrimitive from "@radix-ui/react-label";
3
- import { type VariantProps } from "class-variance-authority";
4
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
- export { Label };
6
- //# sourceMappingURL=label.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQlE,QAAA,MAAM,KAAK,iQAUT,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- import * as SeparatorPrimitive from "@radix-ui/react-separator";
3
- declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- export { Separator };
5
- //# sourceMappingURL=separator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAIhE,QAAA,MAAM,SAAS,6JAoBd,CAAC;AAGF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,8 +0,0 @@
1
- export * from './useCheckoutFlow';
2
- export * from './useDrawerState';
3
- export * from './useVisualViewport';
4
- export * from './useBodyScrollLock';
5
- export * from './useCardElement';
6
- export * from './useSession';
7
- export * from './usePasskeySDK';
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useBiometricType.d.ts","sourceRoot":"","sources":["../../src/hooks/useBiometricType.ts"],"names":[],"mappings":"AACA,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/E,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,CAAC;AAE9E,MAAM,WAAW,aAAa;IAC5B,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,8BAA8B;IAC9B,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CA2BhD"}
@@ -1,32 +0,0 @@
1
- /**
2
- * useBodyScrollLock - Prevent body scroll and rubber banding on mobile
3
- *
4
- * This hook prevents scroll bleed to the background when a modal/drawer is open.
5
- * It uses multiple techniques to handle iOS Safari quirks:
6
- *
7
- * 1. Sets `overflow: hidden` to prevent scroll
8
- * 2. Sets `position: fixed` to prevent iOS elastic scrolling (rubber banding)
9
- * 3. Preserves scroll position by setting `top: -scrollY`
10
- * 4. Optionally sets `touch-action: none` for additional touch prevention
11
- *
12
- * **iOS Safari Issues Addressed:**
13
- * - Scroll bleed: Background scrolling while drawer is open
14
- * - Rubber banding: Elastic/bouncy overscroll effect
15
- * - Layout shift: Maintains width to prevent content jump
16
- *
17
- * @param isLocked - Whether scroll should be locked
18
- * @param options - Configuration options
19
- * @param options.preventTouch - Whether to prevent all touch actions (default: false)
20
- *
21
- * @example
22
- * ```tsx
23
- * function Drawer({ open }) {
24
- * useBodyScrollLock(open);
25
- * // Body scroll is now locked when drawer is open
26
- * }
27
- * ```
28
- */
29
- export declare function useBodyScrollLock(isLocked: boolean, options?: {
30
- preventTouch?: boolean;
31
- }): void;
32
- //# sourceMappingURL=useBodyScrollLock.d.ts.map