@oxyhq/services 6.9.46 → 6.10.1

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 (812) hide show
  1. package/lib/commonjs/index.js +36 -13
  2. package/lib/commonjs/index.js.map +1 -1
  3. package/lib/commonjs/ui/client.js +0 -20
  4. package/lib/commonjs/ui/client.js.map +1 -1
  5. package/lib/commonjs/ui/components/ActingAsBanner.js +0 -4
  6. package/lib/commonjs/ui/components/ActingAsBanner.js.map +1 -1
  7. package/lib/commonjs/ui/components/ActivityIndicator.js +1 -1
  8. package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -1
  9. package/lib/commonjs/ui/components/Avatar.js +0 -2
  10. package/lib/commonjs/ui/components/Avatar.js.map +1 -1
  11. package/lib/commonjs/ui/components/BottomSheet.js +33 -398
  12. package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
  13. package/lib/commonjs/ui/components/BottomSheetRouter.js +8 -0
  14. package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
  15. package/lib/commonjs/ui/components/FollowButton.js +3 -5
  16. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  17. package/lib/commonjs/ui/components/Header.js +0 -5
  18. package/lib/commonjs/ui/components/Header.js.map +1 -1
  19. package/lib/commonjs/ui/components/Icon.js +6 -7
  20. package/lib/commonjs/ui/components/Icon.js.map +1 -1
  21. package/lib/commonjs/ui/components/IconButton/IconButton.js +1 -5
  22. package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -1
  23. package/lib/commonjs/ui/components/OxyPayButton.js +0 -2
  24. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
  25. package/lib/commonjs/ui/components/OxyProvider.js +100 -37
  26. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  27. package/lib/commonjs/ui/components/OxySignInButton.js +23 -9
  28. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  29. package/lib/commonjs/ui/components/ProfileCard.js +11 -8
  30. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
  31. package/lib/commonjs/ui/components/QuickActions.js +2 -2
  32. package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
  33. package/lib/commonjs/ui/components/SignInModal.js +139 -284
  34. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  35. package/lib/commonjs/ui/components/StepBasedScreen.js +0 -2
  36. package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
  37. package/lib/commonjs/ui/components/TextField.js +0 -1
  38. package/lib/commonjs/ui/components/TextField.js.map +1 -1
  39. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +1 -1
  40. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
  41. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +0 -2
  42. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -1
  43. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -2
  44. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -1
  45. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +80 -76
  46. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  47. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -8
  48. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  49. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +18 -23
  50. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  51. package/lib/commonjs/ui/components/fileManagement/styles.js +213 -25
  52. package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -1
  53. package/lib/commonjs/ui/components/logo/LogoIcon.js +63 -0
  54. package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
  55. package/lib/commonjs/ui/components/logo/LogoText.js +50 -0
  56. package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
  57. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +54 -88
  58. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  59. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +2 -2
  60. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  61. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +1 -1
  62. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
  63. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +1 -1
  64. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  65. package/lib/commonjs/ui/components/payment/paymentStyles.js +2 -10
  66. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
  67. package/lib/commonjs/ui/components/styles/overlay.js +7 -9
  68. package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
  69. package/lib/commonjs/ui/components/theming.js +0 -1
  70. package/lib/commonjs/ui/components/theming.js.map +1 -1
  71. package/lib/commonjs/ui/context/OxyContext.js +34 -21
  72. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  73. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +1 -3
  74. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
  75. package/lib/commonjs/ui/hooks/index.js +32 -12
  76. package/lib/commonjs/ui/hooks/index.js.map +1 -1
  77. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +10 -5
  78. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
  79. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +34 -0
  80. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
  81. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +235 -57
  82. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  83. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +17 -13
  84. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  85. package/lib/commonjs/ui/hooks/queries/index.js +6 -0
  86. package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
  87. package/lib/commonjs/ui/hooks/queries/queryKeys.js +2 -1
  88. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
  89. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +80 -3
  90. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
  91. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +36 -1
  92. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  93. package/lib/commonjs/ui/hooks/queryClient.js +168 -70
  94. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
  95. package/lib/commonjs/ui/hooks/useAsyncAction.js +7 -7
  96. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -1
  97. package/lib/commonjs/ui/hooks/useAuth.js +0 -8
  98. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
  99. package/lib/commonjs/ui/hooks/useAvatarPicker.js +71 -20
  100. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
  101. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +12 -41
  102. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
  103. package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
  104. package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
  105. package/lib/commonjs/ui/hooks/useOnlineStatus.js +33 -0
  106. package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
  107. package/lib/commonjs/ui/hooks/useSessionSocket.js +101 -130
  108. package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
  109. package/lib/commonjs/ui/hooks/useSettingToggle.js +4 -4
  110. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
  111. package/lib/commonjs/ui/index.js +1 -11
  112. package/lib/commonjs/ui/index.js.map +1 -1
  113. package/lib/commonjs/ui/navigation/routes.js +55 -3
  114. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  115. package/lib/commonjs/ui/screens/AccountCenterScreen.js +16 -16
  116. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  117. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +108 -123
  118. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  119. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +20 -19
  120. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  121. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +204 -161
  122. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  123. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +18 -18
  124. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  125. package/lib/commonjs/ui/screens/AppInfoScreen.js +22 -23
  126. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  127. package/lib/commonjs/ui/screens/AvatarCropScreen.js +939 -0
  128. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
  129. package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js +13 -20
  130. package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js.map +1 -1
  131. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +10 -13
  132. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  133. package/lib/commonjs/ui/screens/FAQScreen.js +4 -4
  134. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
  135. package/lib/commonjs/ui/screens/FeedbackScreen.js +17 -15
  136. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  137. package/lib/commonjs/ui/screens/FileManagementScreen.js +797 -159
  138. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  139. package/lib/commonjs/ui/screens/HelpSupportScreen.js +8 -9
  140. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  141. package/lib/commonjs/ui/screens/HistoryViewScreen.js +29 -21
  142. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  143. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +3 -5
  144. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  145. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +5 -5
  146. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  147. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -2
  148. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +75 -73
  149. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  150. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +32 -21
  151. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  152. package/lib/commonjs/ui/screens/ProfileScreen.js +4 -3
  153. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  154. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +3 -3
  155. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  156. package/lib/commonjs/ui/screens/SessionManagementScreen.js +57 -56
  157. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
  158. package/lib/commonjs/ui/screens/UserLinksScreen.js +2 -3
  159. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  160. package/lib/commonjs/ui/screens/UserListScreen.js +39 -22
  161. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  162. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +18 -21
  163. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  164. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +0 -3
  165. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  166. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +6 -10
  167. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  168. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +1 -1
  169. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  170. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +6 -6
  171. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  172. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +13 -19
  173. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  174. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +5 -5
  175. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  176. package/lib/commonjs/ui/server.js +0 -5
  177. package/lib/commonjs/ui/server.js.map +1 -1
  178. package/lib/commonjs/ui/styles/authStyles.js +0 -5
  179. package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
  180. package/lib/commonjs/ui/styles/index.js +0 -11
  181. package/lib/commonjs/ui/styles/index.js.map +1 -1
  182. package/lib/commonjs/ui/styles/spacing.js +1 -42
  183. package/lib/commonjs/ui/styles/spacing.js.map +1 -1
  184. package/lib/commonjs/ui/styles/theme.js +0 -4
  185. package/lib/commonjs/ui/styles/theme.js.map +1 -1
  186. package/lib/commonjs/ui/utils/fileManagement.js +58 -39
  187. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
  188. package/lib/commonjs/ui/utils/sessionHelpers.js +3 -1
  189. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
  190. package/lib/commonjs/ui/utils/userUtils.js +33 -16
  191. package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
  192. package/lib/module/index.js +9 -5
  193. package/lib/module/index.js.map +1 -1
  194. package/lib/module/ui/client.js +0 -6
  195. package/lib/module/ui/client.js.map +1 -1
  196. package/lib/module/ui/components/ActingAsBanner.js +0 -4
  197. package/lib/module/ui/components/ActingAsBanner.js.map +1 -1
  198. package/lib/module/ui/components/ActivityIndicator.js +1 -1
  199. package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
  200. package/lib/module/ui/components/Avatar.js +0 -2
  201. package/lib/module/ui/components/Avatar.js.map +1 -1
  202. package/lib/module/ui/components/BottomSheet.js +35 -400
  203. package/lib/module/ui/components/BottomSheet.js.map +1 -1
  204. package/lib/module/ui/components/BottomSheetRouter.js +9 -1
  205. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
  206. package/lib/module/ui/components/FollowButton.js +2 -4
  207. package/lib/module/ui/components/FollowButton.js.map +1 -1
  208. package/lib/module/ui/components/Header.js +0 -5
  209. package/lib/module/ui/components/Header.js.map +1 -1
  210. package/lib/module/ui/components/Icon.js +6 -7
  211. package/lib/module/ui/components/Icon.js.map +1 -1
  212. package/lib/module/ui/components/IconButton/IconButton.js +1 -5
  213. package/lib/module/ui/components/IconButton/IconButton.js.map +1 -1
  214. package/lib/module/ui/components/OxyPayButton.js +0 -2
  215. package/lib/module/ui/components/OxyPayButton.js.map +1 -1
  216. package/lib/module/ui/components/OxyProvider.js +103 -40
  217. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  218. package/lib/module/ui/components/OxySignInButton.js +23 -9
  219. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  220. package/lib/module/ui/components/ProfileCard.js +11 -8
  221. package/lib/module/ui/components/ProfileCard.js.map +1 -1
  222. package/lib/module/ui/components/QuickActions.js +2 -2
  223. package/lib/module/ui/components/QuickActions.js.map +1 -1
  224. package/lib/module/ui/components/SignInModal.js +137 -284
  225. package/lib/module/ui/components/SignInModal.js.map +1 -1
  226. package/lib/module/ui/components/StepBasedScreen.js +0 -2
  227. package/lib/module/ui/components/StepBasedScreen.js.map +1 -1
  228. package/lib/module/ui/components/TextField.js +0 -1
  229. package/lib/module/ui/components/TextField.js.map +1 -1
  230. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +1 -1
  231. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
  232. package/lib/module/ui/components/feedback/feedbackStyles.js +0 -2
  233. package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
  234. package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -1
  235. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -1
  236. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +80 -75
  237. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  238. package/lib/module/ui/components/fileManagement/FileViewer.js +6 -7
  239. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  240. package/lib/module/ui/components/fileManagement/UploadPreview.js +18 -22
  241. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  242. package/lib/module/ui/components/fileManagement/styles.js +212 -24
  243. package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
  244. package/lib/module/ui/components/logo/LogoIcon.js +56 -0
  245. package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
  246. package/lib/module/ui/components/logo/LogoText.js +43 -0
  247. package/lib/module/ui/components/logo/LogoText.js.map +1 -0
  248. package/lib/module/ui/components/modals/DeleteAccountModal.js +55 -88
  249. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  250. package/lib/module/ui/components/payment/PaymentDetailsStep.js +1 -1
  251. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  252. package/lib/module/ui/components/payment/PaymentReviewStep.js +1 -1
  253. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
  254. package/lib/module/ui/components/payment/PaymentSuccessStep.js +1 -1
  255. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  256. package/lib/module/ui/components/payment/paymentStyles.js +2 -10
  257. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
  258. package/lib/module/ui/components/styles/overlay.js +8 -8
  259. package/lib/module/ui/components/styles/overlay.js.map +1 -1
  260. package/lib/module/ui/components/theming.js +0 -1
  261. package/lib/module/ui/components/theming.js.map +1 -1
  262. package/lib/module/ui/context/OxyContext.js +32 -19
  263. package/lib/module/ui/context/OxyContext.js.map +1 -1
  264. package/lib/module/ui/context/hooks/useAuthOperations.js +1 -3
  265. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  266. package/lib/module/ui/hooks/index.js +5 -3
  267. package/lib/module/ui/hooks/index.js.map +1 -1
  268. package/lib/module/ui/hooks/mutations/mutationFactory.js +6 -1
  269. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
  270. package/lib/module/ui/hooks/mutations/mutationKeys.js +30 -0
  271. package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
  272. package/lib/module/ui/hooks/mutations/useAccountMutations.js +231 -52
  273. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  274. package/lib/module/ui/hooks/mutations/useServicesMutations.js +9 -5
  275. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  276. package/lib/module/ui/hooks/queries/index.js +1 -1
  277. package/lib/module/ui/hooks/queries/index.js.map +1 -1
  278. package/lib/module/ui/hooks/queries/queryKeys.js +2 -1
  279. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
  280. package/lib/module/ui/hooks/queries/useAccountQueries.js +80 -3
  281. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  282. package/lib/module/ui/hooks/queries/useSecurityQueries.js +35 -1
  283. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  284. package/lib/module/ui/hooks/queryClient.js +166 -68
  285. package/lib/module/ui/hooks/queryClient.js.map +1 -1
  286. package/lib/module/ui/hooks/useAsyncAction.js +3 -3
  287. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
  288. package/lib/module/ui/hooks/useAuth.js +0 -3
  289. package/lib/module/ui/hooks/useAuth.js.map +1 -1
  290. package/lib/module/ui/hooks/useAvatarPicker.js +73 -22
  291. package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
  292. package/lib/module/ui/hooks/useFileDownloadUrl.js +11 -39
  293. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -1
  294. package/lib/module/ui/hooks/useMutationStatus.js +82 -0
  295. package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
  296. package/lib/module/ui/hooks/useOnlineStatus.js +29 -0
  297. package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
  298. package/lib/module/ui/hooks/useSessionSocket.js +101 -130
  299. package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
  300. package/lib/module/ui/hooks/useSettingToggle.js +1 -1
  301. package/lib/module/ui/hooks/useSettingToggle.js.map +1 -1
  302. package/lib/module/ui/index.js +1 -10
  303. package/lib/module/ui/index.js.map +1 -1
  304. package/lib/module/ui/navigation/routes.js +54 -2
  305. package/lib/module/ui/navigation/routes.js.map +1 -1
  306. package/lib/module/ui/screens/AccountCenterScreen.js +15 -14
  307. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  308. package/lib/module/ui/screens/AccountOverviewScreen.js +96 -111
  309. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  310. package/lib/module/ui/screens/AccountSettingsScreen.js +19 -18
  311. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  312. package/lib/module/ui/screens/AccountSwitcherScreen.js +189 -145
  313. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
  314. package/lib/module/ui/screens/AccountVerificationScreen.js +15 -15
  315. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  316. package/lib/module/ui/screens/AppInfoScreen.js +14 -15
  317. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  318. package/lib/module/ui/screens/AvatarCropScreen.js +936 -0
  319. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
  320. package/lib/module/ui/screens/CreateManagedAccountScreen.js +11 -18
  321. package/lib/module/ui/screens/CreateManagedAccountScreen.js.map +1 -1
  322. package/lib/module/ui/screens/EditProfileFieldScreen.js +8 -11
  323. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  324. package/lib/module/ui/screens/FAQScreen.js +3 -3
  325. package/lib/module/ui/screens/FAQScreen.js.map +1 -1
  326. package/lib/module/ui/screens/FeedbackScreen.js +14 -12
  327. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  328. package/lib/module/ui/screens/FileManagementScreen.js +764 -125
  329. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  330. package/lib/module/ui/screens/HelpSupportScreen.js +2 -3
  331. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  332. package/lib/module/ui/screens/HistoryViewScreen.js +26 -17
  333. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  334. package/lib/module/ui/screens/LanguageSelectorScreen.js +1 -3
  335. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  336. package/lib/module/ui/screens/LegalDocumentsScreen.js +3 -3
  337. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  338. package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -2
  339. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +60 -57
  340. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  341. package/lib/module/ui/screens/PrivacySettingsScreen.js +27 -16
  342. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  343. package/lib/module/ui/screens/ProfileScreen.js +4 -3
  344. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  345. package/lib/module/ui/screens/SavesCollectionsScreen.js +2 -2
  346. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  347. package/lib/module/ui/screens/SessionManagementScreen.js +48 -47
  348. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  349. package/lib/module/ui/screens/UserLinksScreen.js +2 -3
  350. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  351. package/lib/module/ui/screens/UserListScreen.js +40 -23
  352. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  353. package/lib/module/ui/screens/WelcomeNewUserScreen.js +16 -19
  354. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  355. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +0 -3
  356. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  357. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +6 -10
  358. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  359. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +1 -1
  360. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  361. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +6 -6
  362. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  363. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +13 -19
  364. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  365. package/lib/module/ui/screens/karma/KarmaRulesScreen.js +5 -5
  366. package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  367. package/lib/module/ui/server.js +0 -4
  368. package/lib/module/ui/server.js.map +1 -1
  369. package/lib/module/ui/styles/authStyles.js +0 -5
  370. package/lib/module/ui/styles/authStyles.js.map +1 -1
  371. package/lib/module/ui/styles/index.js +0 -1
  372. package/lib/module/ui/styles/index.js.map +1 -1
  373. package/lib/module/ui/styles/spacing.js +0 -42
  374. package/lib/module/ui/styles/spacing.js.map +1 -1
  375. package/lib/module/ui/styles/theme.js +0 -4
  376. package/lib/module/ui/styles/theme.js.map +1 -1
  377. package/lib/module/ui/utils/fileManagement.js +54 -36
  378. package/lib/module/ui/utils/fileManagement.js.map +1 -1
  379. package/lib/module/ui/utils/sessionHelpers.js +3 -1
  380. package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
  381. package/lib/module/ui/utils/userUtils.js +34 -16
  382. package/lib/module/ui/utils/userUtils.js.map +1 -1
  383. package/lib/typescript/commonjs/index.d.ts +7 -3
  384. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  385. package/lib/typescript/commonjs/ui/client.d.ts +0 -2
  386. package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
  387. package/lib/typescript/commonjs/ui/components/ActingAsBanner.d.ts.map +1 -1
  388. package/lib/typescript/commonjs/ui/components/Avatar.d.ts.map +1 -1
  389. package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts +27 -27
  390. package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
  391. package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -1
  392. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  393. package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
  394. package/lib/typescript/commonjs/ui/components/Icon.d.ts +3 -2
  395. package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +1 -1
  396. package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.map +1 -1
  397. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -1
  398. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  399. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
  400. package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts +4 -1
  401. package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +1 -1
  402. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
  403. package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +1 -1
  404. package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts +2 -2
  405. package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts +2 -2
  406. package/lib/typescript/commonjs/ui/components/TextField/types.d.ts +0 -1
  407. package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +1 -1
  408. package/lib/typescript/commonjs/ui/components/TextField.d.ts +1 -1
  409. package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +1 -1
  410. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +0 -1
  411. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
  412. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
  413. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
  414. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  415. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +0 -2
  416. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  417. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +3 -2
  418. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  419. package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts +200 -17
  420. package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts.map +1 -1
  421. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
  422. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
  423. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
  424. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
  425. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +2 -2
  426. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  427. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +0 -7
  428. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -1
  429. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +3 -1
  430. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -1
  431. package/lib/typescript/commonjs/ui/components/theming.d.ts.map +1 -1
  432. package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -1
  433. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  434. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  435. package/lib/typescript/commonjs/ui/hooks/index.d.ts +5 -3
  436. package/lib/typescript/commonjs/ui/hooks/index.d.ts.map +1 -1
  437. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +11 -0
  438. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
  439. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +25 -0
  440. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
  441. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +161 -9
  442. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  443. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
  444. package/lib/typescript/commonjs/ui/hooks/queries/index.d.ts +1 -1
  445. package/lib/typescript/commonjs/ui/hooks/queries/index.d.ts.map +1 -1
  446. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +1 -0
  447. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  448. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +22 -8
  449. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  450. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +13 -3
  451. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
  452. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +7 -5
  453. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  454. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +57 -9
  455. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
  456. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +1 -1
  457. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -1
  458. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
  459. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +10 -2
  460. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -1
  461. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +2 -6
  462. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
  463. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
  464. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
  465. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +13 -0
  466. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
  467. package/lib/typescript/commonjs/ui/hooks/useSessionSocket.d.ts +1 -2
  468. package/lib/typescript/commonjs/ui/hooks/useSessionSocket.d.ts.map +1 -1
  469. package/lib/typescript/commonjs/ui/index.d.ts +1 -4
  470. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
  471. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +48 -2
  472. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
  473. package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  474. package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  475. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  476. package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
  477. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
  478. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +49 -0
  479. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
  480. package/lib/typescript/commonjs/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
  481. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  482. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
  483. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  484. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  485. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  486. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  487. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  488. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  489. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
  490. package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  491. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  492. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  493. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  494. package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
  495. package/lib/typescript/commonjs/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
  496. package/lib/typescript/commonjs/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
  497. package/lib/typescript/commonjs/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
  498. package/lib/typescript/commonjs/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
  499. package/lib/typescript/commonjs/ui/server.d.ts +0 -2
  500. package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
  501. package/lib/typescript/commonjs/ui/styles/authStyles.d.ts +0 -4
  502. package/lib/typescript/commonjs/ui/styles/authStyles.d.ts.map +1 -1
  503. package/lib/typescript/commonjs/ui/styles/index.d.ts +0 -1
  504. package/lib/typescript/commonjs/ui/styles/index.d.ts.map +1 -1
  505. package/lib/typescript/commonjs/ui/styles/spacing.d.ts +0 -36
  506. package/lib/typescript/commonjs/ui/styles/spacing.d.ts.map +1 -1
  507. package/lib/typescript/commonjs/ui/styles/theme.d.ts +0 -1
  508. package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +1 -1
  509. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +39 -12
  510. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
  511. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +3 -1
  512. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -1
  513. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +19 -18
  514. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -1
  515. package/lib/typescript/module/index.d.ts +7 -3
  516. package/lib/typescript/module/index.d.ts.map +1 -1
  517. package/lib/typescript/module/ui/client.d.ts +0 -2
  518. package/lib/typescript/module/ui/client.d.ts.map +1 -1
  519. package/lib/typescript/module/ui/components/ActingAsBanner.d.ts.map +1 -1
  520. package/lib/typescript/module/ui/components/Avatar.d.ts.map +1 -1
  521. package/lib/typescript/module/ui/components/BottomSheet.d.ts +27 -27
  522. package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
  523. package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
  524. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  525. package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
  526. package/lib/typescript/module/ui/components/Icon.d.ts +3 -2
  527. package/lib/typescript/module/ui/components/Icon.d.ts.map +1 -1
  528. package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +1 -1
  529. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -1
  530. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  531. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
  532. package/lib/typescript/module/ui/components/ProfileCard.d.ts +4 -1
  533. package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +1 -1
  534. package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
  535. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -1
  536. package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +2 -2
  537. package/lib/typescript/module/ui/components/TextField/helpers.d.ts +2 -2
  538. package/lib/typescript/module/ui/components/TextField/types.d.ts +0 -1
  539. package/lib/typescript/module/ui/components/TextField/types.d.ts.map +1 -1
  540. package/lib/typescript/module/ui/components/TextField.d.ts +1 -1
  541. package/lib/typescript/module/ui/components/TextField.d.ts.map +1 -1
  542. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +0 -1
  543. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
  544. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
  545. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
  546. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  547. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +0 -2
  548. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  549. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +3 -2
  550. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  551. package/lib/typescript/module/ui/components/fileManagement/styles.d.ts +200 -17
  552. package/lib/typescript/module/ui/components/fileManagement/styles.d.ts.map +1 -1
  553. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
  554. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
  555. package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
  556. package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
  557. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +2 -2
  558. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  559. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +0 -7
  560. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
  561. package/lib/typescript/module/ui/components/styles/overlay.d.ts +3 -1
  562. package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -1
  563. package/lib/typescript/module/ui/components/theming.d.ts.map +1 -1
  564. package/lib/typescript/module/ui/components/types.d.ts.map +1 -1
  565. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  566. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  567. package/lib/typescript/module/ui/hooks/index.d.ts +5 -3
  568. package/lib/typescript/module/ui/hooks/index.d.ts.map +1 -1
  569. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +11 -0
  570. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
  571. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +25 -0
  572. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
  573. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +161 -9
  574. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  575. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
  576. package/lib/typescript/module/ui/hooks/queries/index.d.ts +1 -1
  577. package/lib/typescript/module/ui/hooks/queries/index.d.ts.map +1 -1
  578. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +1 -0
  579. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  580. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +22 -8
  581. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  582. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +13 -3
  583. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
  584. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +7 -5
  585. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  586. package/lib/typescript/module/ui/hooks/queryClient.d.ts +57 -9
  587. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
  588. package/lib/typescript/module/ui/hooks/useAssets.d.ts +1 -1
  589. package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -1
  590. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
  591. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +10 -2
  592. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -1
  593. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +2 -6
  594. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
  595. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
  596. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
  597. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +13 -0
  598. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
  599. package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts +1 -2
  600. package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts.map +1 -1
  601. package/lib/typescript/module/ui/index.d.ts +1 -4
  602. package/lib/typescript/module/ui/index.d.ts.map +1 -1
  603. package/lib/typescript/module/ui/navigation/routes.d.ts +48 -2
  604. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
  605. package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  606. package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  607. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  608. package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
  609. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
  610. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +49 -0
  611. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
  612. package/lib/typescript/module/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
  613. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  614. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
  615. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  616. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  617. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  618. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  619. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  620. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  621. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
  622. package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  623. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  624. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  625. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  626. package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
  627. package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
  628. package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
  629. package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
  630. package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
  631. package/lib/typescript/module/ui/server.d.ts +0 -2
  632. package/lib/typescript/module/ui/server.d.ts.map +1 -1
  633. package/lib/typescript/module/ui/styles/authStyles.d.ts +0 -4
  634. package/lib/typescript/module/ui/styles/authStyles.d.ts.map +1 -1
  635. package/lib/typescript/module/ui/styles/index.d.ts +0 -1
  636. package/lib/typescript/module/ui/styles/index.d.ts.map +1 -1
  637. package/lib/typescript/module/ui/styles/spacing.d.ts +0 -36
  638. package/lib/typescript/module/ui/styles/spacing.d.ts.map +1 -1
  639. package/lib/typescript/module/ui/styles/theme.d.ts +0 -1
  640. package/lib/typescript/module/ui/styles/theme.d.ts.map +1 -1
  641. package/lib/typescript/module/ui/utils/fileManagement.d.ts +39 -12
  642. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
  643. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +3 -1
  644. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -1
  645. package/lib/typescript/module/ui/utils/userUtils.d.ts +19 -18
  646. package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -1
  647. package/lib/typescript/types/expo-vector-icons.d.ts +7 -4
  648. package/package.json +64 -31
  649. package/src/index.ts +11 -4
  650. package/src/types/expo-vector-icons.d.ts +7 -4
  651. package/src/ui/client.ts +0 -6
  652. package/src/ui/components/ActingAsBanner.tsx +0 -4
  653. package/src/ui/components/ActivityIndicator.tsx +1 -1
  654. package/src/ui/components/Avatar.tsx +0 -2
  655. package/src/ui/components/BottomSheet.tsx +41 -440
  656. package/src/ui/components/BottomSheetRouter.tsx +12 -1
  657. package/src/ui/components/FollowButton.tsx +2 -4
  658. package/src/ui/components/Header.tsx +0 -5
  659. package/src/ui/components/Icon.tsx +12 -6
  660. package/src/ui/components/IconButton/IconButton.tsx +0 -3
  661. package/src/ui/components/OxyPayButton.tsx +0 -2
  662. package/src/ui/components/OxyProvider.tsx +127 -48
  663. package/src/ui/components/OxySignInButton.tsx +21 -9
  664. package/src/ui/components/ProfileCard.tsx +13 -10
  665. package/src/ui/components/QuickActions.tsx +2 -2
  666. package/src/ui/components/SignInModal.tsx +80 -199
  667. package/src/ui/components/StepBasedScreen.tsx +0 -2
  668. package/src/ui/components/TextField/Addons/Outline.tsx +2 -2
  669. package/src/ui/components/TextField/helpers.tsx +2 -2
  670. package/src/ui/components/TextField/types.tsx +0 -1
  671. package/src/ui/components/TextField.tsx +1 -2
  672. package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +1 -1
  673. package/src/ui/components/feedback/feedbackStyles.ts +0 -2
  674. package/src/ui/components/fileManagement/AnimatedButton.tsx +0 -1
  675. package/src/ui/components/fileManagement/FileDetailsModal.tsx +71 -65
  676. package/src/ui/components/fileManagement/FileViewer.tsx +6 -9
  677. package/src/ui/components/fileManagement/UploadPreview.tsx +21 -25
  678. package/src/ui/components/fileManagement/styles.ts +206 -18
  679. package/src/ui/components/logo/LogoIcon.tsx +70 -0
  680. package/src/ui/components/logo/LogoText.tsx +70 -0
  681. package/src/ui/components/modals/DeleteAccountModal.tsx +56 -91
  682. package/src/ui/components/payment/PaymentDetailsStep.tsx +1 -1
  683. package/src/ui/components/payment/PaymentReviewStep.tsx +1 -1
  684. package/src/ui/components/payment/PaymentSuccessStep.tsx +1 -1
  685. package/src/ui/components/payment/paymentStyles.ts +0 -8
  686. package/src/ui/components/styles/overlay.tsx +17 -8
  687. package/src/ui/components/theming.tsx +0 -1
  688. package/src/ui/components/types.tsx +3 -2
  689. package/src/ui/context/OxyContext.tsx +34 -19
  690. package/src/ui/context/hooks/useAuthOperations.ts +1 -3
  691. package/src/ui/hooks/index.ts +11 -4
  692. package/src/ui/hooks/mutations/mutationFactory.ts +16 -1
  693. package/src/ui/hooks/mutations/mutationKeys.ts +28 -0
  694. package/src/ui/hooks/mutations/useAccountMutations.ts +251 -59
  695. package/src/ui/hooks/mutations/useServicesMutations.ts +10 -4
  696. package/src/ui/hooks/queries/index.ts +1 -0
  697. package/src/ui/hooks/queries/queryKeys.ts +2 -0
  698. package/src/ui/hooks/queries/useAccountQueries.ts +83 -3
  699. package/src/ui/hooks/queries/useSecurityQueries.ts +42 -2
  700. package/src/ui/hooks/queryClient.ts +194 -69
  701. package/src/ui/hooks/useAsyncAction.ts +3 -3
  702. package/src/ui/hooks/useAuth.ts +0 -2
  703. package/src/ui/hooks/useAvatarPicker.ts +108 -27
  704. package/src/ui/hooks/useFileDownloadUrl.ts +15 -39
  705. package/src/ui/hooks/useMutationStatus.ts +111 -0
  706. package/src/ui/hooks/useOnlineStatus.ts +29 -0
  707. package/src/ui/hooks/useSessionSocket.ts +136 -126
  708. package/src/ui/hooks/useSettingToggle.ts +1 -1
  709. package/src/ui/index.ts +0 -12
  710. package/src/ui/navigation/routes.ts +93 -2
  711. package/src/ui/screens/AccountCenterScreen.tsx +15 -13
  712. package/src/ui/screens/AccountOverviewScreen.tsx +94 -104
  713. package/src/ui/screens/AccountSettingsScreen.tsx +18 -17
  714. package/src/ui/screens/AccountSwitcherScreen.tsx +331 -298
  715. package/src/ui/screens/AccountVerificationScreen.tsx +15 -15
  716. package/src/ui/screens/AppInfoScreen.tsx +8 -13
  717. package/src/ui/screens/AvatarCropScreen.tsx +1073 -0
  718. package/src/ui/screens/CreateManagedAccountScreen.tsx +5 -16
  719. package/src/ui/screens/EditProfileFieldScreen.tsx +5 -10
  720. package/src/ui/screens/FAQScreen.tsx +3 -3
  721. package/src/ui/screens/FeedbackScreen.tsx +14 -12
  722. package/src/ui/screens/FileManagementScreen.tsx +885 -124
  723. package/src/ui/screens/HelpSupportScreen.tsx +2 -3
  724. package/src/ui/screens/HistoryViewScreen.tsx +24 -9
  725. package/src/ui/screens/LanguageSelectorScreen.tsx +1 -3
  726. package/src/ui/screens/LegalDocumentsScreen.tsx +3 -3
  727. package/src/ui/screens/PaymentGatewayScreen.tsx +2 -2
  728. package/src/ui/screens/PremiumSubscriptionScreen.tsx +51 -56
  729. package/src/ui/screens/PrivacySettingsScreen.tsx +22 -20
  730. package/src/ui/screens/ProfileScreen.tsx +1 -2
  731. package/src/ui/screens/SavesCollectionsScreen.tsx +2 -2
  732. package/src/ui/screens/SessionManagementScreen.tsx +35 -47
  733. package/src/ui/screens/UserLinksScreen.tsx +1 -2
  734. package/src/ui/screens/UserListScreen.tsx +30 -19
  735. package/src/ui/screens/WelcomeNewUserScreen.tsx +14 -18
  736. package/src/ui/screens/karma/KarmaAboutScreen.tsx +0 -3
  737. package/src/ui/screens/karma/KarmaCenterScreen.tsx +4 -8
  738. package/src/ui/screens/karma/KarmaFAQScreen.tsx +1 -1
  739. package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +3 -4
  740. package/src/ui/screens/karma/KarmaRewardsScreen.tsx +13 -18
  741. package/src/ui/screens/karma/KarmaRulesScreen.tsx +3 -4
  742. package/src/ui/server.ts +0 -4
  743. package/src/ui/styles/authStyles.ts +0 -5
  744. package/src/ui/styles/index.ts +0 -1
  745. package/src/ui/styles/spacing.ts +0 -43
  746. package/src/ui/styles/theme.ts +0 -4
  747. package/src/ui/utils/fileManagement.ts +66 -38
  748. package/src/ui/utils/sessionHelpers.ts +3 -1
  749. package/src/ui/utils/userUtils.ts +45 -29
  750. package/lib/commonjs/lib/sonner-safe.js +0 -32
  751. package/lib/commonjs/lib/sonner-safe.js.map +0 -1
  752. package/lib/commonjs/lib/sonner.js +0 -19
  753. package/lib/commonjs/lib/sonner.js.map +0 -1
  754. package/lib/commonjs/lib/sonner.native.js +0 -24
  755. package/lib/commonjs/lib/sonner.native.js.map +0 -1
  756. package/lib/commonjs/lib/sonner.web.js +0 -24
  757. package/lib/commonjs/lib/sonner.web.js.map +0 -1
  758. package/lib/commonjs/ui/hooks/useThemeColors.js +0 -33
  759. package/lib/commonjs/ui/hooks/useThemeColors.js.map +0 -1
  760. package/lib/commonjs/ui/hooks/useThemeStyles.js +0 -38
  761. package/lib/commonjs/ui/hooks/useThemeStyles.js.map +0 -1
  762. package/lib/commonjs/ui/styles/fonts.js +0 -84
  763. package/lib/commonjs/ui/styles/fonts.js.map +0 -1
  764. package/lib/module/lib/sonner-safe.js +0 -29
  765. package/lib/module/lib/sonner-safe.js.map +0 -1
  766. package/lib/module/lib/sonner.js +0 -14
  767. package/lib/module/lib/sonner.js.map +0 -1
  768. package/lib/module/lib/sonner.native.js +0 -19
  769. package/lib/module/lib/sonner.native.js.map +0 -1
  770. package/lib/module/lib/sonner.web.js +0 -19
  771. package/lib/module/lib/sonner.web.js.map +0 -1
  772. package/lib/module/ui/hooks/useThemeColors.js +0 -29
  773. package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
  774. package/lib/module/ui/hooks/useThemeStyles.js +0 -33
  775. package/lib/module/ui/hooks/useThemeStyles.js.map +0 -1
  776. package/lib/module/ui/styles/fonts.js +0 -81
  777. package/lib/module/ui/styles/fonts.js.map +0 -1
  778. package/lib/typescript/commonjs/lib/sonner-safe.d.ts +0 -9
  779. package/lib/typescript/commonjs/lib/sonner-safe.d.ts.map +0 -1
  780. package/lib/typescript/commonjs/lib/sonner.d.ts +0 -12
  781. package/lib/typescript/commonjs/lib/sonner.d.ts.map +0 -1
  782. package/lib/typescript/commonjs/lib/sonner.native.d.ts +0 -15
  783. package/lib/typescript/commonjs/lib/sonner.native.d.ts.map +0 -1
  784. package/lib/typescript/commonjs/lib/sonner.web.d.ts +0 -15
  785. package/lib/typescript/commonjs/lib/sonner.web.d.ts.map +0 -1
  786. package/lib/typescript/commonjs/ui/hooks/useThemeColors.d.ts +0 -87
  787. package/lib/typescript/commonjs/ui/hooks/useThemeColors.d.ts.map +0 -1
  788. package/lib/typescript/commonjs/ui/hooks/useThemeStyles.d.ts +0 -22
  789. package/lib/typescript/commonjs/ui/hooks/useThemeStyles.d.ts.map +0 -1
  790. package/lib/typescript/commonjs/ui/styles/fonts.d.ts +0 -21
  791. package/lib/typescript/commonjs/ui/styles/fonts.d.ts.map +0 -1
  792. package/lib/typescript/module/lib/sonner-safe.d.ts +0 -9
  793. package/lib/typescript/module/lib/sonner-safe.d.ts.map +0 -1
  794. package/lib/typescript/module/lib/sonner.d.ts +0 -12
  795. package/lib/typescript/module/lib/sonner.d.ts.map +0 -1
  796. package/lib/typescript/module/lib/sonner.native.d.ts +0 -15
  797. package/lib/typescript/module/lib/sonner.native.d.ts.map +0 -1
  798. package/lib/typescript/module/lib/sonner.web.d.ts +0 -15
  799. package/lib/typescript/module/lib/sonner.web.d.ts.map +0 -1
  800. package/lib/typescript/module/ui/hooks/useThemeColors.d.ts +0 -87
  801. package/lib/typescript/module/ui/hooks/useThemeColors.d.ts.map +0 -1
  802. package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts +0 -22
  803. package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts.map +0 -1
  804. package/lib/typescript/module/ui/styles/fonts.d.ts +0 -21
  805. package/lib/typescript/module/ui/styles/fonts.d.ts.map +0 -1
  806. package/src/lib/sonner-safe.ts +0 -31
  807. package/src/lib/sonner.native.ts +0 -28
  808. package/src/lib/sonner.ts +0 -11
  809. package/src/lib/sonner.web.ts +0 -28
  810. package/src/ui/hooks/useThemeColors.ts +0 -27
  811. package/src/ui/hooks/useThemeStyles.ts +0 -50
  812. package/src/ui/styles/fonts.ts +0 -77
