@oxy.so/services 4.0.6 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/assets/assets/signIn/slide-1.jpg +0 -0
  3. package/lib/commonjs/assets/assets/signIn/slide-1.jpg.d.ts +3 -0
  4. package/lib/commonjs/assets/assets/signIn/slide-2.jpg +0 -0
  5. package/lib/commonjs/assets/assets/signIn/slide-2.jpg.d.ts +3 -0
  6. package/lib/commonjs/assets/assets/signIn/slide-3.jpg +0 -0
  7. package/lib/commonjs/assets/assets/signIn/slide-3.jpg.d.ts +3 -0
  8. package/lib/commonjs/assets/assets/signIn/slide-4.jpg +0 -0
  9. package/lib/commonjs/assets/assets/signIn/slide-4.jpg.d.ts +3 -0
  10. package/lib/commonjs/assets/signIn/slide-1.jpg +0 -0
  11. package/lib/commonjs/assets/signIn/slide-2.jpg +0 -0
  12. package/lib/commonjs/assets/signIn/slide-3.jpg +0 -0
  13. package/lib/commonjs/assets/signIn/slide-4.jpg +0 -0
  14. package/lib/commonjs/index.js +45 -8
  15. package/lib/commonjs/index.js.map +1 -1
  16. package/lib/commonjs/ui/components/FollowButton.js +26 -1
  17. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  18. package/lib/commonjs/ui/components/FollowTargetButton.js +6 -1
  19. package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
  20. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +11 -58
  21. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
  22. package/lib/commonjs/ui/components/OxyAuthChooser.js +36 -44
  23. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
  24. package/lib/commonjs/ui/components/OxyProvider.js +0 -2
  25. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  26. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
  27. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +29 -8
  28. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  29. package/lib/commonjs/ui/components/authChooser/primitives.js +7 -52
  30. package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -1
  31. package/lib/commonjs/ui/components/authChooser/signInFailureMessage.js +1 -7
  32. package/lib/commonjs/ui/components/authChooser/signInFailureMessage.js.map +1 -1
  33. package/lib/commonjs/ui/components/authChooser/styles.js +0 -31
  34. package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -1
  35. package/lib/commonjs/ui/components/authChooser/types.js +2 -2
  36. package/lib/commonjs/ui/components/followButtonAccessibility.js +72 -0
  37. package/lib/commonjs/ui/components/followButtonAccessibility.js.map +1 -0
  38. package/lib/commonjs/ui/components/oauthNavigation.js +1 -1
  39. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +161 -0
  40. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -0
  41. package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +111 -0
  42. package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -0
  43. package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js +160 -0
  44. package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -0
  45. package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +371 -0
  46. package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -0
  47. package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +78 -0
  48. package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -0
  49. package/lib/commonjs/ui/components/signIn/artwork.js +21 -0
  50. package/lib/commonjs/ui/components/signIn/artwork.js.map +1 -0
  51. package/lib/commonjs/ui/components/signIn/passkeyError.js +46 -0
  52. package/lib/commonjs/ui/components/signIn/passkeyError.js.map +1 -0
  53. package/lib/commonjs/ui/components/signIn/signInMethods.js +46 -0
  54. package/lib/commonjs/ui/components/signIn/signInMethods.js.map +1 -0
  55. package/lib/commonjs/ui/context/OxyContext.js +16 -16
  56. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  57. package/lib/commonjs/ui/context/commitSessionFlow.js +0 -43
  58. package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -1
  59. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js +15 -1
  60. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js.map +1 -1
  61. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +1 -3
  62. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
  63. package/lib/commonjs/ui/oauth/browserAuthTransport.js +11 -4
  64. package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -1
  65. package/lib/commonjs/ui/oauth/oauthHandshake.js +3 -0
  66. package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -1
  67. package/lib/commonjs/ui/oauth/oauthPopup.js +2 -3
  68. package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -1
  69. package/lib/commonjs/ui/screens/ManageAccountScreen.js +2 -3
  70. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  71. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +1 -1
  72. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  73. package/lib/commonjs/ui/session/authStore.js +0 -21
  74. package/lib/commonjs/ui/session/authStore.js.map +1 -1
  75. package/lib/commonjs/ui/utils/accountDeletionHandoff.js +1 -1
  76. package/lib/commonjs/ui/utils/accountDeletionHandoff.js.map +1 -1
  77. package/lib/module/assets/assets/signIn/slide-1.jpg +0 -0
  78. package/lib/module/assets/assets/signIn/slide-1.jpg.d.ts +3 -0
  79. package/lib/module/assets/assets/signIn/slide-2.jpg +0 -0
  80. package/lib/module/assets/assets/signIn/slide-2.jpg.d.ts +3 -0
  81. package/lib/module/assets/assets/signIn/slide-3.jpg +0 -0
  82. package/lib/module/assets/assets/signIn/slide-3.jpg.d.ts +3 -0
  83. package/lib/module/assets/assets/signIn/slide-4.jpg +0 -0
  84. package/lib/module/assets/assets/signIn/slide-4.jpg.d.ts +3 -0
  85. package/lib/module/assets/signIn/slide-1.jpg +0 -0
  86. package/lib/module/assets/signIn/slide-2.jpg +0 -0
  87. package/lib/module/assets/signIn/slide-3.jpg +0 -0
  88. package/lib/module/assets/signIn/slide-4.jpg +0 -0
  89. package/lib/module/index.js +7 -6
  90. package/lib/module/index.js.map +1 -1
  91. package/lib/module/ui/components/FollowButton.js +26 -1
  92. package/lib/module/ui/components/FollowButton.js.map +1 -1
  93. package/lib/module/ui/components/FollowTargetButton.js +6 -1
  94. package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
  95. package/lib/module/ui/components/OxyAccountDialogScreen.js +14 -59
  96. package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
  97. package/lib/module/ui/components/OxyAuthChooser.js +37 -45
  98. package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
  99. package/lib/module/ui/components/OxyProvider.js +0 -2
  100. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  101. package/lib/module/ui/components/ProfileButton.js.map +1 -1
  102. package/lib/module/ui/components/authChooser/AccountsMenuView.js +21 -2
  103. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  104. package/lib/module/ui/components/authChooser/primitives.js +1 -44
  105. package/lib/module/ui/components/authChooser/primitives.js.map +1 -1
  106. package/lib/module/ui/components/authChooser/signInFailureMessage.js +1 -7
  107. package/lib/module/ui/components/authChooser/signInFailureMessage.js.map +1 -1
  108. package/lib/module/ui/components/authChooser/styles.js +0 -31
  109. package/lib/module/ui/components/authChooser/styles.js.map +1 -1
  110. package/lib/module/ui/components/authChooser/types.js +2 -2
  111. package/lib/module/ui/components/followButtonAccessibility.js +66 -0
  112. package/lib/module/ui/components/followButtonAccessibility.js.map +1 -0
  113. package/lib/module/ui/components/oauthNavigation.js +1 -1
  114. package/lib/module/ui/components/signIn/InlineCommonsQr.js +157 -0
  115. package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -0
  116. package/lib/module/ui/components/signIn/OxyAccountPicker.js +106 -0
  117. package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -0
  118. package/lib/module/ui/components/signIn/OxyAuthScreen.js +151 -0
  119. package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -0
  120. package/lib/module/ui/components/signIn/OxySignInPanel.js +366 -0
  121. package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -0
  122. package/lib/module/ui/components/signIn/OxySignUpPanel.js +75 -0
  123. package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -0
  124. package/lib/module/ui/components/signIn/artwork.js +16 -0
  125. package/lib/module/ui/components/signIn/artwork.js.map +1 -0
  126. package/lib/module/ui/components/signIn/passkeyError.js +40 -0
  127. package/lib/module/ui/components/signIn/passkeyError.js.map +1 -0
  128. package/lib/module/ui/components/signIn/signInMethods.js +42 -0
  129. package/lib/module/ui/components/signIn/signInMethods.js.map +1 -0
  130. package/lib/module/ui/context/OxyContext.js +17 -17
  131. package/lib/module/ui/context/OxyContext.js.map +1 -1
  132. package/lib/module/ui/context/commitSessionFlow.js +0 -42
  133. package/lib/module/ui/context/commitSessionFlow.js.map +1 -1
  134. package/lib/module/ui/hooks/accountDialogSnapshot.js +14 -1
  135. package/lib/module/ui/hooks/accountDialogSnapshot.js.map +1 -1
  136. package/lib/module/ui/hooks/useDeviceSwitcher.js +3 -5
  137. package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
  138. package/lib/module/ui/oauth/browserAuthTransport.js +11 -4
  139. package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -1
  140. package/lib/module/ui/oauth/oauthHandshake.js +3 -0
  141. package/lib/module/ui/oauth/oauthHandshake.js.map +1 -1
  142. package/lib/module/ui/oauth/oauthPopup.js +2 -3
  143. package/lib/module/ui/oauth/oauthPopup.js.map +1 -1
  144. package/lib/module/ui/screens/ManageAccountScreen.js +3 -4
  145. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  146. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +1 -1
  147. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  148. package/lib/module/ui/session/authStore.js +1 -22
  149. package/lib/module/ui/session/authStore.js.map +1 -1
  150. package/lib/module/ui/utils/accountDeletionHandoff.js +2 -2
  151. package/lib/module/ui/utils/accountDeletionHandoff.js.map +1 -1
  152. package/lib/typescript/assets/signIn/slide-1.jpg.d.ts +3 -0
  153. package/lib/typescript/assets/signIn/slide-2.jpg.d.ts +3 -0
  154. package/lib/typescript/assets/signIn/slide-3.jpg.d.ts +3 -0
  155. package/lib/typescript/assets/signIn/slide-4.jpg.d.ts +3 -0
  156. package/lib/typescript/commonjs/index.d.ts +8 -2
  157. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  158. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +6 -0
  159. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
  161. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
  162. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +5 -12
  163. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  165. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +1 -1
  166. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
  167. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  168. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +0 -19
  169. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -1
  170. package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts +1 -5
  171. package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
  172. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +0 -31
  173. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +3 -3
  175. package/lib/typescript/commonjs/ui/components/followButtonAccessibility.d.ts +48 -0
  176. package/lib/typescript/commonjs/ui/components/followButtonAccessibility.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +1 -1
  178. package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts +20 -0
  179. package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -0
  180. package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts +34 -0
  181. package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -0
  182. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts +43 -0
  183. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -0
  184. package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts +43 -0
  185. package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts.map +1 -0
  186. package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts +17 -0
  187. package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -0
  188. package/lib/typescript/commonjs/ui/components/signIn/artwork.d.ts +8 -0
  189. package/lib/typescript/commonjs/ui/components/signIn/artwork.d.ts.map +1 -0
  190. package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts +16 -0
  191. package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts.map +1 -0
  192. package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts +39 -0
  193. package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts.map +1 -0
  194. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +0 -40
  196. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -1
  197. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +8 -9
  198. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
  199. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +7 -1
  200. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
  201. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
  202. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +9 -0
  203. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -1
  204. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +3 -0
  205. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -1
  206. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +2 -3
  207. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -1
  208. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/ui/session/authStore.d.ts +0 -30
  210. package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -1
  211. package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -26
  212. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
  213. package/lib/typescript/module/index.d.ts +8 -2
  214. package/lib/typescript/module/index.d.ts.map +1 -1
  215. package/lib/typescript/module/ui/components/FollowButton.d.ts +6 -0
  216. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  217. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
  218. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
  219. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +5 -12
  220. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
  221. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  222. package/lib/typescript/module/ui/components/ProfileButton.d.ts +1 -1
  223. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
  224. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  225. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +0 -19
  226. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -1
  227. package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts +1 -5
  228. package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
  229. package/lib/typescript/module/ui/components/authChooser/styles.d.ts +0 -31
  230. package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
  231. package/lib/typescript/module/ui/components/authChooser/types.d.ts +3 -3
  232. package/lib/typescript/module/ui/components/followButtonAccessibility.d.ts +48 -0
  233. package/lib/typescript/module/ui/components/followButtonAccessibility.d.ts.map +1 -0
  234. package/lib/typescript/module/ui/components/oauthNavigation.d.ts +1 -1
  235. package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts +20 -0
  236. package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -0
  237. package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts +34 -0
  238. package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -0
  239. package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts +43 -0
  240. package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -0
  241. package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts +43 -0
  242. package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts.map +1 -0
  243. package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts +17 -0
  244. package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -0
  245. package/lib/typescript/module/ui/components/signIn/artwork.d.ts +8 -0
  246. package/lib/typescript/module/ui/components/signIn/artwork.d.ts.map +1 -0
  247. package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts +16 -0
  248. package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts.map +1 -0
  249. package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts +39 -0
  250. package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts.map +1 -0
  251. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  252. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +0 -40
  253. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -1
  254. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +8 -9
  255. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
  256. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +7 -1
  257. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
  258. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
  259. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +9 -0
  260. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -1
  261. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +3 -0
  262. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -1
  263. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +2 -3
  264. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -1
  265. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  266. package/lib/typescript/module/ui/session/authStore.d.ts +0 -30
  267. package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -1
  268. package/lib/typescript/module/ui/types/navigation.d.ts +0 -26
  269. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  270. package/package.json +6 -9
  271. package/src/assets/signIn/slide-1.jpg +0 -0
  272. package/src/assets/signIn/slide-1.jpg.d.ts +3 -0
  273. package/src/assets/signIn/slide-2.jpg +0 -0
  274. package/src/assets/signIn/slide-2.jpg.d.ts +3 -0
  275. package/src/assets/signIn/slide-3.jpg +0 -0
  276. package/src/assets/signIn/slide-3.jpg.d.ts +3 -0
  277. package/src/assets/signIn/slide-4.jpg +0 -0
  278. package/src/assets/signIn/slide-4.jpg.d.ts +3 -0
  279. package/src/index.ts +16 -7
  280. package/src/ui/components/FollowButton.tsx +25 -0
  281. package/src/ui/components/FollowTargetButton.tsx +4 -0
  282. package/src/ui/components/OxyAccountDialogScreen.tsx +11 -72
  283. package/src/ui/components/OxyAuthChooser.tsx +37 -53
  284. package/src/ui/components/OxyProvider.tsx +0 -2
  285. package/src/ui/components/ProfileButton.tsx +1 -4
  286. package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +191 -0
  287. package/src/ui/components/authChooser/AccountsMenuView.tsx +28 -1
  288. package/src/ui/components/authChooser/primitives.tsx +1 -39
  289. package/src/ui/components/authChooser/signInFailureMessage.ts +1 -7
  290. package/src/ui/components/authChooser/styles.ts +0 -31
  291. package/src/ui/components/authChooser/types.ts +3 -3
  292. package/src/ui/components/followButtonAccessibility.ts +83 -0
  293. package/src/ui/components/oauthNavigation.ts +1 -1
  294. package/src/ui/components/signIn/InlineCommonsQr.tsx +135 -0
  295. package/src/ui/components/signIn/OxyAccountPicker.tsx +129 -0
  296. package/src/ui/components/signIn/OxyAuthScreen.tsx +123 -0
  297. package/src/ui/components/signIn/OxySignInPanel.tsx +392 -0
  298. package/src/ui/components/signIn/OxySignUpPanel.tsx +86 -0
  299. package/src/ui/components/signIn/artwork.ts +13 -0
  300. package/src/ui/components/signIn/passkeyError.ts +44 -0
  301. package/src/ui/components/signIn/signInMethods.ts +51 -0
  302. package/src/ui/context/OxyContext.tsx +21 -18
  303. package/src/ui/context/__tests__/commitSessionFlow.test.ts +0 -89
  304. package/src/ui/context/commitSessionFlow.ts +0 -61
  305. package/src/ui/context/oxyContextTypes.ts +9 -9
  306. package/src/ui/hooks/accountDialogSnapshot.ts +20 -1
  307. package/src/ui/hooks/useDeviceSwitcher.ts +3 -11
  308. package/src/ui/oauth/__tests__/browserAuthTransport.test.ts +21 -0
  309. package/src/ui/oauth/browserAuthTransport.ts +14 -4
  310. package/src/ui/oauth/oauthHandshake.ts +4 -1
  311. package/src/ui/oauth/oauthPopup.ts +2 -3
  312. package/src/ui/screens/ManageAccountScreen.tsx +3 -4
  313. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
  314. package/src/ui/session/authStore.ts +0 -37
  315. package/src/ui/types/navigation.ts +0 -26
  316. package/src/ui/utils/accountDeletionHandoff.ts +2 -2
  317. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +0 -132
  318. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +0 -1
  319. package/lib/commonjs/ui/components/authChooser/SignUpView.js +0 -77
  320. package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +0 -1
  321. package/lib/commonjs/ui/components/passkeyHubPopup.js +0 -33
  322. package/lib/commonjs/ui/components/passkeyHubPopup.js.map +0 -1
  323. package/lib/commonjs/ui/oauth/legacyRedirectLanes.js +0 -48
  324. package/lib/commonjs/ui/oauth/legacyRedirectLanes.js.map +0 -1
  325. package/lib/module/ui/components/authChooser/SignInEntryView.js +0 -127
  326. package/lib/module/ui/components/authChooser/SignInEntryView.js.map +0 -1
  327. package/lib/module/ui/components/authChooser/SignUpView.js +0 -73
  328. package/lib/module/ui/components/authChooser/SignUpView.js.map +0 -1
  329. package/lib/module/ui/components/passkeyHubPopup.js +0 -29
  330. package/lib/module/ui/components/passkeyHubPopup.js.map +0 -1
  331. package/lib/module/ui/oauth/legacyRedirectLanes.js +0 -44
  332. package/lib/module/ui/oauth/legacyRedirectLanes.js.map +0 -1
  333. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +0 -39
  334. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
  335. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +0 -31
  336. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +0 -1
  337. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +0 -23
  338. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +0 -1
  339. package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts +0 -40
  340. package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts.map +0 -1
  341. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +0 -39
  342. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
  343. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +0 -31
  344. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +0 -1
  345. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +0 -23
  346. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +0 -1
  347. package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts +0 -40
  348. package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts.map +0 -1
  349. package/src/ui/components/authChooser/SignInEntryView.tsx +0 -157
  350. package/src/ui/components/authChooser/SignUpView.tsx +0 -76
  351. package/src/ui/components/passkeyHubPopup.ts +0 -28
  352. package/src/ui/oauth/legacyRedirectLanes.ts +0 -43