@@ -0,0 +1,70 @@
1
+ import React, { type ReactElement } from 'react';
2
+ import Svg, { ClipPath, Defs, G, Path } from 'react-native-svg';
3
+ import type { ViewStyle } from 'react-native';
4
+ import { useTheme } from '@oxyhq/bloom/theme';
5
+
6
+ interface LogoIconProps {
7
+ /**
8
+ * Color of the primary fill. Defaults to the resolved Bloom theme primary
9
+ * color. Pass an explicit color for splash screens or contexts where the
10
+ * Bloom theme is not yet mounted.
11
+ */
12
+ color?: string;
13
+ /**
14
+ * Color of the interior letter overlay. Defaults to white. Override only
15
+ * when rendering on a light background where white would disappear.
16
+ */
17
+ letterColor?: string;
18
+ /** Height in pixels. Width is derived from the SVG viewBox aspect ratio. */
19
+ height?: number;
20
+ /** Style passed through to the root SVG element. */
21
+ style?: ViewStyle;
22
+ }
23
+
24
+ const VIEW_BOX_WIDTH = 1009.84;
25
+ const VIEW_BOX_HEIGHT = 1002.84;
26
+ const VIEW_BOX = `80.58 263.58 ${VIEW_BOX_WIDTH} ${VIEW_BOX_HEIGHT}`;
27
+ const CLIP_ID = 'oxy-logo-icon-clip';
28
+ const DEFAULT_HEIGHT = 64;
29
+
30
+ const OUTER_PATH =
31
+ 'M520.4336 284.25c-48.73438 5.57422-93.89844 40.73047-120.91016 93.60938-13.57422 26.72656-22.57813 60.8828-24.4375 92.32421l-.85547 15.29297-12.29297-6.28906c-34.8711-17.72266-66.16797-25.4414-103.75781-25.58203-33.15625-.14453-56.59375 4.85937-81.3164 17.14844-37.73048 18.86718-61.59767 48.16406-72.46095 88.60937-4 15.0039-4.42968 47.30469-.85546 63.59766 8.28906 36.8711 26.72656 70.74218 54.30859 99.46875 13.71875 14.14843 36.01562 32.30078 48.01953 39.01562 3.14453 1.85938 5.85938 3.71485 5.85938 4.14453 0 .4297-2.57422 2.28907-5.71875 4.14454-12.28907 7.0039-34.29688 25.01171-47.875 39.16015-59.88282 62.16797-74.60157 144.77344-36.30079 203.51172 21.4375 32.8711 55.3086 54.3086 99.1836 62.88281 17.57812 3.42969 53.44922 3.42969 72.74219 0 23.72656-4.28906 45.44921-11.57422 67.88671-22.86719l13.00391-6.57421v8.28906c0 19.15234 4.85938 46.44922 12.29297 68.88672 29.72656 90.03515 106.32812 140.6289 182.64453 120.76172 35.44531-9.28907 69.3164-35.15625 92.32422-70.7422 19.72266-30.58202 33.01562-72.60155 35.30078-111.7578l.85938-15.15235 12.71875 6.4336c36.01562 18.0078 66.74218 25.4375 105.47265 25.29687 36.15625-.14453 62.59766-6.86328 90.75-23.29687 14.71875-8.57422 36.30078-29.8711 44.875-44.16016 14.00781-23.29688 19.00781-41.875 19.15234-70.3164.14063-29.15235-3.85937-46.16016-17.57812-75.31641-16.57813-35.01563-49.02344-71.17188-83.17969-92.32422-5.28515-3.28516-9.71875-6.28906-9.71875-6.71484 0-.4297 4.4336-3.4297 9.71875-6.71875 24.15235-15.00391 52.45313-42.44532 68.17188-66.16797 25.4375-38.16016 36.8711-79.32032 32.30078-116.6211-7.71875-62.16797-52.02344-106.75781-119.48047-120.05078-19.00781-3.85547-54.8789-3.57031-75.7461.57422-21.72265 4.28516-39.73046 10.28906-60.30859 20.29297l-17.57812 8.4336v-8.14844c0-40.30079-16.57813-91.89454-40.16016-125.33594-27.72656-39.01563-64.88281-62.45313-107.61719-67.88672-12.71875-1.57031-14.14843-1.57031-29.4375.14453zm0 0';
32
+
33
+ const INNER_PURPLE_PATH =
34
+ 'M347.55328 964.6769c-49.26953 3.6211-93.6914-5.95703-133.25781-28.73437-36.3789-20.9414-67.09375-49.97656-92.14453-87.10547-23.0039-34.08984-41.0586-73.63281-54.16407-118.63281-12.41406-42.61719-20.35937-87.60156-23.83984-134.94922-3.27734-44.58203-1.6836-90.02734 4.78125-136.34375 6.73828-48.27734 19.41406-92.66406 38.02344-133.15625 19.95703-43.41797 46.86719-79.98047 80.73047-109.6875 38.33984-33.63672 84.80078-52.46094 139.38281-56.46875 54.17969-3.98437 101.57031 7.91797 142.17969 35.69922 35.92187 24.57422 65.29687 57.1836 88.13281 97.82031 20.57031 36.60938 36.33203 77.66797 47.28516 123.17969 10.30078 42.79687 17.04297 85.88672 20.23047 129.25781 3.62109 49.26953 2.11718 96.4414-4.51563 141.52344-6.98438 47.47266-19.98828 90.26563-39.00781 128.375-20.59375 41.27344-48.125 75.05078-82.58594 101.33594-36.99219 28.21093-80.73828 44.17578-131.23047 47.88672zm-10.72656-145.91796c21.5625-1.58594 39.30469-7.6875 53.22656-18.30469 16.45313-12.55078 29.91797-29.32813 40.40235-50.33203 12.0625-24.16797 20.44921-52.28125 25.16796-84.33984 5.06641-34.44922 6.1836-70.94922 3.35157-109.5-2.60547-35.4375-8.125-70.6875-16.5625-105.75-7.78907-32.34766-18.65235-60.9297-32.58985-85.7422-11.67578-20.77734-26.07422-37.02343-43.19531-48.73827-12.42969-8.50391-28.71094-12.01563-48.83984-10.53516-21.97657 1.61328-39.85157 8.46094-53.6172 20.53516-18.24218 16.0039-33 36.27343-44.27343 60.80468-12.61719 27.45313-21.30469 58.21485-26.0625 92.28125-5.02734 36.03516-6.28516 71.16407-3.76953 105.39454 2.72656 37.09375 8.85937 72.01171 18.39453 104.7539 8.84375 30.35938 20.5039 56.26563 34.97656 77.71875 12.42188 18.41016 27.03907 32.45703 43.84766 42.13281 13.6211 7.83985 30.13672 11.04688 49.54297 9.6211zm-13.76953-326.00781c5.33594-.39063 10.48047-1.96094 15.4336-4.70313 4.35155-2.41016 7.85546-5.32812 10.51171-8.75-1.22266 1.57422-2.5664 4.92188-4.03125 10.05078-2.5625 8.94922-4.1836 19.3789-4.86328 31.29688-.8086 14.15625-.6875 28.37109.36328 42.64453 1.21875 16.58984 3.5039 33.11328 6.86328 49.57031 3.08594 15.1289 6.90234 28.3125 11.44531 39.55078 2.89844 7.16016 5.48828 11.98047 7.77735 14.46094-2.85547-3.09375-6.64844-5.66797-11.38672-7.71875-6.2461-2.70703-12.67578-3.8164-19.28125-3.32813-7.82422.57422-15.04688 3.29688-21.66797 8.17188-4.82812 3.55469-8.26953 7.39844-10.32031 11.53516 3.17578-6.39844 5.63672-14.89063 7.38672-25.46875 2.29687-13.86329 3.46093-28.15625 3.49218-42.88282.03907-16.83593-.33203-30.52734-1.10546-41.07031-.91016-12.3711-2.70313-25.53906-5.37891-39.4961-2.34766-12.23046-5.45313-23.22265-9.3164-32.97656-2.39454-6.03515-4.7461-10.35547-7.0625-12.96093 3.26952 3.67968 7.53906 6.64453 12.80859 8.88671 6.05859 2.57813 12.17187 3.64063 18.33203 3.1875zm-10.72266-145.91797c17.42188-1.28125 33.98047 1.41797 49.6836 8.10156 14.90624 6.34375 28.0078 15.8711 39.29687 28.58594 13.73047 15.45703 24.95703 34.1914 33.67969 56.20703 7.2539 18.29687 12.91797 38.07031 16.99218 59.32812 3.7461 19.52735 6.28125 38.30469 7.60547 56.33203 1.04688 14.22266 1.54688 31.59766 1.5 52.1211-.05078 22.63672-1.87109 44.78515-5.45312 66.44531-4.1289 24.9414-11.01563 47.13672-20.65625 66.58203-8.46094 17.0586-19.80078 30.82422-34.02735 41.29297-16.01953 11.78906-34.1328 18.42969-54.33984 19.91406-17.30078 1.26953-33.82812-1.5039-49.57422-8.32031-14.23828-6.16406-26.9336-15.30078-38.08984-27.40625-14.3164-15.54297-26.2539-35.1211-35.8086-58.74219-7.90234-19.54297-14.29296-41.26562-19.16796-65.17187-4.60547-22.57422-7.7461-45.26953-9.42578-68.08594-1.51563-20.6289-1.6875-41.19922-.51563-61.71484 1.30078-22.75391 4.72266-43.82032 10.26953-63.20313 6.63672-23.19922 16.32422-43.01562 29.0625-59.44531 9.63672-12.42969 21.04688-22.29297 34.23828-29.59766 13.78906-7.63672 28.69922-12.04687 44.73047-13.22265zm0 0';
35
+
36
+ const INNER_LETTERS_PATH =
37
+ 'M342.19 891.70425c-34.34375 2.53125-64.8125-3.85547-91.40625-19.15625-26.59375-15.3125-49.26172-36.85156-68-64.625-18.73047-27.78125-33.58594-60.5039-44.5625-98.17188-10.96875-37.67578-18.0039-77.625-21.10938-119.84375-2.89453-39.40625-1.46874-79.6953 4.28126-120.875 5.75-41.17578 16.42578-78.75 32.03124-112.71875 15.61329-33.97656 36.44532-62.39453 62.5-85.25 26.05079-22.85156 58.21875-35.6875 96.5-38.5 37.14454-2.72656 68.97657 4.98047 95.5 23.125 26.51954 18.13672 48.40625 42.5625 65.65625 73.28126 17.25782 30.71093 30.57032 65.53125 39.9375 104.46875 9.375 38.92968 15.50782 78.09375 18.40626 117.5 3.22656 43.90625 1.91406 85.74609-3.9375 125.51562-5.84375 39.76172-16.53907 75.21094-32.07813 106.34375-15.54297 31.13672-36.04297 56.41406-61.5 75.82813-25.44922 19.40625-56.1875 30.42968-92.21875 33.07812zm-24.5-471.89063c-10.69922.78125-19.53906 5.67188-26.51563 14.67188-6.98046 8.99219-12.49609 20.57031-16.54687 34.73438-4.04297 14.16796-6.5625 29.92187-7.5625 47.26562-.99219 17.33594-.84375 34.73047.4375 52.1875 1.44531 19.69922 4.16016 39.30469 8.14063 58.8125 3.98828 19.51172 9.09375 36.96484 15.3125 52.35938 6.22656 15.39843 13.49218 27.60156 21.79687 36.60937 8.30078 9 17.80078 13.10938 28.5 12.32813 12.38281-.91407 21.78125-7.83204 28.1875-20.75 6.40625-12.91407 11.07813-28.25391 14.01563-46.01563 2.9453-17.75781 4.4414-35.97656 4.48437-54.65625.03906-18.6875-.39844-34.21875-1.3125-46.59375-1.11719-15.19531-3.28125-31.17188-6.5-47.92188-3.21094-16.75-7.59375-32.1328-13.15625-46.15625-5.55469-14.01953-12.33984-25.54687-20.35938-34.57812-8.02343-9.03125-17.66406-13.1289-28.92187-12.29688z';
38
+
39
+ const CLIP_PATH = 'M0 0h1427v1151H0z';
40
+
41
+ export const LogoIcon: React.FC<LogoIconProps> = ({
42
+ color,
43
+ letterColor,
44
+ height: heightProp,
45
+ style,
46
+ }): ReactElement => {
47
+ const height = heightProp ?? DEFAULT_HEIGHT;
48
+ const width = height * (VIEW_BOX_WIDTH / VIEW_BOX_HEIGHT);
49
+
50
+ const theme = useTheme();
51
+ const resolvedColor = color ?? theme.colors.primary;
52
+ const resolvedLetterColor = letterColor ?? '#ffffff';
53
+
54
+ return (
55
+ <Svg width={width} height={height} viewBox={VIEW_BOX} style={style}>
56
+ <Defs>
57
+ <ClipPath id={CLIP_ID}>
58
+ <Path d={CLIP_PATH} />
59
+ </ClipPath>
60
+ </Defs>
61
+ <Path d={OUTER_PATH} fill={resolvedColor} />
62
+ <G clipPath={`url(#${CLIP_ID})`} transform="translate(465 188)">
63
+ <Path d={INNER_PURPLE_PATH} fill={resolvedColor} />
64
+ <Path d={INNER_LETTERS_PATH} fill={resolvedLetterColor} />
65
+ </G>
66
+ </Svg>
67
+ );
68
+ };
69
+
70
+ export default LogoIcon;
@@ -0,0 +1,70 @@
1
+ import React, { type ReactElement } from 'react';
2
+ import Svg, { G, Path } from 'react-native-svg';
3
+ import type { ViewStyle } from 'react-native';
4
+ import { useTheme } from '@oxyhq/bloom/theme';
5
+
6
+ interface LogoTextProps {
7
+ /**
8
+ * Color of the primary fill. Defaults to the resolved Bloom theme primary
9
+ * color. Pass an explicit color for splash screens or contexts where the
10
+ * Bloom theme is not yet mounted.
11
+ */
12
+ color?: string;
13
+ /**
14
+ * Color of the interior letter overlay. Defaults to white. Override only
15
+ * when rendering on a light background where white would disappear.
16
+ */
17
+ letterColor?: string;
18
+ /** Height in pixels. Width is derived from the SVG viewBox aspect ratio. */
19
+ height?: number;
20
+ /** Style passed through to the root SVG element. */
21
+ style?: ViewStyle;
22
+ }
23
+
24
+ const VIEW_BOX_WIDTH = 41;
25
+ const VIEW_BOX_HEIGHT = 22;
26
+ const DEFAULT_HEIGHT = 26;
27
+
28
+ const OUTER_PATHS = [
29
+ 'M 9.492 0.03 C 8.39 0.157 7.368 0.958 6.758 2.163 C 6.451 2.772 6.247 3.55 6.205 4.266 L 6.186 4.615 L 5.908 4.472 C 5.119 4.068 4.411 3.892 3.561 3.889 C 2.811 3.885 2.281 3.999 1.722 4.279 C 0.869 4.709 0.329 5.377 0.084 6.298 C -0.007 6.64 -0.016 7.376 0.064 7.747 C 0.252 8.588 0.669 9.359 1.292 10.014 C 1.603 10.336 2.107 10.75 2.378 10.903 C 2.449 10.945 2.511 10.987 2.511 10.997 C 2.511 11.007 2.453 11.049 2.382 11.092 C 2.104 11.251 1.606 11.662 1.299 11.984 C -0.055 13.401 -0.388 15.283 0.478 16.621 C 0.963 17.37 1.729 17.859 2.721 18.054 C 3.119 18.132 3.93 18.132 4.366 18.054 C 4.903 17.956 5.394 17.79 5.901 17.533 L 6.195 17.383 L 6.195 17.572 C 6.195 18.008 6.305 18.63 6.473 19.142 C 7.146 21.193 8.878 22.346 10.604 21.893 C 11.405 21.682 12.171 21.092 12.691 20.281 C 13.137 19.584 13.438 18.627 13.49 17.735 L 13.509 17.39 L 13.797 17.536 C 14.611 17.947 15.306 18.116 16.182 18.113 C 17 18.109 17.597 17.956 18.234 17.582 C 18.567 17.386 19.055 16.901 19.249 16.575 C 19.566 16.045 19.679 15.621 19.682 14.973 C 19.685 14.309 19.595 13.922 19.284 13.257 C 18.91 12.459 18.176 11.636 17.404 11.154 C 17.284 11.079 17.184 11.01 17.184 11.001 C 17.184 10.991 17.284 10.922 17.404 10.848 C 17.95 10.506 18.59 9.88 18.945 9.34 C 19.52 8.47 19.779 7.532 19.676 6.683 C 19.501 5.266 18.499 4.25 16.974 3.947 C 16.544 3.859 15.733 3.866 15.261 3.96 C 14.769 4.058 14.362 4.195 13.897 4.423 L 13.499 4.615 L 13.499 4.429 C 13.499 3.511 13.124 2.335 12.591 1.573 C 11.964 0.684 11.124 0.15 10.158 0.027 C 9.87 -0.009 9.838 -0.009 9.492 0.03 Z',
30
+ 'M 15.54 19.794 C 14.425 19.874 13.421 19.654 12.528 19.133 C 11.706 18.654 11.013 17.991 10.448 17.143 C 9.93 16.365 9.523 15.464 9.229 14.438 C 8.951 13.466 8.773 12.44 8.697 11.361 C 8.625 10.346 8.663 9.31 8.812 8.255 C 8.967 7.155 9.255 6.145 9.678 5.223 C 10.132 4.235 10.742 3.403 11.509 2.728 C 12.378 1.963 13.43 1.537 14.664 1.448 C 15.89 1.36 16.961 1.634 17.878 2.269 C 18.689 2.83 19.351 3.575 19.866 4.502 C 20.329 5.337 20.683 6.273 20.929 7.311 C 21.16 8.287 21.31 9.269 21.38 10.257 C 21.459 11.38 21.423 12.455 21.271 13.482 C 21.11 14.563 20.814 15.537 20.382 16.405 C 19.915 17.344 19.29 18.112 18.51 18.71 C 17.672 19.351 16.682 19.712 15.54 19.794 Z',
31
+ 'M 31.928 3.669 C 31.925 4.125 31.844 4.596 31.686 5.082 C 31.559 5.471 31.403 5.862 31.216 6.255 C 31.045 6.614 30.862 6.967 30.665 7.313 C 30.505 7.595 30.344 7.877 30.18 8.157 L 28.754 7.312 L 30.21 8.105 L 29.317 9.767 C 29.002 10.357 28.67 10.938 28.322 11.509 L 26.912 10.636 L 28.342 9.798 C 28.517 10.101 28.739 10.508 29.007 11.017 C 29.281 11.537 29.547 12.084 29.806 12.656 C 30.071 13.242 30.302 13.815 30.5 14.377 C 30.746 15.076 30.867 15.691 30.863 16.221 C 30.859 16.798 30.701 17.334 30.388 17.828 C 30.154 18.196 29.849 18.477 29.47 18.67 C 29.123 18.847 28.742 18.934 28.328 18.931 C 27.59 18.925 26.895 18.65 26.243 18.105 C 25.802 17.736 25.39 17.303 25.006 16.807 C 24.66 16.36 24.342 15.901 24.053 15.431 C 23.787 15.001 23.576 14.651 23.418 14.382 L 24.843 13.535 L 26.145 14.563 C 25.915 14.858 25.68 15.149 25.44 15.436 C 25.226 15.691 25.017 15.95 24.812 16.213 L 24.289 16.87 C 24.053 17.165 23.796 17.454 23.519 17.736 C 23.199 18.063 22.866 18.341 22.518 18.571 C 21.989 18.921 21.443 19.094 20.879 19.09 C 20.387 19.086 19.951 18.959 19.571 18.707 C 19.253 18.496 18.995 18.225 18.796 17.891 C 18.633 17.619 18.517 17.323 18.447 17.003 C 18.39 16.742 18.362 16.476 18.364 16.209 C 18.368 15.63 18.467 15.053 18.662 14.478 C 18.827 13.991 19.02 13.537 19.242 13.113 L 20.705 13.891 L 19.213 13.17 C 19.86 11.811 20.539 10.468 21.248 9.141 L 22.705 9.931 L 21.207 10.64 C 21.054 10.311 20.868 9.866 20.648 9.304 C 20.433 8.754 20.221 8.178 20.014 7.576 C 19.799 6.956 19.615 6.351 19.462 5.761 C 19.281 5.071 19.193 4.485 19.196 4.003 C 19.201 3.312 19.378 2.689 19.727 2.132 C 19.987 1.718 20.333 1.407 20.766 1.197 C 21.143 1.015 21.562 0.925 22.021 0.928 C 22.562 0.932 23.063 1.079 23.524 1.368 C 23.858 1.577 24.16 1.837 24.431 2.146 C 24.663 2.41 24.87 2.695 25.049 2.997 C 25.215 3.277 25.35 3.543 25.456 3.796 L 23.93 4.442 L 25.429 3.736 L 26.071 5.12 C 26.3 5.611 26.515 6.12 26.717 6.647 L 25.174 7.248 L 23.744 6.411 C 23.85 6.227 23.994 5.979 24.178 5.668 C 24.375 5.332 24.6 4.977 24.85 4.604 C 25.1 4.233 25.369 3.856 25.658 3.473 C 25.972 3.057 26.296 2.679 26.63 2.34 C 27 1.964 27.382 1.65 27.775 1.399 C 28.338 1.039 28.909 0.861 29.489 0.866 C 29.946 0.869 30.358 0.988 30.727 1.224 C 31.091 1.457 31.372 1.778 31.572 2.188 C 31.813 2.681 31.931 3.175 31.928 3.669 Z',
32
+ 'M 40.986 4.834 C 40.933 5.517 40.79 6.249 40.557 7.031 C 40.34 7.757 40.079 8.484 39.773 9.214 C 39.475 9.924 39.159 10.612 38.823 11.279 C 38.495 11.932 38.191 12.51 37.912 13.013 C 37.77 13.27 37.593 13.602 37.38 14.008 C 37.153 14.44 36.902 14.898 36.626 15.384 C 36.341 15.884 36.044 16.378 35.736 16.864 C 35.396 17.401 35.047 17.882 34.688 18.309 C 34.291 18.781 33.882 19.17 33.461 19.476 C 32.82 19.942 32.152 20.147 31.456 20.092 C 30.985 20.055 30.567 19.922 30.2 19.693 C 29.785 19.434 29.471 19.078 29.258 18.625 C 28.983 18.042 28.872 17.417 28.924 16.749 C 28.964 16.227 29.09 15.692 29.302 15.145 C 29.483 14.676 29.701 14.215 29.956 13.762 C 30.199 13.33 30.464 12.911 30.75 12.508 C 31.013 12.138 31.257 11.805 31.483 11.51 L 32.794 12.527 L 32.268 14.107 C 31.831 13.96 31.421 13.731 31.038 13.42 C 30.587 13.053 30.259 12.617 30.055 12.11 L 30.044 12.083 L 30.034 12.056 C 29.854 11.56 29.673 11.005 29.491 10.392 C 29.306 9.766 29.145 9.133 29.01 8.495 C 28.873 7.847 28.767 7.201 28.692 6.558 C 28.61 5.857 28.592 5.209 28.639 4.613 C 28.665 4.28 28.727 3.928 28.826 3.558 C 28.94 3.129 29.109 2.732 29.333 2.366 C 29.595 1.938 29.927 1.585 30.33 1.307 C 30.861 0.94 31.467 0.784 32.147 0.838 C 32.536 0.869 32.901 0.973 33.241 1.151 C 33.567 1.322 33.857 1.553 34.111 1.845 C 34.464 2.251 34.759 2.737 34.995 3.303 C 35.203 3.8 35.369 4.342 35.494 4.93 C 35.605 5.453 35.696 5.969 35.768 6.478 C 35.838 6.977 35.891 7.436 35.927 7.855 C 35.958 8.208 35.987 8.478 36.016 8.664 L 34.381 8.917 L 32.82 8.363 C 32.894 8.154 33.01 7.847 33.17 7.444 C 33.331 7.038 33.522 6.592 33.741 6.107 C 33.966 5.61 34.219 5.103 34.5 4.585 C 34.795 4.041 35.102 3.546 35.423 3.098 C 35.792 2.584 36.186 2.159 36.605 1.823 C 37.245 1.31 37.928 1.082 38.654 1.139 C 38.981 1.165 39.284 1.254 39.565 1.406 C 39.849 1.559 40.091 1.767 40.293 2.029 C 40.541 2.351 40.722 2.717 40.835 3.124 C 40.924 3.444 40.977 3.772 40.992 4.104 C 41.004 4.38 41.003 4.624 40.986 4.834 Z',
33
+ ];
34
+
35
+ const INNER_LETTER_PATHS = [
36
+ 'M 5.106 15.637 C 4.33 15.692 3.641 15.545 3.04 15.195 C 2.439 14.845 1.928 14.353 1.505 13.719 C 1.083 13.086 0.749 12.339 0.502 11.48 C 0.256 10.621 0.099 9.71 0.031 8.748 C -0.033 7.85 0.002 6.932 0.134 5.994 C 0.266 5.056 0.509 4.201 0.864 3.427 C 1.219 2.654 1.691 2.007 2.281 1.488 C 2.872 0.968 3.6 0.678 4.466 0.615 C 5.306 0.555 6.026 0.733 6.625 1.148 C 7.224 1.562 7.717 2.12 8.106 2.82 C 8.495 3.521 8.794 4.315 9.004 5.202 C 9.214 6.09 9.351 6.983 9.414 7.881 C 9.485 8.881 9.453 9.834 9.319 10.74 C 9.184 11.646 8.941 12.454 8.588 13.162 C 8.235 13.871 7.77 14.446 7.194 14.887 C 6.617 15.328 5.921 15.578 5.106 15.637 Z M 4.576 4.882 C 4.334 4.9 4.134 5.011 3.975 5.216 C 3.817 5.42 3.692 5.684 3.6 6.006 C 3.508 6.329 3.45 6.688 3.427 7.083 C 3.403 7.478 3.406 7.874 3.434 8.272 C 3.466 8.722 3.526 9.17 3.615 9.612 C 3.704 10.057 3.818 10.455 3.958 10.806 C 4.098 11.157 4.262 11.436 4.449 11.641 C 4.637 11.847 4.852 11.941 5.094 11.924 C 5.373 11.904 5.586 11.747 5.731 11.453 C 5.877 11.159 5.983 10.809 6.051 10.405 C 6.118 10 6.153 9.585 6.155 9.159 C 6.157 8.734 6.148 8.38 6.128 8.097 C 6.103 7.751 6.055 7.387 5.983 7.005 C 5.911 6.624 5.813 6.273 5.688 5.953 C 5.563 5.633 5.41 5.37 5.229 5.164 C 5.048 4.958 4.83 4.864 4.576 4.882 Z',
37
+ 'M 19.958 1.162 C 19.956 1.445 19.902 1.747 19.798 2.068 C 19.694 2.388 19.564 2.712 19.408 3.039 C 19.254 3.362 19.089 3.68 18.913 3.991 C 18.757 4.267 18.599 4.542 18.439 4.816 C 18.14 5.37 17.843 5.924 17.547 6.479 C 17.246 7.042 16.929 7.596 16.597 8.141 C 16.76 8.425 16.971 8.812 17.23 9.303 C 17.488 9.793 17.74 10.31 17.985 10.852 C 18.23 11.394 18.443 11.923 18.625 12.439 C 18.806 12.954 18.895 13.379 18.893 13.713 C 18.891 13.971 18.819 14.212 18.677 14.436 C 18.536 14.66 18.318 14.771 18.025 14.769 C 17.68 14.766 17.333 14.619 16.984 14.327 C 16.635 14.036 16.306 13.689 15.996 13.288 C 15.686 12.887 15.401 12.477 15.143 12.057 C 14.884 11.637 14.679 11.298 14.527 11.04 C 14.31 11.319 14.088 11.594 13.86 11.865 C 13.634 12.135 13.412 12.41 13.195 12.689 C 13.025 12.904 12.854 13.118 12.683 13.332 C 12.483 13.582 12.264 13.828 12.026 14.071 C 11.789 14.313 11.545 14.517 11.294 14.682 C 11.044 14.848 10.804 14.93 10.574 14.928 C 10.408 14.927 10.271 14.89 10.163 14.819 C 10.055 14.748 9.967 14.654 9.897 14.537 C 9.828 14.421 9.778 14.292 9.748 14.15 C 9.717 14.011 9.701 13.868 9.702 13.725 C 9.705 13.327 9.775 12.925 9.911 12.521 C 10.049 12.117 10.208 11.742 10.389 11.396 C 11.025 10.06 11.692 8.74 12.389 7.436 C 12.25 7.139 12.078 6.726 11.871 6.198 C 11.664 5.669 11.46 5.115 11.26 4.534 C 11.06 3.954 10.889 3.39 10.746 2.842 C 10.602 2.295 10.532 1.854 10.534 1.519 C 10.537 1.146 10.628 0.816 10.809 0.528 C 10.99 0.24 11.285 0.097 11.694 0.1 C 11.923 0.102 12.137 0.165 12.334 0.288 C 12.53 0.412 12.711 0.567 12.876 0.755 C 13.04 0.941 13.186 1.142 13.312 1.356 C 13.439 1.569 13.539 1.766 13.615 1.946 C 13.827 2.408 14.041 2.87 14.256 3.33 C 14.47 3.789 14.671 4.263 14.859 4.753 C 14.962 4.573 15.104 4.33 15.285 4.022 C 15.466 3.715 15.672 3.389 15.905 3.043 C 16.137 2.698 16.388 2.346 16.658 1.988 C 16.929 1.63 17.206 1.307 17.488 1.02 C 17.771 0.732 18.057 0.496 18.346 0.312 C 18.634 0.127 18.906 0.035 19.161 0.037 C 19.442 0.039 19.646 0.169 19.771 0.428 C 19.897 0.686 19.959 0.931 19.958 1.162 Z',
38
+ 'M 29.021 2.208 C 28.977 2.772 28.855 3.388 28.656 4.057 C 28.457 4.724 28.216 5.396 27.933 6.07 C 27.651 6.744 27.35 7.398 27.032 8.031 C 26.713 8.664 26.42 9.221 26.153 9.703 C 26.003 9.975 25.82 10.318 25.602 10.733 C 25.384 11.148 25.142 11.59 24.874 12.06 C 24.602 12.537 24.319 13.009 24.025 13.473 C 23.725 13.946 23.421 14.367 23.11 14.735 C 22.8 15.104 22.489 15.402 22.177 15.629 C 21.865 15.856 21.563 15.958 21.27 15.935 C 20.863 15.903 20.585 15.73 20.436 15.414 C 20.288 15.099 20.228 14.756 20.257 14.385 C 20.285 14.026 20.375 13.649 20.528 13.255 C 20.68 12.86 20.864 12.472 21.079 12.089 C 21.293 11.708 21.527 11.339 21.779 10.983 C 22.031 10.629 22.264 10.312 22.478 10.032 C 22.228 9.948 21.989 9.812 21.76 9.627 C 21.531 9.441 21.369 9.228 21.272 8.988 C 21.104 8.523 20.933 8 20.761 7.419 C 20.588 6.836 20.438 6.247 20.312 5.652 C 20.186 5.055 20.088 4.46 20.019 3.868 C 19.95 3.276 19.934 2.736 19.973 2.249 C 19.99 2.018 20.035 1.767 20.108 1.495 C 20.18 1.223 20.286 0.973 20.425 0.745 C 20.564 0.518 20.739 0.332 20.949 0.187 C 21.158 0.043 21.41 -0.018 21.703 0.005 C 22.033 0.031 22.316 0.179 22.551 0.449 C 22.786 0.719 22.987 1.054 23.154 1.455 C 23.322 1.854 23.457 2.297 23.56 2.783 C 23.663 3.269 23.748 3.746 23.814 4.216 C 23.88 4.685 23.929 5.115 23.963 5.505 C 23.997 5.894 24.031 6.2 24.064 6.422 C 24.131 6.234 24.239 5.949 24.391 5.567 C 24.542 5.186 24.722 4.765 24.93 4.304 C 25.139 3.843 25.374 3.372 25.636 2.89 C 25.898 2.407 26.168 1.97 26.448 1.58 C 26.728 1.189 27.018 0.873 27.319 0.632 C 27.619 0.392 27.916 0.283 28.209 0.306 C 28.399 0.321 28.553 0.404 28.669 0.555 C 28.786 0.706 28.872 0.88 28.927 1.078 C 28.982 1.277 29.014 1.481 29.023 1.686 C 29.032 1.893 29.032 2.067 29.021 2.208 Z',
39
+ ];
40
+
41
+ export const LogoText: React.FC<LogoTextProps> = ({
42
+ color,
43
+ letterColor,
44
+ height: heightProp,
45
+ style,
46
+ }): ReactElement => {
47
+ const height = heightProp ?? DEFAULT_HEIGHT;
48
+ const width = height * (VIEW_BOX_WIDTH / VIEW_BOX_HEIGHT);
49
+
50
+ const theme = useTheme();
51
+ const resolvedColor = color ?? theme.colors.primary;
52
+ const resolvedLetterColor = letterColor ?? '#ffffff';
53
+
54
+ return (
55
+ <Svg viewBox={`0 0 ${VIEW_BOX_WIDTH} ${VIEW_BOX_HEIGHT}`} width={width} height={height} style={style}>
56
+ <G>
57
+ {OUTER_PATHS.map((d, i) => (
58
+ <Path key={`outer-${i}`} d={d} fill={resolvedColor} />
59
+ ))}
60
+ </G>
61
+ <G transform="translate(10.316 2.495)">
62
+ {INNER_LETTER_PATHS.map((d, i) => (
63
+ <Path key={`inner-${i}`} d={d} fill={resolvedLetterColor} />
64
+ ))}
65
+ </G>
66
+ </Svg>
67
+ );
68
+ };
69
+
70
+ export default LogoText;
@@ -1,17 +1,14 @@
1
1
  import type React from 'react';