@@ -1 +1 @@
1
- {"version":3,"file":"FollowTargetButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/FollowTargetButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAmBzD;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG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EAAE,MAAM,CAAC;CACzB,GAAG,cAAc,EAAE,CAmCnB;AAED,MAAM,WAAW,uBAAuB;IACtC,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,qEAAqE;IACrE,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IACrC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,kBAAkB,+DAkL7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OxyAccountDialogScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyAccountDialogScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAe3D;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6DrD,CAAC;AAyDF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"OxyAccountDialogScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyAccountDialogScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAa3D;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0CrD,CAAC;AAkBF,eAAe,sBAAsB,CAAC"}
@@ -15,17 +15,16 @@
15
15
  * responsibility each:
16
16
  *
17
17
  * - `accounts` → `AccountsMenuView` — the signed-in Oxy account menu.
18
- * - `add` / `signin` → `SignInEntryView` — ONE primary action, "Continue with
19
- * Oxy" (issue #691, Phase 5). On WEB this view is transient: the flow
20
- * auto-starts the instant the view is reached, because the request surface
21
- * (a QR on an unknown desktop, "Check Commons on your phone" where Oxy could
22
- * deliver) IS the primary route there, never something behind a second tap.
18
+ * - `add` / `signin` → `OxySignInPanel` — THE sign-in screen, the one
19
+ * auth.oxy.so renders too: the device's accounts, then "Continue with
20
+ * Oxy" (on the web, auth.oxy.so's window over the app).
23
21
  * - `qr` → `SignInRequestView` — the ACTIVE REQUEST: the controller-bound
24
22
  * wiring over the shared, presentational `OxySignInRequestSurface` (the same
25
23
  * component the auth.oxy.so IdP mounts from its OAuth-bound request). It maps
26
24
  * `snapshot.signIn` onto that surface's props; alternatives stay behind
27
25
  * "Having trouble?" until the chosen route reports `routeFailed`.
28
- * - `signup` → `SignUpView` — account creation, Commons-first.
26
+ * - `signup` → `OxySignUpPanel` — account creation: auth.oxy.so's window on
27
+ * the web, Commons on native.
29
28
  *
30
29
  * Per-account color re-theming uses Bloom's `APP_COLOR_PRESETS` + `BloomColorScope`
31
30
  * (same visual language auth.oxy.so uses). Base theming is `useTheme()` + a
@@ -36,12 +35,6 @@ import type React from 'react';
36
35
  export interface OxyAuthChooserProps {
37
36
  /** Called after a completed switch, sign-in, or sign-up. */
38
37
  onComplete?: () => void;
39
- /**
40
- * @deprecated No effect. The web sign-in entry no longer auto-starts a
41
- * device-flow request: its primary action opens the identity origin
42
- * (`id.oxy.so`) in a popup, which a browser only allows from a user gesture.
43
- */
44
- autoStartSignIn?: boolean;
45
38
  }
46
39
  /**
47
40
  * The account switcher + sign-in/sign-up chooser. Mounted by `OxyAccountDialogScreen`
@@ -1 +1 @@
1
- {"version":3,"file":"OxyAuthChooser.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyAuthChooser.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsD/B,MAAM,WAAW,mBAAmB;IAClC,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;GAIG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgYjD,CAAC;AA8BF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"OxyAuthChooser.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyAuthChooser.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoD/B,MAAM,WAAW,mBAAmB;IAClC,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED;;;;GAIG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAyXjD,CAAC;AA8BF,eAAe,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OxyProvider.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAI7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAuB5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAiMrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"OxyProvider.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/OxyProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAI7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAuB5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA+LrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import { type StyleProp, type ViewStyle } from 'react-native';
2
+ import type { StyleProp, ViewStyle } from 'react-native';
3
3
  import type { AccountDialogMenuItem } from '../navigation/accountDialogManager';
4
4
  export interface ProfileButtonProps {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ProfileButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/ProfileButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACH,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AActB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAEhF,MAAM,WAAW,kBAAkB;IAC/B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,sEAAsE;IACtE,YAAY,CAA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ACnB,gDAAgD;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,sEAAsE;AACtE,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAuF/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccountsMenuView.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/authChooser/AccountsMenuView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,EAEL,KAAK,qBAAqB,EAE1B,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAItB,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,KAAK,EACV,KAAK,SAAS,EACf,MAAM,SAAS,CAAC;AA6DjB,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,qBAAqB,CAAC;IAChC,mEAAmE;IACnE,UAAU,EAAE,oBAAoB,EAAE,CAAC;IACnC,+EAA+E;IAC/E,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,CAAC,EAAE,SAAS,CAAC;IACb,QAAQ,EAAE,sBAAsB,CAAC;IACjC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACpC,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA8XrD,CAAC;AA4NF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"AccountsMenuView.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/authChooser/AccountsMenuView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,EAEL,KAAK,qBAAqB,EAE1B,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAGtB,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,KAAK,EACV,KAAK,SAAS,EACf,MAAM,SAAS,CAAC;AAyFjB,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,qBAAqB,CAAC;IAChC,mEAAmE;IACnE,UAAU,EAAE,oBAAoB,EAAE,CAAC;IACnC,+EAA+E;IAC/E,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,CAAC,EAAE,SAAS,CAAC;IACb,QAAQ,EAAE,sBAAsB,CAAC;IACjC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACpC,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA8XrD,CAAC;AA4NF,eAAe,gBAAgB,CAAC"}
@@ -4,21 +4,8 @@
4
4
  * take props and render.
5
5
  */
6
6
  import type React from 'react';
7
- import { Pressable } from 'react-native-css/components';
8
7
  import type { SwitcherContextRow } from '@oxy.so/core';
9
8
  import { type Theme } from './types';
10
- type HoverPressableProps = Omit<React.ComponentProps<typeof Pressable>, 'className'> & {
11
- baseClassName: string;
12
- hoverClassName: string;
13
- };
14
- /**
15
- * A `Pressable` that appends a hover-tint NativeWind token while pointer-hovered.
16
- * The Metro web pipeline here does NOT emit NativeWind `hover:` variants, so hover
17
- * is driven by RN's cross-platform `onHoverIn`/`onHoverOut` (they fire only on web
18
- * via react-native-web; a no-op on native) toggling a plain background token —
19
- * the tint stays a NativeWind class, only the trigger is JS.
20
- */
21
- export declare const HoverPressable: React.FC<HoverPressableProps>;
22
9
  /**
23
10
  * A SUBORDINATE action: a small centred text link, never a button.
24
11
  *
@@ -34,11 +21,6 @@ export declare const SubtleLink: React.FC<{
34
21
  disabled?: boolean;
35
22
  testID?: string;
36
23
  }>;
37
- /** A labelled hairline separating two blocks ("or"). */
38
- export declare const Dividerish: React.FC<{
39
- theme: Theme;
40
- label: string;
41
- }>;
42
24
  /**
43
25
  * A `principal acting as account` row on the sign-in entry — "continue as one of
44
26
  * these" rather than a choice of authentication METHOD, which is why it stays
@@ -71,5 +53,4 @@ export declare const AccountRow: React.FC<{
71
53
  disabled: boolean;
72
54
  onPress: () => void;
73
55
  }>;
74
- export {};
75
56
  //# sourceMappingURL=primitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/authChooser/primitives.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAQ,MAAM,6BAA6B,CAAC;AAK9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,OAAO,EAA8B,KAAK,KAAK,EAAE,MAAM,SAAS,CAAC;AAKjE,KAAK,mBAAmB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EAAE,WAAW,CAAC,GAAG;IACrF,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAcxD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAA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AC5E,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,+EAA+E;IAC/E,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAsDA,CAAC"}
@@ -7,10 +7,6 @@
7
7
  */
8
8
  import type { SignInFailureReason } from '@oxy.so/core';
9
9
  import type { Translate } from './types';
10
- /**
11
- * The toast for `failure`, or `null` when there is nothing to report: a
12
- * `'cancelled'` attempt is the user's own choice (they closed the window), and
13
- * the surface already offers "Try again" without scolding them for it.
14
- */
10
+ /** The toast for `failure`, or `null` when there is nothing to report. */
15
11
  export declare function signInFailureMessage(failure: SignInFailureReason | null, t: Translate): string | null;
16
12
  //# sourceMappingURL=signInFailureMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"signInFailureMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/authChooser/signInFailureMessage.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,mBAAmB,GAAG,IAAI,EACnC,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,IAAI,CAmBf"}
1
+ {"version":3,"file":"signInFailureMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/authChooser/signInFailureMessage.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,0EAA0E;AAC1E,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,mBAAmB,GAAG,IAAI,EACnC,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,IAAI,CAiBf"}
@@ -135,42 +135,11 @@ export declare const authChooserStyles: {
135
135
  fontSize: number;
136
136
  fontWeight: "600";
137
137
  };
138
- signInBlock: {
139
- width: "100%";
140
- };
141
138
  primaryButton: {
142
139
  width: "100%";
143
140
  borderRadius: number;
144
141
  marginTop: number;
145
142
  };
146
- secondaryButton: {
147
- width: "100%";
148
- borderRadius: number;
149
- marginTop: number;
150
- };
151
- usernameInput: {
152
- width: "100%";
153
- borderWidth: number;
154
- borderRadius: number;
155
- paddingVertical: number;
156
- paddingHorizontal: number;
157
- fontSize: number;
158
- marginTop: number;
159
- };
160
- dividerRow: {
161
- flexDirection: "row";
162
- alignItems: "center";
163
- width: "100%";
164
- marginVertical: number;
165
- };
166
- dividerLine: {
167
- flex: number;
168
- height: number;
169
- };
170
- dividerText: {
171
- marginHorizontal: number;
172
- fontSize: number;
173
- };
174
143
  centeredBlock: {
175
144
  alignItems: "center";
176
145
  justifyContent: "center";
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/authChooser/styles.ts"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC5B;;;;;OAKG;;;;;;;IAOH;;;;;;OAMG;;;;;;;IAOH;;;;;OAKG;;;;;;;;;;IAUH;;;;OAIG;;;;IAIH,0EAA0E;;;;;;;;;;IAU1E;qFACiF;;;;;;;;;;IAUjF,8EAA8E;;;;;IAK9E;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyEH;;;;OAIG;;;;;IAKH;;;;;;OAMG;;;;;IAKH,6EAA6E;;;;CAI7E,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/authChooser/styles.ts"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC5B;;;;;OAKG;;;;;;;IAOH;;;;;;OAMG;;;;;;;IAOH;;;;;OAKG;;;;;;;;;;IAUH;;;;OAIG;;;;IAIH,0EAA0E;;;;;;;;;;IAU1E;qFACiF;;;;;;;;;;IAUjF,8EAA8E;;;;;IAK9E;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0CH;;;;OAIG;;;;;IAKH;;;;;;OAMG;;;;;IAKH,6EAA6E;;;;CAI7E,CAAC"}
@@ -89,7 +89,7 @@ export interface AccountsMenuActions {
89
89
  onTerms: () => void;
90
90
  onSignOut: () => void;
91
91
  /**
92
- * Open the person's identity at the identity origin (recovery phrase,
92
+ * Open the person's identity at auth.oxy.so/identity (recovery phrase,
93
93
  * recovery, account deletion). Web only — `undefined` hides the row.
94
94
  */
95
95
  onOpenIdentity?: () => void;
@@ -103,8 +103,8 @@ export interface AccountsMenuActions {
103
103
  /**
104
104
  * Where a passkey sign-in or sign-up can run from the current surface.
105
105
  *
106
- * `'hub'` = web: it runs at the identity origin (`id.oxy.so`) in a popup, on
107
- * every web origin, first-party or not.
106
+ * `'hub'` = web: it runs in auth.oxy.so's window over the app
107
+ * (`continueOnAuth`), on every web origin.
108
108
  * `'none'` = native, where Commons owns identity.
109
109
  */
110
110
  export type PasskeyMode = 'hub' | 'none';
@@ -0,0 +1,48 @@
1
+ /**
2
+ * What a screen reader hears for a follow button.
3
+ *
4
+ * Bloom's `FollowButton` names itself "Follow" in both states and carries the
5
+ * state in its pressed flag. Android TalkBack reads that flag as "selected",
6
+ * so a button that SHOWS "Following" was announced as "Follow, selected", and a
7
+ * TalkBack user could not tell they already follow the account
8
+ * (OxyHQ/oxy#1375 item 22). The name now says the state, and who it is for
9
+ * when the caller knows the handle.
10
+ *
11
+ * Pure, and kept apart from the components, so every state is pinned by a
12
+ * table test rather than by a render that can only see one state at a time.
13
+ */
14
+ export interface FollowButtonAccessibility {
15
+ accessibilityLabel: string;
16
+ accessibilityHint?: string;
17
+ }
18
+ /** `@nate` from `nate` or `@nate`; `undefined` when there is no handle. */
19
+ export declare function formatHandle(username: string | undefined): string | undefined;
20
+ /**
21
+ * The single-user button.
22
+ *
23
+ * - `isKnown: false`: the status is still being fetched and the button is
24
+ * inert, so it says so rather than offering a "Follow" it would ignore.
25
+ * - `isPending`: a follow or unfollow is in flight. The name keeps the state
26
+ * the button still shows; the busy flag says the rest, and there is no hint
27
+ * because a press does nothing until the write settles.
28
+ * - Following: "Following @nate", hinted "Unfollows @nate", because pressing
29
+ * it unfollows, which the visible "Following" does not say.
30
+ */
31
+ export declare function describeFollowButton(input: {
32
+ isKnown: boolean;
33
+ isFollowing: boolean;
34
+ isPending: boolean;
35
+ username?: string;
36
+ }): FollowButtonAccessibility;
37
+ /**
38
+ * The "Follow all" button. The labels are the caller's, since a starter pack
39
+ * and a feed's member list word it differently; the hint carries the count.
40
+ */
41
+ export declare function describeFollowAllButton(input: {
42
+ allFollowing: boolean;
43
+ isPending: boolean;
44
+ count: number;
45
+ followAllLabel: string;
46
+ followedAllLabel: string;
47
+ }): FollowButtonAccessibility;
48
+ //# sourceMappingURL=followButtonAccessibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"followButtonAccessibility.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/followButtonAccessibility.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,WAAW,yBAAyB;IACxC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,2EAA2E;AAC3E,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAG7E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,yBAAyB,CAqB5B;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,GAAG,yBAAyB,CAQ5B"}
@@ -35,7 +35,7 @@ export interface OpenAuthorizeOptions {
35
35
  * (see `normalizeOAuthRedirectUri`), so the IdP always returns the tab to `/`,
36
36
  * and the return handlers restore this path. Doing it here rather than at each
37
37
  * call site is deliberate: every web authorize redirect — silent restore,
38
- * interactive sign-in, the passkey hub — funnels through this function, so a
38
+ * interactive sign-in, `continueOnAuth` — funnels through this function, so a
39
39
  * new flow cannot forget to preserve the page the visitor came from.
40
40
  */
41
41
  export declare function redirectToAuthorize(url: string): void;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * The sign-in entry's embedded QR, over the split card's photo carousel: scan
3
+ * it with Commons on a phone and this screen is signed in.
4
+ *
5
+ * It owns one QR-only request (`controller.startInlineQr()`): started the
6
+ * first time the block is actually laid out on screen — never while its column
7
+ * is hidden below `md` — renewed when it expires, and withdrawn when the block
8
+ * goes away while it is still approvable. It never pushes to a phone or opens Commons —
9
+ * the person did not ask for either by opening the screen. Any other sign-in
10
+ * they choose supersedes it like any new attempt.
11
+ *
12
+ * Anti-phishing: the plate encodes `signIn.qrPayload` and renders nothing
13
+ * derived from it; the approver resolves the app server-side.
14
+ */
15
+ import type React from 'react';
16
+ import type { AccountDialogController } from '@oxy.so/core';
17
+ export declare const InlineCommonsQr: React.FC<{
18
+ controller: AccountDialogController | null;
19
+ }>;
20
+ //# sourceMappingURL=InlineCommonsQr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InlineCommonsQr.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/InlineCommonsQr.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAW5D,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,UAAU,EAAE,uBAAuB,GAAG,IAAI,CAAA;CAAE,CAqEpF,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * "Choose an account" — every `principal acting as account` pair on this
3
+ * device, then "Use another account".
4
+ *
5
+ * The front screen of sign-in on a returning device, in the account dialog and
6
+ * on every auth.oxy.so page that asks WHO (sign-in, OAuth authorize, device
7
+ * approval, MCP linking). Presentational: the host decides what choosing a row
8
+ * means — a switch, a "Continue as" sign-in, or activating the pair before an
9
+ * OAuth consent — and passes the pair back, never an account id, which cannot
10
+ * say whose route was chosen.
11
+ */
12
+ import type React from 'react';
13
+ import { type SwitcherContextRow, type SwitcherPrincipalRow } from '@oxy.so/core';
14
+ export interface OxyAccountPickerProps {
15
+ /** The device's people, each with the accounts they may act as (`useDeviceSwitcher`). */
16
+ principals: SwitcherPrincipalRow[];
17
+ /** The app being continued to, when there is one. */
18
+ appName?: string | null;
19
+ onSelectContext: (context: SwitcherContextRow) => void;
20
+ /** "Use another account" — the host reveals its sign-in. */
21
+ onUseAnother: () => void;
22
+ /** The pair being activated, whose row shows it is busy. */
23
+ pendingContextId?: string | null;
24
+ /** Disables every row while a choice is in flight. */
25
+ isLoading?: boolean;
26
+ /**
27
+ * This origin holds no session. A row then reads "Continue as @handle" and
28
+ * never as the current account: the device can list an identity as active
29
+ * while nobody is signed in HERE.
30
+ */
31
+ signedOut?: boolean;
32
+ }
33
+ export declare const OxyAccountPicker: React.FC<OxyAccountPickerProps>;
34
+ //# sourceMappingURL=OxyAccountPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxyAccountPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxyAccountPicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAyB,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAMzG,MAAM,WAAW,qBAAqB;IACpC,yFAAyF;IACzF,UAAU,EAAE,oBAAoB,EAAE,CAAC;IACnC,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACvD,4DAA4D;IAC5D,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAsE5D,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * The shell every Oxy sign-in screen shares — the in-app account dialog and
3
+ * every page of the auth.oxy.so IdP render these, so the two cannot drift:
4
+ *
5
+ * header the Oxy mark (56), then the title (48/800, tight) and a 18px
6
+ * description, 8 apart
7
+ * screen blocks 24 apart, at most 448 wide
8
+ * split from `md`, Bloom `AuthCard`'s split base — max 880, radius 24,
9
+ * 1px border, two equal columns, the right one on the secondary
10
+ * surface; below `md` the right column is dropped, not stacked
11
+ * loading an indeterminate spinner holding the screen's height
12
+ * terms one centred caption linking the Terms of Service and Privacy Policy
13
+ *
14
+ * Layout is NativeWind `className` (breakpoints included). Type stays on
15
+ * Bloom `Text`'s own ramp through `style` — a `className` there drops its
16
+ * default family — and colours come from the Bloom theme.
17
+ */
18
+ import type React from 'react';
19
+ export interface OxyAuthScreenHeaderProps {
20
+ title: string;
21
+ description?: React.ReactNode;
22
+ }
23
+ /** The Oxy mark over the screen's title and description. */
24
+ export declare const OxyAuthScreenHeader: React.FC<OxyAuthScreenHeaderProps>;
25
+ /** A sign-in screen's column: its blocks 24 apart. `className` extends it (the split's form column). */
26
+ export declare const OxyAuthScreen: React.FC<{
27
+ children: React.ReactNode;
28
+ className?: string;
29
+ }>;
30
+ /** The split card: `children` on the left and, from `md`, `aside` on the right. */
31
+ export declare const OxyAuthSplit: React.FC<{
32
+ children: React.ReactNode;
33
+ aside: React.ReactNode;
34
+ }>;
35
+ /**
36
+ * The screen while there is nothing to show yet. React Native's own indicator:
37
+ * `@oxy.so/bloom/loading` can tree-shake to `undefined` in a rolldown-vite
38
+ * production bundle when co-imported with `@oxy.so/bloom/button`.
39
+ */
40
+ export declare const OxyAuthLoading: React.FC;
41
+ /** "By continuing, you agree to our Terms of Service and Privacy Policy." */
42
+ export declare const OxyAuthTerms: React.FC;
43
+ //# sourceMappingURL=OxyAuthScreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxyAuthScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxyAuthScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,4DAA4D;AAC5D,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAqBlE,CAAC;AAEF,wGAAwG;AACxG,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAErF,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAmBxF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAOlC,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAiBhC,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * THE Oxy sign-in screen. The account dialog every Oxy app opens and the
3
+ * auth.oxy.so page render this one component; only where it is mounted
4
+ * differs (`host`).
5
+ *
6
+ * picker a returning device: "Choose an account", then "Use another account"
7
+ * entry the header, the Commons way in, and the way in for someone with no
8
+ * account. On auth.oxy.so (`page`) also the username with its
9
+ * Continue — a username-first passkey sign-in, which takes a
10
+ * platform passkey AND a hardware security key with no resident
11
+ * credential (a U2F key such as a Titan) — and "or continue with" the
12
+ * discoverable passkey. From `md` that page is Bloom `AuthCard`'s
13
+ * split card, with the embedded QR over its photo carousel in the
14
+ * right column; below `md` it is "Continue with Oxy" at the top.
15
+ * In an app's dialog on the web, "Continue with Oxy" opens that page
16
+ * in a window over the app, like "Sign in with Google": the browser's
17
+ * session lives on auth.oxy.so, so every Oxy app shares it. On
18
+ * native it is "Continue with Oxy" ("Get Commons" without Commons).
19
+ *
20
+ * `signInMethods.ts` owns which blocks a platform gets.
21
+ */
22
+ import type React from 'react';
23
+ export interface OxySignInPanelProps {
24
+ /** This screen signed the origin in. */
25
+ onSignedIn: () => void;
26
+ /** "New to Oxy? Create one". */
27
+ onCreateAccount: () => void;
28
+ /** "Lost your passkey? Recover your account" — auth.oxy.so's page only. */
29
+ onRecover?: () => void;
30
+ /** A handle to pre-fill, skipping the picker (a re-authentication). */
31
+ loginHint?: string;
32
+ /** The app being continued to, when there is one. */
33
+ appName?: string | null;
34
+ /**
35
+ * `dialog` — inside the account dialog, which the controller closes itself
36
+ * once a request it runs signs in, and where a request shows in place.
37
+ * `page` — a page of its own (auth.oxy.so): a request opens the dialog to
38
+ * show it, and its completion is reported through `onSignedIn` too.
39
+ */
40
+ host?: 'dialog' | 'page';
41
+ }
42
+ export declare const OxySignInPanel: React.FC<OxySignInPanelProps>;
43
+ //# sourceMappingURL=OxySignInPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxySignInPanel.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxySignInPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6B/B,MAAM,WAAW,mBAAmB;IAClC,wCAAwC;IACxC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,gCAAgC;IAChC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAySxD,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Account creation in the account dialog.
3
+ *
4
+ * On the web the account is made on auth.oxy.so, in its window over the app
5
+ * (`onCreateOnWeb`), and this app is signed in as it. On native, Commons
6
+ * creates the identity: straight in when it is installed, "Get Commons"
7
+ * otherwise.
8
+ */
9
+ import type React from 'react';
10
+ export interface OxySignUpPanelProps {
11
+ /** "Already have an account? Sign in". */
12
+ onSignIn: () => void;
13
+ /** The web's one action: auth.oxy.so's sign-up, in its window. */
14
+ onCreateOnWeb: () => void;
15
+ }
16
+ export declare const OxySignUpPanel: React.FC<OxySignUpPanelProps>;
17
+ //# sourceMappingURL=OxySignUpPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxySignUpPanel.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxySignUpPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,MAAM,WAAW,mBAAmB;IAClC,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,kEAAkE;IAClE,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmDxD,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The photos the sign-in split card's carousel turns through. Shipped with the
3
+ * SDK and imported like its icon fonts, so every host serves them from its own
4
+ * origin — nothing to allow in anyone's CSP.
5
+ */
6
+ import type { AuthMediaSlide } from '@oxy.so/bloom/auth-card';
7
+ export declare const SIGN_IN_SLIDES: AuthMediaSlide[];
8
+ //# sourceMappingURL=artwork.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artwork.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/artwork.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAM9D,eAAO,MAAM,cAAc,EAAE,cAAc,EAAmE,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * The message for a failed passkey sign-in, and whether it was rate-limited.
3
+ *
4
+ * A dismissed or timed-out browser prompt rejects with a `NotAllowedError` /
5
+ * `AbortError` DOMException, often re-wrapped by `@simplewebauthn/browser` as a
6
+ * `WebAuthnError` whose `cause` is the original — so the cancellation shape is
7
+ * looked for along the cause chain, and reported calmly instead of as the raw
8
+ * "The operation either timed out or was not allowed…".
9
+ */
10
+ import type { Translate } from '../authChooser/types';
11
+ /** How long the surface waits after a 429 before it lets the person retry. */
12
+ export declare const RATE_LIMIT_SECONDS = 60;
13
+ export declare function isRateLimited(error: unknown): boolean;
14
+ /** The inline message for a passkey ceremony that did not sign anyone in. */
15
+ export declare function describePasskeyError(error: unknown, t: Translate): string;
16
+ //# sourceMappingURL=passkeyError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkeyError.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/passkeyError.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAqBrC,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAErD;AAED,6EAA6E;AAC7E,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAIzE"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Which sign-in methods a surface offers, from where it runs.
3
+ *
4
+ * One screen everywhere; only the transport behind each block changes:
5
+ *
6
+ * - auth.oxy.so (`page`) is where the web signs in: the embedded Commons QR
7
+ * (the split card's right column from `md`, "Continue with Oxy" below it),
8
+ * the username with its Continue, and the passkey — asserted right here,
9
+ * on the one origin every Oxy passkey belongs to;
10
+ * - an app's account dialog on the web (`dialog`) opens that screen in a
11
+ * window over the app ("Continue with Oxy"), like "Sign in with Google":
12
+ * the browser's session lives on auth.oxy.so, so every Oxy app shares it;
13
+ * - native signs in with Commons: "Continue with Oxy", or "Get Commons" on a
14
+ * device that has no Commons to continue with.
15
+ */
16
+ import type { CommonsAvailability } from '@oxy.so/core';
17
+ /**
18
+ * `qr` — auth.oxy.so: the embedded QR from `md`, "Continue with Oxy" below.
19
+ * `window` — an app on the web: "Continue with Oxy" opens auth.oxy.so's window.
20
+ * `continue` — native "Continue with Oxy": Oxy picks the route (shared
21
+ * keychain, Commons on this device, a push, or the QR view).
22
+ * `get-commons` — native, and Commons is not installed here.
23
+ */
24
+ export type CommonsEntry = 'qr' | 'window' | 'continue' | 'get-commons';
25
+ export interface SignInMethods {
26
+ commons: CommonsEntry;
27
+ /** The username and passkey block: only on auth.oxy.so. */
28
+ passkey: boolean;
29
+ }
30
+ export interface SignInSurfaceFacts {
31
+ /** Rendering in a browser (react-native-web), not a native app. */
32
+ web: boolean;
33
+ /** `page` is auth.oxy.so; `dialog` is an app's account dialog. */
34
+ host: 'dialog' | 'page';
35
+ /** The controller's native probe for an installed Commons. */
36
+ commonsAvailability: CommonsAvailability;
37
+ }
38
+ export declare function resolveSignInMethods(facts: SignInSurfaceFacts): SignInMethods;
39
+ //# sourceMappingURL=signInMethods.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signInMethods.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/signInMethods.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,aAAa,CAAC;AAExE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,YAAY,CAAC;IACtB,2DAA2D;IAC3D,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,mEAAmE;IACnE,GAAG,EAAE,OAAO,CAAC;IACb,kEAAkE;IAClE,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,8DAA8D;IAC9D,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,kBAAkB,GAAG,aAAa,CAQ7E"}
@@ -1 +1 @@
1
- {"version":3,"file":"OxyContext.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/OxyContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuF/B,OAAO,KAAK,EACV,eAAe,EACf,uBAAuB,EAExB,MAAM,mBAAmB,CAAC;AAgB3B,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAIhG,KAAK,0BAA0B,GAAG,IAAI,CACpC,eAAe,EACb,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,iBAAiB,GACjB,aAAa,GACb,iBAAiB,GACjB,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,kBAAkB,GAClB,mBAAmB,CACtB,CAAC;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAyvChE,CAAC;AAMF,qBAAa,uBAAwB,SAAQ,KAAK;IAChD,QAAQ,CAAC,IAAI,0BAA0B;;CAMxC;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,QAAO,eAMzB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,QAAO,eAAe,GAAG,IAAqC,CAAC;AAE1F,kFAAkF;AAClF,eAAO,MAAM,iBAAiB,QAAO,0BAMpC,CAAC"}
1
+ {"version":3,"file":"OxyContext.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/OxyContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsF/B,OAAO,KAAK,EACV,eAAe,EACf,uBAAuB,EAExB,MAAM,mBAAmB,CAAC;AAgB3B,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAIhG,KAAK,0BAA0B,GAAG,IAAI,CACpC,eAAe,EACb,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,iBAAiB,GACjB,aAAa,GACb,iBAAiB,GACjB,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,kBAAkB,GAClB,mBAAmB,CACtB,CAAC;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6vChE,CAAC;AAMF,qBAAa,uBAAwB,SAAQ,KAAK;IAChD,QAAQ,CAAC,IAAI,0BAA0B;;CAMxC;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,QAAO,eAMzB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,QAAO,eAAe,GAAG,IAAqC,CAAC;AAE1F,kFAAkF;AAClF,eAAO,MAAM,iBAAiB,QAAO,0BAMpC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { User } from '@oxy.so/core';
2
- import type { WebAuthMode } from '../oauth/types';
3
2
  export interface CommitDeviceSetAndResolveDeps {
4
3
  /**
5
4
  * Whether this commit is a deliberate sign-in on THIS device (activates the
@@ -39,43 +38,4 @@ export interface CommitDeviceSetAndResolveDeps {
39
38
  * a DETACHED background task a moment later.
40
39
  */
41
40
  export declare function commitDeviceSetAndResolve(deps: CommitDeviceSetAndResolveDeps): Promise<void>;
42
- export interface MaybeSyncHubAfterCommitDeps {
43
- /** Deliberate sign-in (`true`) vs. a cold-boot / background commit (`false`). */
44
- activate: boolean;
45
- /** Per-commit opt-in — `commitSession`'s `options.hubSync`. */
46
- hubSyncRequested: boolean;
47
- /** Provider-level opt-out — `OxyProviderProps.hubSync`. */
48
- hubSyncEnabled: boolean;
49
- /**
50
- * The provider's web sign-in transport — `OxyProviderProps.webAuthMode`.
51
- * A first-class input: `'popup'` forbids the redirect outright.
52
- */
53
- webAuthMode: WebAuthMode;
54
- /**
55
- * Starts the full-page hop to `auth.oxy.so/sync`; resolves `true` when the
56
- * navigation was actually started.
57
- */
58
- syncHub: () => Promise<boolean>;
59
- }
60
- /**
61
- * Post-sign-in hub sync: plant this device's credential on the IdP hub so OTHER
62
- * official origins can silently restore a session on their next cold boot.
63
- *
64
- * The tail of the ONE commit funnel (`commitSession`), extracted so every gate
65
- * on this legacy lane lives — and is tested — in one place. Returns whether the
66
- * full-page redirect was started; a failure is non-fatal and never propagates
67
- * (the sign-in itself already succeeded).
68
- *
69
- * Four gates, all of which must pass:
70
- * 1. `activate` — only a deliberate sign-in syncs; a cold-boot restore never does.
71
- * 2. `hubSyncRequested` — the in-place lanes (account switch, popup OAuth) opt out.
72
- * 3. `hubSyncEnabled` — the provider-level `hubSync` prop.
73
- * 4. `allowsAutomaticIdpRedirect(webAuthMode)` — hub sync REPLACES the document
74
- * with `auth.oxy.so`, so `webAuthMode: 'popup'` forbids it: a redirect that
75
- * bounces the tab defeats the entire point of the mode, no matter which
76
- * commit path produced the session (issue #691, "Cold boot and cross-domain
77
- * behavior"). Redirect mode — the default and the compatibility path — is
78
- * unchanged, and this whole function disappears with it in phase 7b.
79
- */
80
- export declare function maybeSyncHubAfterCommit(deps: MaybeSyncHubAfterCommitDeps): Promise<boolean>;
81
41
  //# sourceMappingURL=commitSessionFlow.d.ts.map