2
2
  import { useState, useCallback } from 'react';
3
- import { View, Text, TextInput, TouchableOpacity } from 'react-native';
4
- import * as Dialog from '@oxyhq/bloom/dialog';
5
- import type { DialogControlProps } from '@oxyhq/bloom/dialog';
6
- import * as Prompt from '@oxyhq/bloom/prompt';
3
+ import { View, Text, TextInput } from 'react-native';
4
+ import { Dialog, type DialogControlProps } from '@oxyhq/bloom';
7
5
  import OxyIcon from '../icon/OxyIcon';
8
6
  import { useTheme } from '@oxyhq/bloom/theme';
9
- import { Loading } from '@oxyhq/bloom/loading';
10
7
 
11
8
  interface DeleteAccountModalProps {
12
9
  control: DialogControlProps;
13
10
  username: string;
14
- onDelete: (password: string) => Promise<void>;
11
+ onDelete: (confirmText: string) => Promise<void>;
15
12
  t: (key: string, params?: Record<string, string>) => string | undefined;
16
13
  }
17
14
 
@@ -22,13 +19,11 @@ const DeleteAccountModal: React.FC<DeleteAccountModalProps> = ({
22
19
  t,
23
20
  }) => {
24
21
  const theme = useTheme();
25
- const [password, setPassword] = useState('');
26
22
  const [confirmUsername, setConfirmUsername] = useState('');
27
23
  const [isDeleting, setIsDeleting] = useState(false);
28
24
  const [error, setError] = useState<string | null>(null);
29
- const [showPassword, setShowPassword] = useState(false);
30
25
 
31
- const isValid = password.length > 0 && confirmUsername === username;
26
+ const isValid = confirmUsername === username;
32
27
 
33
28
  const handleDelete = useCallback(async () => {
34
29
  if (!isValid) return;
@@ -37,108 +32,78 @@ const DeleteAccountModal: React.FC<DeleteAccountModalProps> = ({
37
32
  setIsDeleting(true);
38
33
 
39
34
  try {
40
- await onDelete(password);
35
+ await onDelete(confirmUsername);
41
36
  // Dialog will be closed by parent on success
42
37
  } catch (err: unknown) {
43
38
  setError((err instanceof Error ? err.message : null) || t('deleteAccount.error') || 'Failed to delete account');
44
39
  } finally {
45
40
  setIsDeleting(false);
46
41
  }
47
- }, [isValid, password, onDelete, t]);
42
+ }, [isValid, confirmUsername, onDelete, t]);
48
43
 
49
44
  const handleCleanup = useCallback(() => {
50
45
  if (isDeleting) return;
51
- setPassword('');
52
46
  setConfirmUsername('');
53
47
  setError(null);
54
- setShowPassword(false);
55
48
  }, [isDeleting]);
56
49
 
57
50
  return (
58
- <Dialog.Outer control={control} onClose={handleCleanup}>
59
- <Dialog.Handle />
60
- <Dialog.ScrollableInner label="Delete Account">
61
- <View className="flex-row items-center mb-4 gap-3">
62
- <OxyIcon name="alert" size={32} color={theme.colors.error} />
63
- <Text className="text-destructive text-xl font-bold">
64
- {t('deleteAccount.title') || 'Delete Account'}
65
- </Text>
66
- </View>
67
-
68
- <Text className="text-foreground text-sm leading-5 mb-5">
69
- {t('deleteAccount.warning') || 'This action cannot be undone. Your account and all associated data will be permanently deleted.'}
51
+ <Dialog
52
+ control={control}
53
+ onClose={handleCleanup}
54
+ label="Delete Account"
55
+ actions={[
56
+ {
57
+ label: t('deleteAccount.confirm') || 'Delete Forever',
58
+ color: 'destructive',
59
+ onPress: handleDelete,
60
+ disabled: !isValid || isDeleting,
61
+ shouldCloseOnPress: false,
62
+ },
63
+ { label: t('common.cancel') || 'Cancel', color: 'cancel' },
64
+ ]}
65
+ >
66
+ <View className="flex-row items-center mb-4 gap-3">
67
+ <OxyIcon name="alert" size={32} color={theme.colors.error} />
68
+ <Text className="text-destructive text-xl font-bold">
69
+ {t('deleteAccount.title') || 'Delete Account'}
70
70
  </Text>
71
+ </View>
71
72
 
72
- {error && (
73
- <View
74
- className="p-3 rounded-lg mb-4"
75
- style={{ backgroundColor: `${theme.colors.error}20` }}
76
- >
77
- <Text className="text-destructive text-sm text-center">
78
- {error}
79
- </Text>
80
- </View>
81
- )}
73
+ <Text className="text-foreground text-sm leading-5 mb-5">
74
+ {t('deleteAccount.warning') || 'This action cannot be undone. Your account and all associated data will be permanently deleted.'}
75
+ </Text>
82
76
 
83
- <View className="mb-4">
84
- <Text className="text-muted-foreground text-[13px] mb-2">
85
- {t('deleteAccount.passwordLabel') || 'Enter your password'}
77
+ {error && (
78
+ <View
79
+ className="p-3 rounded-lg mb-4"
80
+ style={{ backgroundColor: `${theme.colors.error}20` }}
81
+ >
82
+ <Text className="text-destructive text-sm text-center">
83
+ {error}
86
84
  </Text>
87
- <View className="flex-row items-center border border-border bg-background rounded-lg">
88
- <TextInput
89
- className="text-foreground flex-1 text-base py-3 px-4"
90
- value={password}
91
- onChangeText={setPassword}
92
- placeholder={t('deleteAccount.passwordPlaceholder') || 'Password'}
93
- placeholderTextColor={theme.colors.textSecondary}
94
- secureTextEntry={!showPassword}
95
- autoCapitalize="none"
96
- editable={!isDeleting}
97
- />
98
- <TouchableOpacity
99
- onPress={() => setShowPassword(!showPassword)}
100
- className="p-3"
101
- >
102
- <OxyIcon
103
- name={showPassword ? 'eye-off' : 'eye'}
104
- size={20}
105
- color={theme.colors.textSecondary}
106
- />
107
- </TouchableOpacity>
108
- </View>
109
85
  </View>
86
+ )}
110
87
 
111
- <View className="mb-4">
112
- <Text className="text-muted-foreground text-[13px] mb-2">
113
- {t('deleteAccount.confirmLabel', { username }) || `Type "${username}" to confirm`}
114
- </Text>
115
- <TextInput
116
- className="text-foreground bg-background text-base py-3 px-4 border rounded-lg"
117
- style={{
118
- borderColor: confirmUsername === username ? theme.colors.success : theme.colors.border,
119
- }}
120
- value={confirmUsername}
121
- onChangeText={setConfirmUsername}
122
- placeholder={username}
123
- placeholderTextColor={theme.colors.textSecondary}
124
- autoCapitalize="none"
125
- autoCorrect={false}
126
- editable={!isDeleting}
127
- />
128
- </View>
129
-
130
- <Prompt.Actions>
131
- <Prompt.Action
132
- onPress={handleDelete}
133
- color="negative"
134
- cta={isDeleting ? undefined : (t('deleteAccount.confirm') || 'Delete Forever')}
135
- disabled={!isValid || isDeleting}
136
- shouldCloseOnPress={false}
137
- />
138
- <Prompt.Cancel cta={t('common.cancel') || 'Cancel'} />
139
- </Prompt.Actions>
140
- </Dialog.ScrollableInner>
141
- </Dialog.Outer>
88
+ <View className="mb-4">
89
+ <Text className="text-muted-foreground text-[13px] mb-2">
90
+ {t('deleteAccount.confirmLabel', { username }) || `Type "${username}" to confirm`}
91
+ </Text>
92
+ <TextInput
93
+ className="text-foreground bg-background text-base py-3 px-4 border rounded-lg"
94
+ style={{
95
+ borderColor: confirmUsername === username ? theme.colors.success : theme.colors.border,
96
+ }}
97
+ value={confirmUsername}
98
+ onChangeText={setConfirmUsername}
99
+ placeholder={username}
100
+ placeholderTextColor={theme.colors.textSecondary}
101
+ autoCapitalize="none"
102
+ autoCorrect={false}
103
+ editable={!isDeleting}
104
+ />
105
+ </View>
106
+ </Dialog>
142
107
  );
143
108
  };
144
109
 
@@ -6,7 +6,7 @@ import { Button } from '@oxyhq/bloom/button';
6
6
  import TextField from '../TextField';
7
7
  import { FAIRWalletIcon } from '../icon';
8
8
  import { createPaymentStyles } from './paymentStyles';
9
- import { toast } from '../../../lib/sonner';
9
+ import { toast } from '@oxyhq/bloom';
10
10
  import type { CardDetails, PaymentColors, PaymentStepAnimations } from './types';
11
11
  import { useI18n } from '../../hooks/useI18n';
12
12
 
@@ -59,7 +59,7 @@ const PaymentReviewStep: React.FC<PaymentReviewStepProps> = ({
59
59
 
60
60
  <SettingsListGroup>
61
61
  <SettingsListItem
62
- icon={<Ionicons name="shield-checkmark" size={20} color={colors.success || '#4BB543'} />}
62
+ icon={<Ionicons name="shield-checkmark" size={20} color={colors.success} />}
63
63
  title={t('payment.review.securePayment')}
64
64
  description={t('payment.review.securePaymentDesc')}
65
65
  showChevron={false}
@@ -45,7 +45,7 @@ const PaymentSuccessStep: React.FC<PaymentSuccessStepProps> = ({
45
45
  <Ionicons
46
46
  name="checkmark-circle"
47
47
  size={64}
48
- color={colors.success || '#4BB543'}
48
+ color={colors.success}
49
49
  style={styles.successIcon}
50
50
  />
51
51
  <Text style={styles.successMainTitle}>{t('payment.success.heading')}</Text>
@@ -1,5 +1,4 @@
1
1
  import { StyleSheet, Platform } from 'react-native';
2
- import { fontFamilies } from '../../styles';
3
2
  import type { PaymentColors } from './types';
4
3
 
5
4
  export const createPaymentStyles = (colors: PaymentColors) => StyleSheet.create({
@@ -24,7 +23,6 @@ export const createPaymentStyles = (colors: PaymentColors) => StyleSheet.create(
24
23
  fontWeight: '600',
25
24
  color: colors.text,
26
25
  marginBottom: 12,
27
- fontFamily: fontFamilies.interSemiBold,
28
26
  },
29
27
  errorContainer: {
30
28
  flex: 1,
@@ -54,7 +52,6 @@ export const createPaymentStyles = (colors: PaymentColors) => StyleSheet.create(
54
52
  marginBottom: 8,
55
53
  },
56
54
  summaryCardMainTitle: {
57
- fontFamily: fontFamilies.interBold,
58
55
  fontWeight: 'bold',
59
56
  fontSize: 28,
60
57
  color: colors.text,
@@ -95,7 +92,6 @@ export const createPaymentStyles = (colors: PaymentColors) => StyleSheet.create(
95
92
  color: colors.text,
96
93
  textAlign: 'center',
97
94
  marginBottom: 8,
98
- fontFamily: fontFamilies.interBold,
99
95
  },
100
96
  summaryCardAmountDescription: {
101
97
  fontSize: 14,
@@ -146,7 +142,6 @@ export const createPaymentStyles = (colors: PaymentColors) => StyleSheet.create(
146
142
  marginBottom: 8,
147
143
  },
148
144
  cardPaymentMainTitle: {
149
- fontFamily: fontFamilies.interBold,
150
145
  fontWeight: 'bold',
151
146
  fontSize: 28,
152
147
  color: colors.text,
@@ -215,7 +210,6 @@ export const createPaymentStyles = (colors: PaymentColors) => StyleSheet.create(
215
210
  marginBottom: 8,
216
211
  },
217
212
  oxyPayMainTitle: {
218
- fontFamily: fontFamilies.interBold,
219
213
  fontWeight: 'bold',
220
214
  fontSize: 28,
221
215
  color: colors.text,
@@ -262,7 +256,6 @@ export const createPaymentStyles = (colors: PaymentColors) => StyleSheet.create(
262
256
  marginBottom: 8,
263
257
  },
264
258
  faircoinMainTitle: {
265
- fontFamily: fontFamilies.interBold,
266
259
  fontWeight: 'bold',
267
260
  fontSize: 28,
268
261
  color: '#1b1f0a',
@@ -373,7 +366,6 @@ export const createPaymentStyles = (colors: PaymentColors) => StyleSheet.create(
373
366
  marginBottom: 8,
374
367
  },
375
368
  successMainTitle: {
376
- fontFamily: fontFamilies.interBold,
377
369
  fontWeight: 'bold',
378
370
  fontSize: 28,
379
371
  color: colors.success || '#4BB543',
@@ -28,26 +28,35 @@ export const isAnimatedValue = (
28
28
  it: number | string | Animated.AnimatedInterpolation<number | string>
29
29
  ): it is Animated.Value => it instanceof Animated.Value;
30
30
 
31
- export default function overlay<T extends Animated.Value | number>(
32
- elevation: T,
31
+ // Overloaded signatures so each call site gets the right return type
32
+ // without the conditional-type narrowing that TS cannot infer inside the
33
+ // implementation body.
34
+ function overlay(
35
+ elevation: number,
36
+ surfaceColor?: string
37
+ ): string;
38
+ function overlay(
39
+ elevation: Animated.Value,
40
+ surfaceColor?: string
41
+ ): Animated.AnimatedInterpolation<number | string>;
42
+ function overlay(
43
+ elevation: Animated.Value | number,
33
44
  surfaceColor = '#121212'
34
- ): T extends number ? string : Animated.AnimatedInterpolation<number | string> {
45
+ ): string | Animated.AnimatedInterpolation<number | string> {
35
46
  if (isAnimatedValue(elevation)) {
36
47
  const inputRange = [0, 1, 2, 3, 8, 24];
37
48
 
38
- // @ts-expect-error: TS doesn't seem to refine the type correctly
39
49
  return elevation.interpolate({
40
50
  inputRange,
41
- outputRange: inputRange.map((elevation) => {
42
- return calculateColor(surfaceColor, elevation);
43
- }),
51
+ outputRange: inputRange.map((e) => calculateColor(surfaceColor, e)),
44
52
  });
45
53
  }
46
54
 
47
- // @ts-expect-error: TS doesn't seem to refine the type correctly
48
55
  return calculateColor(surfaceColor, elevation);
49
56
  }
50
57
 
58
+ export default overlay;
59
+
51
60
  function calculateColor(surfaceColor: string, elevation = 1) {
52
61
  let overlayTransparency: number;
53
62
  if (elevation >= 1 && elevation <= 24) {
@@ -100,7 +100,6 @@ export const useInternalTheme = (
100
100
  bodyMedium: themeObj.fonts.body,
101
101
  bodySmall: themeObj.fonts.body,
102
102
  default: {
103
- fontFamily: themeObj.fonts.body.fontFamily || undefined,
104
103
  fontWeight: themeObj.fonts.body.fontWeight || 'normal',
105
104
  letterSpacing: 0,
106
105
  },
@@ -57,7 +57,8 @@ export type InternalTheme = {
57
57
  level4: string;
58
58
  level5: string;
59
59
  };
60
- // Legacy properties for backward compatibility
60
+ // MD2 fallback color slots — TextField/Icon/TouchableRipple read these
61
+ // first and fall back to MD3 names when the host theme only provides MD3.
61
62
  text?: string;
62
63
  disabled?: string;
63
64
  placeholder?: string;
@@ -79,7 +80,7 @@ export type InternalTheme = {
79
80
  bodyMedium: TextStyle;
80
81
  bodySmall: TextStyle;
81
82
  default: TextStyle;
82
- // Legacy property for backward compatibility
83
+ // MD2 fallback `AnimatedText` reads this when the theme isn't MD3.
83
84
  regular?: TextStyle;
84
85
  };
85
86
  };
@@ -14,7 +14,7 @@ import type { User, ApiError, SessionLoginResponse } from '@oxyhq/core';
14
14
  import type { ManagedAccount, CreateManagedAccountInput } from '@oxyhq/core';
15
15
  import { KeyManager } from '@oxyhq/core';
16
16
  import type { ClientSession } from '@oxyhq/core';
17
- import { toast } from '../../lib/sonner';
17
+ import { toast } from '@oxyhq/bloom';
18
18
  import { useAuthStore, type AuthState } from '../stores/authStore';
19
19
  import { useShallow } from 'zustand/react/shallow';
20
20
  import { useSessionSocket } from '../hooks/useSessionSocket';
@@ -612,7 +612,6 @@ export const OxyProvider: React.FC<OxyContextProviderProps> = ({
612
612
  activeSessionId,
613
613
  currentDeviceId,
614
614
  refreshSessions: refreshSessionsWithUser,
615
- logout,
616
615
  clearSessionState,
617
616
  baseURL: oxyServices.getBaseURL(),
618
617
  getAccessToken: () => oxyServices.getAccessToken(),
@@ -800,7 +799,23 @@ export const OxyProvider: React.FC<OxyContextProviderProps> = ({
800
799
 
801
800
  export const OxyContextProvider = OxyProvider;
802
801
 
803
- const noop = () => Promise.resolve() as any;
802
+ /**
803
+ * Loading-state stub used when `useOxy()` is called outside an OxyProvider.
804
+ * All async methods reject with a clear error so misuse is caught early
805
+ * instead of silently no-oping and leaving the UI in a bad state.
806
+ */
807
+ const PROVIDER_MISSING_ERROR_MESSAGE =
808
+ 'OxyProvider is not mounted. Wrap your app in <OxyProvider> before calling useOxy() methods.';
809
+
810
+ const rejectMissingProvider = <T,>(): Promise<T> =>
811
+ Promise.reject(new Error(PROVIDER_MISSING_ERROR_MESSAGE));
812
+
813
+ // A stub OxyServices instance so the public type contract is preserved.
814
+ // Calling network methods on it before a provider mounts will fail with
815
+ // a descriptive baseURL — preferable to a null-pointer crash at the call site.
816
+ const LOADING_STATE_OXY_SERVICES = new OxyServices({
817
+ baseURL: 'about:blank',
818
+ });
804
819
 
805
820
  const LOADING_STATE: OxyContextState = {
806
821
  user: null,
@@ -812,32 +827,32 @@ const LOADING_STATE: OxyContextState = {
812
827
  isStorageReady: false,
813
828
  error: null,
814
829
  currentLanguage: 'en',
815
- currentLanguageMetadata: {} as any,
830
+ currentLanguageMetadata: null,
816
831
  currentLanguageName: 'English',
817
832
  currentNativeLanguageName: 'English',
818
833
  hasIdentity: () => Promise.resolve(false),
819
834
  getPublicKey: () => Promise.resolve(null),
820
- signIn: noop,
821
- handlePopupSession: noop,
822
- logout: noop,
823
- logoutAll: noop,
824
- switchSession: noop,
825
- removeSession: noop,
826
- refreshSessions: noop,
827
- setLanguage: noop,
835
+ signIn: () => rejectMissingProvider<User>(),
836
+ handlePopupSession: () => rejectMissingProvider<void>(),
837
+ logout: () => rejectMissingProvider<void>(),
838
+ logoutAll: () => rejectMissingProvider<void>(),
839
+ switchSession: () => rejectMissingProvider<void>(),
840
+ removeSession: () => rejectMissingProvider<void>(),
841
+ refreshSessions: () => rejectMissingProvider<void>(),
842
+ setLanguage: () => rejectMissingProvider<void>(),
828
843
  getDeviceSessions: () => Promise.resolve([]),
829
- logoutAllDeviceSessions: noop,
830
- updateDeviceName: noop,
831
- clearSessionState: noop,
832
- clearAllAccountData: noop,
844
+ logoutAllDeviceSessions: () => rejectMissingProvider<void>(),
845
+ updateDeviceName: () => rejectMissingProvider<void>(),
846
+ clearSessionState: () => rejectMissingProvider<void>(),
847
+ clearAllAccountData: () => rejectMissingProvider<void>(),
833
848
  storageKeyPrefix: 'oxy_session',
834
- oxyServices: null as any,
849
+ oxyServices: LOADING_STATE_OXY_SERVICES,
835
850
  openAvatarPicker: () => {},
836
851
  actingAs: null,
837
852
  managedAccounts: [],
838
853
  setActingAs: () => {},
839
- refreshManagedAccounts: noop,
840
- createManagedAccount: noop,
854
+ refreshManagedAccounts: () => rejectMissingProvider<void>(),
855
+ createManagedAccount: () => rejectMissingProvider<ManagedAccount>(),
841
856
  };
842
857
 
843
858
  export const useOxy = (): OxyContextState => {
@@ -131,9 +131,7 @@ export const useAuthOperations = ({
131
131
  logger('Creating offline session');
132
132
  }
133
133
 
134
- // Generate a local session ID using cryptographically secure randomness.
135
- // Literal-string import: Hermes/Metro require static strings, not variable
136
- // expressions or webpackIgnore comments.
134
+ // Generate a local session ID using cryptographically secure randomness
137
135
  const Crypto = await import('expo-crypto');
138
136
  const localSessionId = `offline_${Crypto.getRandomUUID()}`;
139
137
  const localDeviceId = `device_${Crypto.getRandomUUID()}`;