@oxy.so/services 11.13.0 → 11.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (856) hide show
  1. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  2. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  3. package/lib/commonjs/assets/assets/fonts/icons/manifest.json +9 -9
  4. package/lib/commonjs/assets/assets/one/README.md +8 -0
  5. package/lib/commonjs/assets/assets/one/floral.jpg +0 -0
  6. package/lib/commonjs/assets/assets/one/floral.jpg.d.ts +2 -0
  7. package/lib/commonjs/assets/assets/one/floral.mp4 +0 -0
  8. package/lib/commonjs/assets/assets/one/floral.mp4.d.ts +2 -0
  9. package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  10. package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  11. package/lib/commonjs/assets/fonts/icons/manifest.json +9 -9
  12. package/lib/commonjs/assets/one/README.md +8 -0
  13. package/lib/commonjs/assets/one/floral.jpg +0 -0
  14. package/lib/commonjs/assets/one/floral.mp4 +0 -0
  15. package/lib/commonjs/index.js +3 -0
  16. package/lib/commonjs/index.js.map +1 -1
  17. package/lib/commonjs/ui/client.js.map +1 -1
  18. package/lib/commonjs/ui/components/AccountInvitationAcceptance.js +2 -2
  19. package/lib/commonjs/ui/components/AccountInvitationAcceptance.js.map +1 -1
  20. package/lib/commonjs/ui/components/BloomLocaleBridge.js +2 -2
  21. package/lib/commonjs/ui/components/BloomLocaleBridge.js.map +1 -1
  22. package/lib/commonjs/ui/components/FollowButton.js +2 -2
  23. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  24. package/lib/commonjs/ui/components/LanguageBridge.js +2 -2
  25. package/lib/commonjs/ui/components/LanguageBridge.js.map +1 -1
  26. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +5 -18
  27. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
  28. package/lib/commonjs/ui/components/OxyAuthChooser.js +30 -25
  29. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
  30. package/lib/commonjs/ui/components/OxyConsentScreen.js +6 -30
  31. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
  32. package/lib/commonjs/ui/components/OxyOAuthCallback.js +2 -1
  33. package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -1
  34. package/lib/commonjs/ui/components/OxyProvider.js +36 -6
  35. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  36. package/lib/commonjs/ui/components/OxySignInButton.js +2 -2
  37. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  38. package/lib/commonjs/ui/components/ProfileButton.js +7 -5
  39. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
  40. package/lib/commonjs/ui/components/ProfileSummaryCard.js +24 -57
  41. package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
  42. package/lib/commonjs/ui/components/RequireOxyAuth.js +17 -43
  43. package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
  44. package/lib/commonjs/ui/components/SettingsIcon.js +14 -25
  45. package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -1
  46. package/lib/commonjs/ui/components/SurfaceHeaderAction.js +1 -1
  47. package/lib/commonjs/ui/components/SurfaceScreen.js +38 -47
  48. package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
  49. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +232 -472
  50. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  51. package/lib/commonjs/ui/components/authChooser/storageUsage.js +62 -0
  52. package/lib/commonjs/ui/components/authChooser/storageUsage.js.map +1 -0
  53. package/lib/commonjs/ui/components/authChooser/styles.js +21 -70
  54. package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -1
  55. package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
  56. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -5
  57. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  58. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +25 -25
  59. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  60. package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +4 -4
  61. package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
  62. package/lib/commonjs/ui/components/organizations/OrganizationClaims.js +2 -2
  63. package/lib/commonjs/ui/components/organizations/OrganizationClaims.js.map +1 -1
  64. package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +2 -2
  65. package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
  66. package/lib/commonjs/ui/components/organizations/OrganizationSettings.js +3 -3
  67. package/lib/commonjs/ui/components/organizations/OrganizationSettings.js.map +1 -1
  68. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +16 -50
  69. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  70. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +3 -3
  71. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  72. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +10 -12
  73. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
  74. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +3 -3
  75. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  76. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +13 -6
  77. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
  78. package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +53 -112
  79. package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
  80. package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +2 -2
  81. package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
  82. package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +2 -2
  83. package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
  84. package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js +2 -2
  85. package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
  86. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +2 -2
  87. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  88. package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +2 -2
  89. package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
  90. package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +2 -2
  91. package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
  92. package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +2 -2
  93. package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
  94. package/lib/commonjs/ui/components/signIn/ReauthStep.js +31 -13
  95. package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -1
  96. package/lib/commonjs/ui/components/signIn/accountFlowParts.js +2 -2
  97. package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
  98. package/lib/commonjs/ui/components/supervision/PersonPicker.js +2 -2
  99. package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
  100. package/lib/commonjs/ui/context/OxyContext.js +32 -58
  101. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  102. package/lib/commonjs/ui/context/oxyRuntimeContext.js +57 -0
  103. package/lib/commonjs/ui/context/oxyRuntimeContext.js.map +1 -0
  104. package/lib/commonjs/ui/context/oxySupportContext.js +10 -0
  105. package/lib/commonjs/ui/context/oxySupportContext.js.map +1 -0
  106. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +10 -10
  107. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  108. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +6 -6
  109. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  110. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +13 -10
  111. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
  112. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +3 -3
  113. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
  114. package/lib/commonjs/ui/hooks/queries/useFileQueries.js +3 -3
  115. package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
  116. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +5 -5
  117. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  118. package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js +3 -3
  119. package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
  120. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +4 -4
  121. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  122. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +7 -7
  123. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
  124. package/lib/commonjs/ui/hooks/queries/useSupervision.js +2 -2
  125. package/lib/commonjs/ui/hooks/queries/useSupervision.js.map +1 -1
  126. package/lib/commonjs/ui/hooks/useAuth.js +2 -2
  127. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
  128. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +2 -2
  129. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
  130. package/lib/commonjs/ui/hooks/useDisplayCurrency.js +2 -2
  131. package/lib/commonjs/ui/hooks/useDisplayCurrency.js.map +1 -1
  132. package/lib/commonjs/ui/hooks/useFollow.js +3 -3
  133. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
  134. package/lib/commonjs/ui/hooks/useFollowTarget.js +2 -2
  135. package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
  136. package/lib/commonjs/ui/hooks/useI18n.js +2 -2
  137. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
  138. package/lib/commonjs/ui/hooks/useLanguageManagement.js +33 -18
  139. package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
  140. package/lib/commonjs/ui/hooks/useOxyEvent.js +2 -2
  141. package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -1
  142. package/lib/commonjs/ui/hooks/useSurfaceHeader.js +40 -2
  143. package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -1
  144. package/lib/commonjs/ui/hooks/useUsernameAvailability.js +60 -0
  145. package/lib/commonjs/ui/hooks/useUsernameAvailability.js.map +1 -0
  146. package/lib/commonjs/ui/icons/subsetGlyphMaps.js +4 -4
  147. package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
  148. package/lib/commonjs/ui/index.js +37 -0
  149. package/lib/commonjs/ui/index.js.map +1 -1
  150. package/lib/commonjs/ui/navigation/accountDialogManager.js +2 -0
  151. package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -1
  152. package/lib/commonjs/ui/navigation/bottomSheetManager.js +2 -2
  153. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -1
  154. package/lib/commonjs/ui/navigation/routes.js +27 -101
  155. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  156. package/lib/commonjs/ui/navigation/screenComponents.js +101 -0
  157. package/lib/commonjs/ui/navigation/screenComponents.js.map +1 -0
  158. package/lib/commonjs/ui/navigation/surfaceBackBridge.js +1 -1
  159. package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -1
  160. package/lib/commonjs/ui/navigation/surfaceNavStack.js +25 -6
  161. package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -1
  162. package/lib/commonjs/ui/navigation/surfaceRegistry.js +4 -0
  163. package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -1
  164. package/lib/commonjs/ui/navigation/surfaces.js +19 -7
  165. package/lib/commonjs/ui/navigation/surfaces.js.map +1 -1
  166. package/lib/commonjs/ui/one-video.js +50 -0
  167. package/lib/commonjs/ui/one-video.js.map +1 -0
  168. package/lib/commonjs/ui/runtime/createOxyRuntime.js +7 -1
  169. package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
  170. package/lib/commonjs/ui/screens/AccountMembersScreen.js +7 -6
  171. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
  172. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +10 -10
  173. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  174. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +2 -2
  175. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  176. package/lib/commonjs/ui/screens/AppInfoScreen.js +36 -35
  177. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  178. package/lib/commonjs/ui/screens/AvatarCropScreen.js +35 -64
  179. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
  180. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +8 -8
  181. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
  182. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +13 -14
  183. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  184. package/lib/commonjs/ui/screens/CreateAccountScreen.js +10 -10
  185. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
  186. package/lib/commonjs/ui/screens/DomainsScreen.js +7 -14
  187. package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
  188. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +137 -285
  189. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  190. package/lib/commonjs/ui/screens/EditProfileScreen.js +19 -16
  191. package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
  192. package/lib/commonjs/ui/screens/FileManagementScreen.js +38 -189
  193. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  194. package/lib/commonjs/ui/screens/FileTrashScreen.js +2 -2
  195. package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
  196. package/lib/commonjs/ui/screens/HelpSupportScreen.js +74 -62
  197. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  198. package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -14
  199. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  200. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +35 -36
  201. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  202. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +9 -17
  203. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  204. package/lib/commonjs/ui/screens/ManageAccountScreen.js +319 -328
  205. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  206. package/lib/commonjs/ui/screens/NotificationsScreen.js +10 -10
  207. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
  208. package/lib/commonjs/ui/screens/OxyOneScreen.js +213 -0
  209. package/lib/commonjs/ui/screens/OxyOneScreen.js.map +1 -0
  210. package/lib/commonjs/ui/screens/PreferencesScreen.js +12 -12
  211. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
  212. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +64 -87
  213. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  214. package/lib/commonjs/ui/screens/ProfileScreen.js +309 -233
  215. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  216. package/lib/commonjs/ui/screens/ReportBugScreen.js +72 -0
  217. package/lib/commonjs/ui/screens/ReportBugScreen.js.map +1 -0
  218. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -61
  219. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  220. package/lib/commonjs/ui/screens/SupervisionScreen.js +4 -4
  221. package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
  222. package/lib/commonjs/ui/screens/UserListScreen.js +66 -58
  223. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  224. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -2
  225. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  226. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +6 -5
  227. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
  228. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +17 -82
  229. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  230. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +3 -1
  231. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
  232. package/lib/commonjs/ui/screens/index.js +7 -0
  233. package/lib/commonjs/ui/screens/index.js.map +1 -1
  234. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +12 -22
  235. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  236. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
  237. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  238. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +20 -8
  239. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  240. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +6 -10
  241. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  242. package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  243. package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  244. package/lib/module/assets/assets/fonts/icons/manifest.json +9 -9
  245. package/lib/module/assets/assets/one/README.md +8 -0
  246. package/lib/module/assets/assets/one/floral.jpg +0 -0
  247. package/lib/module/assets/assets/one/floral.jpg.d.ts +2 -0
  248. package/lib/module/assets/assets/one/floral.mp4 +0 -0
  249. package/lib/module/assets/assets/one/floral.mp4.d.ts +2 -0
  250. package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  251. package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  252. package/lib/module/assets/fonts/icons/manifest.json +9 -9
  253. package/lib/module/assets/one/README.md +8 -0
  254. package/lib/module/assets/one/floral.jpg +0 -0
  255. package/lib/module/assets/one/floral.mp4 +0 -0
  256. package/lib/module/index.js +3 -0
  257. package/lib/module/index.js.map +1 -1
  258. package/lib/module/ui/client.js +2 -3
  259. package/lib/module/ui/client.js.map +1 -1
  260. package/lib/module/ui/components/AccountInvitationAcceptance.js +1 -1
  261. package/lib/module/ui/components/AccountInvitationAcceptance.js.map +1 -1
  262. package/lib/module/ui/components/BloomLocaleBridge.js +1 -1
  263. package/lib/module/ui/components/BloomLocaleBridge.js.map +1 -1
  264. package/lib/module/ui/components/FollowButton.js +1 -1
  265. package/lib/module/ui/components/FollowButton.js.map +1 -1
  266. package/lib/module/ui/components/LanguageBridge.js +1 -1
  267. package/lib/module/ui/components/LanguageBridge.js.map +1 -1
  268. package/lib/module/ui/components/OxyAccountDialogScreen.js +4 -17
  269. package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
  270. package/lib/module/ui/components/OxyAuthChooser.js +29 -24
  271. package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
  272. package/lib/module/ui/components/OxyConsentScreen.js +8 -32
  273. package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
  274. package/lib/module/ui/components/OxyOAuthCallback.js +3 -2
  275. package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -1
  276. package/lib/module/ui/components/OxyProvider.js +38 -6
  277. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  278. package/lib/module/ui/components/OxySignInButton.js +1 -1
  279. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  280. package/lib/module/ui/components/ProfileButton.js +6 -4
  281. package/lib/module/ui/components/ProfileButton.js.map +1 -1
  282. package/lib/module/ui/components/ProfileSummaryCard.js +24 -57
  283. package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
  284. package/lib/module/ui/components/RequireOxyAuth.js +17 -43
  285. package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
  286. package/lib/module/ui/components/SettingsIcon.js +14 -25
  287. package/lib/module/ui/components/SettingsIcon.js.map +1 -1
  288. package/lib/module/ui/components/SurfaceHeaderAction.js +1 -1
  289. package/lib/module/ui/components/SurfaceScreen.js +39 -48
  290. package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
  291. package/lib/module/ui/components/authChooser/AccountsMenuView.js +237 -475
  292. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  293. package/lib/module/ui/components/authChooser/storageUsage.js +56 -0
  294. package/lib/module/ui/components/authChooser/storageUsage.js.map +1 -0
  295. package/lib/module/ui/components/authChooser/styles.js +21 -70
  296. package/lib/module/ui/components/authChooser/styles.js.map +1 -1
  297. package/lib/module/ui/components/authChooser/types.js.map +1 -1
  298. package/lib/module/ui/components/fileManagement/FileViewer.js +7 -6
  299. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  300. package/lib/module/ui/components/modals/DeleteAccountModal.js +26 -26
  301. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  302. package/lib/module/ui/components/organizations/OrganizationClaimReview.js +1 -1
  303. package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
  304. package/lib/module/ui/components/organizations/OrganizationClaims.js +1 -1
  305. package/lib/module/ui/components/organizations/OrganizationClaims.js.map +1 -1
  306. package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +1 -1
  307. package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
  308. package/lib/module/ui/components/organizations/OrganizationSettings.js +1 -1
  309. package/lib/module/ui/components/organizations/OrganizationSettings.js.map +1 -1
  310. package/lib/module/ui/components/payment/PaymentDetailsStep.js +17 -51
  311. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  312. package/lib/module/ui/components/payment/PaymentMethodStep.js +3 -3
  313. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  314. package/lib/module/ui/components/payment/PaymentReviewStep.js +11 -13
  315. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
  316. package/lib/module/ui/components/payment/PaymentSummaryStep.js +3 -3
  317. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  318. package/lib/module/ui/components/signIn/InlineCommonsQr.js +14 -7
  319. package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
  320. package/lib/module/ui/components/signIn/OxyAccountPicker.js +54 -113
  321. package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
  322. package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +1 -1
  323. package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
  324. package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +1 -1
  325. package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
  326. package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js +1 -1
  327. package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
  328. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
  329. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  330. package/lib/module/ui/components/signIn/OxyPasswordPanel.js +1 -1
  331. package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
  332. package/lib/module/ui/components/signIn/OxySignInPanel.js +1 -1
  333. package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
  334. package/lib/module/ui/components/signIn/OxySignUpPanel.js +1 -1
  335. package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
  336. package/lib/module/ui/components/signIn/ReauthStep.js +30 -12
  337. package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -1
  338. package/lib/module/ui/components/signIn/accountFlowParts.js +1 -1
  339. package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
  340. package/lib/module/ui/components/supervision/PersonPicker.js +1 -1
  341. package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
  342. package/lib/module/ui/context/OxyContext.js +7 -51
  343. package/lib/module/ui/context/OxyContext.js.map +1 -1
  344. package/lib/module/ui/context/oxyRuntimeContext.js +49 -0
  345. package/lib/module/ui/context/oxyRuntimeContext.js.map +1 -0
  346. package/lib/module/ui/context/oxySupportContext.js +7 -0
  347. package/lib/module/ui/context/oxySupportContext.js.map +1 -0
  348. package/lib/module/ui/hooks/mutations/useAccountMutations.js +1 -1
  349. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  350. package/lib/module/ui/hooks/mutations/useServicesMutations.js +1 -1
  351. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  352. package/lib/module/ui/hooks/queries/useAccountQueries.js +5 -2
  353. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  354. package/lib/module/ui/hooks/queries/useAuthMethods.js +1 -1
  355. package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
  356. package/lib/module/ui/hooks/queries/useFileQueries.js +1 -1
  357. package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
  358. package/lib/module/ui/hooks/queries/usePaymentQueries.js +1 -1
  359. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  360. package/lib/module/ui/hooks/queries/usePersonalPlans.js +1 -1
  361. package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
  362. package/lib/module/ui/hooks/queries/useSecurityQueries.js +1 -1
  363. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  364. package/lib/module/ui/hooks/queries/useServicesQueries.js +1 -1
  365. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  366. package/lib/module/ui/hooks/queries/useSupervision.js +1 -1
  367. package/lib/module/ui/hooks/queries/useSupervision.js.map +1 -1
  368. package/lib/module/ui/hooks/useAuth.js +1 -1
  369. package/lib/module/ui/hooks/useAuth.js.map +1 -1
  370. package/lib/module/ui/hooks/useDeviceSwitcher.js +1 -1
  371. package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
  372. package/lib/module/ui/hooks/useDisplayCurrency.js +1 -1
  373. package/lib/module/ui/hooks/useDisplayCurrency.js.map +1 -1
  374. package/lib/module/ui/hooks/useFollow.js +1 -1
  375. package/lib/module/ui/hooks/useFollow.js.map +1 -1
  376. package/lib/module/ui/hooks/useFollowTarget.js +1 -1
  377. package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
  378. package/lib/module/ui/hooks/useI18n.js +1 -1
  379. package/lib/module/ui/hooks/useI18n.js.map +1 -1
  380. package/lib/module/ui/hooks/useLanguageManagement.js +34 -19
  381. package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -1
  382. package/lib/module/ui/hooks/useOxyEvent.js +1 -1
  383. package/lib/module/ui/hooks/useOxyEvent.js.map +1 -1
  384. package/lib/module/ui/hooks/useSurfaceHeader.js +41 -3
  385. package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -1
  386. package/lib/module/ui/hooks/useUsernameAvailability.js +56 -0
  387. package/lib/module/ui/hooks/useUsernameAvailability.js.map +1 -0
  388. package/lib/module/ui/icons/subsetGlyphMaps.js +4 -4
  389. package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
  390. package/lib/module/ui/index.js +4 -0
  391. package/lib/module/ui/index.js.map +1 -1
  392. package/lib/module/ui/navigation/accountDialogManager.js +2 -0
  393. package/lib/module/ui/navigation/accountDialogManager.js.map +1 -1
  394. package/lib/module/ui/navigation/bottomSheetManager.js +3 -3
  395. package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
  396. package/lib/module/ui/navigation/routes.js +24 -102
  397. package/lib/module/ui/navigation/routes.js.map +1 -1
  398. package/lib/module/ui/navigation/screenComponents.js +96 -0
  399. package/lib/module/ui/navigation/screenComponents.js.map +1 -0
  400. package/lib/module/ui/navigation/surfaceBackBridge.js +1 -1
  401. package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -1
  402. package/lib/module/ui/navigation/surfaceNavStack.js +25 -6
  403. package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -1
  404. package/lib/module/ui/navigation/surfaceRegistry.js +4 -0
  405. package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -1
  406. package/lib/module/ui/navigation/surfaces.js +19 -7
  407. package/lib/module/ui/navigation/surfaces.js.map +1 -1
  408. package/lib/module/ui/one-video.js +45 -0
  409. package/lib/module/ui/one-video.js.map +1 -0
  410. package/lib/module/ui/runtime/createOxyRuntime.js +7 -1
  411. package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
  412. package/lib/module/ui/screens/AccountMembersScreen.js +7 -6
  413. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
  414. package/lib/module/ui/screens/AccountSettingsScreen.js +10 -10
  415. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  416. package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
  417. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  418. package/lib/module/ui/screens/AppInfoScreen.js +36 -35
  419. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  420. package/lib/module/ui/screens/AvatarCropScreen.js +35 -64
  421. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
  422. package/lib/module/ui/screens/ChangeAvatarScreen.js +7 -7
  423. package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
  424. package/lib/module/ui/screens/ConnectedAppsScreen.js +13 -14
  425. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  426. package/lib/module/ui/screens/CreateAccountScreen.js +9 -9
  427. package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
  428. package/lib/module/ui/screens/DomainsScreen.js +6 -13
  429. package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
  430. package/lib/module/ui/screens/EditProfileFieldScreen.js +138 -287
  431. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  432. package/lib/module/ui/screens/EditProfileScreen.js +18 -15
  433. package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
  434. package/lib/module/ui/screens/FileManagementScreen.js +38 -189
  435. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  436. package/lib/module/ui/screens/FileTrashScreen.js +1 -1
  437. package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
  438. package/lib/module/ui/screens/HelpSupportScreen.js +76 -64
  439. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  440. package/lib/module/ui/screens/HistoryViewScreen.js +8 -13
  441. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  442. package/lib/module/ui/screens/LanguageSelectorScreen.js +34 -35
  443. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  444. package/lib/module/ui/screens/LegalDocumentsScreen.js +9 -17
  445. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  446. package/lib/module/ui/screens/ManageAccountScreen.js +319 -328
  447. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  448. package/lib/module/ui/screens/NotificationsScreen.js +9 -9
  449. package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
  450. package/lib/module/ui/screens/OxyOneScreen.js +208 -0
  451. package/lib/module/ui/screens/OxyOneScreen.js.map +1 -0
  452. package/lib/module/ui/screens/PreferencesScreen.js +11 -11
  453. package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
  454. package/lib/module/ui/screens/PrivacySettingsScreen.js +64 -87
  455. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  456. package/lib/module/ui/screens/ProfileScreen.js +310 -235
  457. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  458. package/lib/module/ui/screens/ReportBugScreen.js +68 -0
  459. package/lib/module/ui/screens/ReportBugScreen.js.map +1 -0
  460. package/lib/module/ui/screens/SearchSettingsScreen.js +33 -62
  461. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  462. package/lib/module/ui/screens/SupervisionScreen.js +1 -1
  463. package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
  464. package/lib/module/ui/screens/UserListScreen.js +67 -59
  465. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  466. package/lib/module/ui/screens/WelcomeNewUserScreen.js +1 -1
  467. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  468. package/lib/module/ui/screens/fileManagement/FileListSection.js +7 -6
  469. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
  470. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +19 -84
  471. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  472. package/lib/module/ui/screens/fileManagement/UploadBar.js +3 -1
  473. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
  474. package/lib/module/ui/screens/index.js +1 -0
  475. package/lib/module/ui/screens/index.js.map +1 -1
  476. package/lib/module/ui/screens/trust/TrustCenterScreen.js +11 -21
  477. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  478. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
  479. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  480. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +20 -8
  481. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  482. package/lib/module/ui/screens/trust/TrustRulesScreen.js +5 -9
  483. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  484. package/lib/typescript/assets/one/floral.jpg.d.ts +2 -0
  485. package/lib/typescript/assets/one/floral.mp4.d.ts +2 -0
  486. package/lib/typescript/commonjs/index.d.ts +1 -1
  487. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  488. package/lib/typescript/commonjs/ui/client.d.ts +1 -2
  489. package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
  490. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
  491. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
  492. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -1
  493. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -1
  494. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  495. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +3 -1
  496. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
  497. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +4 -13
  498. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
  499. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -1
  500. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -4
  501. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -1
  502. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +1 -1
  503. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
  504. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +8 -1
  505. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
  506. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
  507. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  508. package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts +11 -0
  509. package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts.map +1 -0
  510. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +24 -73
  511. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -1
  512. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +6 -6
  513. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
  514. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  515. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  516. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  517. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  518. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +22 -22
  519. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -1
  520. package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
  521. package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
  522. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -28
  523. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  524. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +1 -0
  525. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
  526. package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts +31 -0
  527. package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts.map +1 -0
  528. package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts +9 -0
  529. package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts.map +1 -0
  530. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  531. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  532. package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
  533. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +1 -1
  534. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
  535. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +4 -2
  536. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -1
  537. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +1 -1
  538. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
  539. package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts +9 -0
  540. package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
  541. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
  542. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
  543. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  544. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  545. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +4 -4
  546. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
  547. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +15 -1
  548. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
  549. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +10 -18
  550. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
  551. package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts +4 -0
  552. package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts.map +1 -0
  553. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +3 -1
  554. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -1
  555. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +6 -1
  556. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
  557. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +1 -1
  558. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -1
  559. package/lib/typescript/commonjs/ui/one-video.d.ts +3 -0
  560. package/lib/typescript/commonjs/ui/one-video.d.ts.map +1 -0
  561. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
  562. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
  563. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  564. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  565. package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
  566. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  567. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
  568. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  569. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  570. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  571. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  572. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  573. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +4 -1
  574. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  575. package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts +4 -0
  576. package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts.map +1 -0
  577. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  578. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
  579. package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts +2 -0
  580. package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts.map +1 -0
  581. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  582. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +1 -5
  583. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  584. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +1 -1
  585. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  586. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
  587. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  588. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  589. package/lib/typescript/commonjs/ui/screens/index.d.ts +1 -0
  590. package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -1
  591. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  592. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  593. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  594. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  595. package/lib/typescript/commonjs/ui/types/navigation.d.ts +12 -0
  596. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
  597. package/lib/typescript/module/index.d.ts +1 -1
  598. package/lib/typescript/module/index.d.ts.map +1 -1
  599. package/lib/typescript/module/ui/client.d.ts +1 -2
  600. package/lib/typescript/module/ui/client.d.ts.map +1 -1
  601. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
  602. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
  603. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
  604. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -1
  605. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  606. package/lib/typescript/module/ui/components/ProfileButton.d.ts +3 -1
  607. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
  608. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +4 -13
  609. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
  610. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
  611. package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -4
  612. package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -1
  613. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -1
  614. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
  615. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +8 -1
  616. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
  617. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
  618. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  619. package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts +11 -0
  620. package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts.map +1 -0
  621. package/lib/typescript/module/ui/components/authChooser/styles.d.ts +24 -73
  622. package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
  623. package/lib/typescript/module/ui/components/authChooser/types.d.ts +6 -6
  624. package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
  625. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  626. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  627. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  628. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  629. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +22 -22
  630. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
  631. package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
  632. package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
  633. package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -28
  634. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  635. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +1 -0
  636. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
  637. package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts +31 -0
  638. package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts.map +1 -0
  639. package/lib/typescript/module/ui/context/oxySupportContext.d.ts +9 -0
  640. package/lib/typescript/module/ui/context/oxySupportContext.d.ts.map +1 -0
  641. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  642. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  643. package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
  644. package/lib/typescript/module/ui/hooks/useAuth.d.ts +1 -1
  645. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
  646. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +4 -2
  647. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -1
  648. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +1 -1
  649. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
  650. package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts +9 -0
  651. package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
  652. package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
  653. package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
  654. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  655. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  656. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +4 -4
  657. package/lib/typescript/module/ui/index.d.ts.map +1 -1
  658. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +15 -1
  659. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
  660. package/lib/typescript/module/ui/navigation/routes.d.ts +10 -18
  661. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
  662. package/lib/typescript/module/ui/navigation/screenComponents.d.ts +4 -0
  663. package/lib/typescript/module/ui/navigation/screenComponents.d.ts.map +1 -0
  664. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +3 -1
  665. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -1
  666. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +6 -1
  667. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
  668. package/lib/typescript/module/ui/navigation/surfaces.d.ts +1 -1
  669. package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -1
  670. package/lib/typescript/module/ui/one-video.d.ts +3 -0
  671. package/lib/typescript/module/ui/one-video.d.ts.map +1 -0
  672. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
  673. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
  674. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  675. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  676. package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
  677. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  678. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
  679. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  680. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  681. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  682. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  683. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  684. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +4 -1
  685. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  686. package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts +4 -0
  687. package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts.map +1 -0
  688. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  689. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
  690. package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts +2 -0
  691. package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts.map +1 -0
  692. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  693. package/lib/typescript/module/ui/screens/UserListScreen.d.ts +1 -5
  694. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  695. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +1 -1
  696. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  697. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
  698. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  699. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  700. package/lib/typescript/module/ui/screens/index.d.ts +1 -0
  701. package/lib/typescript/module/ui/screens/index.d.ts.map +1 -1
  702. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  703. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  704. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  705. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  706. package/lib/typescript/module/ui/types/navigation.d.ts +12 -0
  707. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  708. package/lib/typescript/types/assets.d.ts +10 -0
  709. package/package.json +64 -48
  710. package/plugins/withOxySharedPermissions.js +2 -1
  711. package/plugins/withSharedDeviceSessionProvider.js +2 -1
  712. package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  713. package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  714. package/src/assets/fonts/icons/manifest.json +9 -9
  715. package/src/assets/one/README.md +8 -0
  716. package/src/assets/one/floral.jpg +0 -0
  717. package/src/assets/one/floral.jpg.d.ts +2 -0
  718. package/src/assets/one/floral.mp4 +0 -0
  719. package/src/assets/one/floral.mp4.d.ts +2 -0
  720. package/src/index.ts +9 -1
  721. package/src/types/assets.d.ts +10 -0
  722. package/src/ui/client.ts +2 -3
  723. package/src/ui/components/AccountInvitationAcceptance.tsx +1 -1
  724. package/src/ui/components/BloomLocaleBridge.tsx +1 -1
  725. package/src/ui/components/FollowButton.tsx +1 -1
  726. package/src/ui/components/LanguageBridge.tsx +1 -1
  727. package/src/ui/components/OxyAccountDialogScreen.tsx +3 -14
  728. package/src/ui/components/OxyAuthChooser.tsx +28 -24
  729. package/src/ui/components/OxyConsentScreen.tsx +8 -25
  730. package/src/ui/components/OxyOAuthCallback.tsx +3 -2
  731. package/src/ui/components/OxyProvider.tsx +34 -8
  732. package/src/ui/components/OxySignInButton.tsx +1 -1
  733. package/src/ui/components/ProfileButton.tsx +17 -4
  734. package/src/ui/components/ProfileSummaryCard.tsx +27 -68
  735. package/src/ui/components/RequireOxyAuth.tsx +16 -38
  736. package/src/ui/components/SettingsIcon.tsx +8 -33
  737. package/src/ui/components/SurfaceHeaderAction.tsx +1 -1
  738. package/src/ui/components/SurfaceScreen.tsx +56 -49
  739. package/src/ui/components/__tests__/AccountInvitationAcceptance.test.tsx +1 -1
  740. package/src/ui/components/__tests__/BloomLocaleBridge.test.tsx +1 -1
  741. package/src/ui/components/__tests__/LanguageBridge.test.tsx +1 -1
  742. package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +1 -1
  743. package/src/ui/components/authChooser/AccountsMenuView.tsx +271 -521
  744. package/src/ui/components/authChooser/storageUsage.ts +75 -0
  745. package/src/ui/components/authChooser/styles.ts +14 -76
  746. package/src/ui/components/authChooser/types.ts +6 -6
  747. package/src/ui/components/fileManagement/FileViewer.tsx +7 -6
  748. package/src/ui/components/modals/DeleteAccountModal.tsx +25 -24
  749. package/src/ui/components/organizations/OrganizationClaimReview.tsx +1 -1
  750. package/src/ui/components/organizations/OrganizationClaims.tsx +1 -1
  751. package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +1 -1
  752. package/src/ui/components/organizations/OrganizationSettings.tsx +1 -1
  753. package/src/ui/components/payment/PaymentDetailsStep.tsx +13 -51
  754. package/src/ui/components/payment/PaymentMethodStep.tsx +4 -4
  755. package/src/ui/components/payment/PaymentReviewStep.tsx +12 -17
  756. package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -4
  757. package/src/ui/components/signIn/InlineCommonsQr.tsx +9 -4
  758. package/src/ui/components/signIn/OxyAccountPicker.tsx +42 -93
  759. package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +1 -1
  760. package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +1 -1
  761. package/src/ui/components/signIn/OxyEmailAccountChoice.tsx +1 -1
  762. package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
  763. package/src/ui/components/signIn/OxyPasswordPanel.tsx +1 -1
  764. package/src/ui/components/signIn/OxySignInPanel.tsx +1 -1
  765. package/src/ui/components/signIn/OxySignUpPanel.tsx +1 -1
  766. package/src/ui/components/signIn/ReauthStep.tsx +26 -16
  767. package/src/ui/components/signIn/accountFlowParts.tsx +1 -1
  768. package/src/ui/components/supervision/PersonPicker.tsx +1 -1
  769. package/src/ui/context/OxyContext.tsx +15 -79
  770. package/src/ui/context/oxyContextTypes.ts +1 -0
  771. package/src/ui/context/oxyRuntimeContext.ts +69 -0
  772. package/src/ui/context/oxySupportContext.ts +9 -0
  773. package/src/ui/hooks/mutations/useAccountMutations.ts +1 -1
  774. package/src/ui/hooks/mutations/useServicesMutations.ts +1 -1
  775. package/src/ui/hooks/queries/useAccountQueries.ts +4 -2
  776. package/src/ui/hooks/queries/useAuthMethods.ts +1 -1
  777. package/src/ui/hooks/queries/useFileQueries.ts +1 -1
  778. package/src/ui/hooks/queries/usePaymentQueries.ts +1 -1
  779. package/src/ui/hooks/queries/usePersonalPlans.ts +1 -1
  780. package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
  781. package/src/ui/hooks/queries/useServicesQueries.ts +1 -1
  782. package/src/ui/hooks/queries/useSupervision.ts +1 -1
  783. package/src/ui/hooks/useAuth.ts +1 -1
  784. package/src/ui/hooks/useDeviceSwitcher.ts +1 -1
  785. package/src/ui/hooks/useDisplayCurrency.ts +1 -1
  786. package/src/ui/hooks/useFollow.ts +1 -1
  787. package/src/ui/hooks/useFollowTarget.ts +1 -1
  788. package/src/ui/hooks/useI18n.ts +1 -1
  789. package/src/ui/hooks/useLanguageManagement.ts +48 -23
  790. package/src/ui/hooks/useOxyEvent.ts +1 -1
  791. package/src/ui/hooks/useSurfaceHeader.ts +50 -2
  792. package/src/ui/hooks/useUsernameAvailability.ts +57 -0
  793. package/src/ui/icons/subsetGlyphMaps.ts +4 -4
  794. package/src/ui/index.ts +5 -0
  795. package/src/ui/navigation/__tests__/bottomSheetManager.test.ts +37 -0
  796. package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +27 -0
  797. package/src/ui/navigation/accountDialogManager.ts +16 -1
  798. package/src/ui/navigation/bottomSheetManager.ts +3 -3
  799. package/src/ui/navigation/routes.ts +75 -103
  800. package/src/ui/navigation/screenComponents.ts +96 -0
  801. package/src/ui/navigation/surfaceBackBridge.ts +1 -1
  802. package/src/ui/navigation/surfaceNavStack.ts +33 -6
  803. package/src/ui/navigation/surfaceRegistry.ts +7 -1
  804. package/src/ui/navigation/surfaces.ts +30 -15
  805. package/src/ui/one-video.tsx +44 -0
  806. package/src/ui/runtime/createOxyRuntime.ts +7 -1
  807. package/src/ui/screens/AccountMembersScreen.tsx +6 -6
  808. package/src/ui/screens/AccountSettingsScreen.tsx +14 -14
  809. package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
  810. package/src/ui/screens/AppInfoScreen.tsx +41 -42
  811. package/src/ui/screens/AvatarCropScreen.tsx +33 -57
  812. package/src/ui/screens/ChangeAvatarScreen.tsx +8 -8
  813. package/src/ui/screens/ConnectedAppsScreen.tsx +14 -16
  814. package/src/ui/screens/CreateAccountScreen.tsx +13 -13
  815. package/src/ui/screens/DomainsScreen.tsx +9 -14
  816. package/src/ui/screens/EditProfileFieldScreen.tsx +189 -282
  817. package/src/ui/screens/EditProfileScreen.tsx +21 -18
  818. package/src/ui/screens/FileManagementScreen.tsx +52 -209
  819. package/src/ui/screens/FileTrashScreen.tsx +3 -3
  820. package/src/ui/screens/HelpSupportScreen.tsx +59 -53
  821. package/src/ui/screens/HistoryViewScreen.tsx +10 -17
  822. package/src/ui/screens/LanguageSelectorScreen.tsx +37 -35
  823. package/src/ui/screens/LegalDocumentsScreen.tsx +10 -20
  824. package/src/ui/screens/ManageAccountScreen.tsx +367 -340
  825. package/src/ui/screens/NotificationsScreen.tsx +12 -12
  826. package/src/ui/screens/OxyOneScreen.tsx +223 -0
  827. package/src/ui/screens/PreferencesScreen.tsx +15 -15
  828. package/src/ui/screens/PrivacySettingsScreen.tsx +65 -89
  829. package/src/ui/screens/ProfileScreen.tsx +242 -268
  830. package/src/ui/screens/ReportBugScreen.tsx +68 -0
  831. package/src/ui/screens/SearchSettingsScreen.tsx +30 -65
  832. package/src/ui/screens/SupervisionScreen.tsx +1 -1
  833. package/src/ui/screens/UserListScreen.tsx +85 -62
  834. package/src/ui/screens/WelcomeNewUserScreen.tsx +1 -1
  835. package/src/ui/screens/fileManagement/FileListSection.tsx +8 -7
  836. package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +16 -79
  837. package/src/ui/screens/fileManagement/UploadBar.tsx +4 -1
  838. package/src/ui/screens/index.ts +1 -0
  839. package/src/ui/screens/trust/TrustCenterScreen.tsx +13 -22
  840. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +32 -62
  841. package/src/ui/screens/trust/TrustRewardsScreen.tsx +10 -5
  842. package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -9
  843. package/src/ui/types/navigation.ts +12 -0
  844. package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
  845. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
  846. package/lib/module/ui/screens/UserLinksScreen.js +0 -57
  847. package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
  848. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
  849. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
  850. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
  851. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
  852. package/lib/typescript/types/expo-document-picker.d.ts +0 -35
  853. package/lib/typescript/types/expo-image-picker.d.ts +0 -35
  854. package/src/types/expo-document-picker.d.ts +0 -35
  855. package/src/types/expo-image-picker.d.ts +0 -35
  856. package/src/ui/screens/UserLinksScreen.tsx +0 -68
@@ -1,14 +1,15 @@
1
1
  import { OrganizationClaimReview } from '../components/organizations/OrganizationClaimReview';
2
2
  import { OrganizationClaims } from '../components/organizations/OrganizationClaims';
3
+ import { SpinnerIcon } from '@oxy.so/bloom/loading';
3
4
  import type React from 'react';
4
5
  import { useCallback, useMemo, useState } from 'react';
5
- import { View, StyleSheet, ActivityIndicator, Linking, Platform } from 'react-native';
6
+ import { View, StyleSheet, Linking, Platform } from 'react-native';
6
7
  import Ionicons from '../icons/Ionicons';
7
8
  import { toast } from '@oxy.so/bloom/toast';
8
9
  import { surfaces } from '@oxy.so/bloom/surfaces';
9
10
  import { useTheme } from '@oxy.so/bloom/theme';
10
11
  import { Text } from '@oxy.so/bloom/typography';
11
- import { SettingsListGroup, SettingsListItem } from '@oxy.so/bloom/settings-list';
12
+ import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
12
13
  import {
13
14
  getAccountDisplayName,
14
15
  getAccountFallbackHandle,
@@ -22,7 +23,7 @@ import ProfileSummaryCard from '../components/ProfileSummaryCard';
22
23
  import { SettingsIcon } from '../components/SettingsIcon';
23
24
  import { presentDeleteAccount } from '../components/modals/DeleteAccountModal';
24
25
  import { runAccountDeletionHandoff } from '../utils/accountDeletionHandoff';
25
- import { useOxy } from '../context/OxyContext';
26
+ import { useOxy } from '../context/oxyRuntimeContext';
26
27
  import { useI18n } from '../hooks/useI18n';
27
28
  import { useSurfaceHeader } from '../hooks/useSurfaceHeader';
28
29
  import { isWebBrowser } from '../utils/isWebBrowser';
@@ -33,8 +34,6 @@ import { deviceSessionTitle } from '../utils/deviceSessionTitle';
33
34
 
34
35
  type DeviceSessionRow = DeviceLinkedSession;
35
36
 
36
- const AVATAR_SIZE = 88;
37
-
38
37
  const formatRelative = (dateString?: string): string => {
39
38
  if (!dateString) {
40
39
  return '—';
@@ -72,11 +71,22 @@ const formatRelative = (dateString?: string): string => {
72
71
  * device, and security/destructive actions for THIS account. Multi-account
73
72
  * surface lives in the unified `OxyAccountDialogScreen` — keep these concerns separate.
74
73
  */
75
- const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navigate }) => {
74
+ interface ManageAccountScreenProps extends BaseScreenProps {
75
+ section?: 'data';
76
+ }
77
+
78
+ const ManageAccountScreen: React.FC<ManageAccountScreenProps> = ({
79
+ onClose,
80
+ goBack,
81
+ navigate,
82
+ section,
83
+ }) => {
76
84
  const bloomTheme = useTheme();
77
85
  const { t, locale } = useI18n();
78
86
 
79
- useSurfaceHeader({ title: t('manageAccount.title') || 'Manage your Oxy Account' });
87
+ useSurfaceHeader({
88
+ title: section === 'data' ? t('accountMenu.data') : t('manageAccount.title'),
89
+ });
80
90
  const {
81
91
  user: contextUser,
82
92
  isAuthenticated,
@@ -337,212 +347,220 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navig
337
347
  );
338
348
  }
339
349
 
340
- if (userLoading && !user) {
341
- return (
342
- <>
343
- <View className="items-center py-space-40">
344
- <ActivityIndicator color={bloomTheme.colors.primary} size="large" />
345
- </View>
346
- </>
347
- );
348
- }
349
-
350
350
  const deviceRows: DeviceSessionRow[] = (deviceSessions ?? []) as DeviceSessionRow[];
351
351
  const otherDevices = deviceRows.filter((d) => !d.isCurrent);
352
352
 
353
353
  return (
354
354
  <>
355
355
  <View className="px-screen-margin pb-space-24">
356
- {/* Profile card */}
357
- <ProfileSummaryCard
358
- displayName={displayName}
359
- avatarUri={avatarUri}
360
- avatarSize={AVATAR_SIZE}
361
- onAvatarPress={openAvatarPicker}
362
- showCameraBadge
363
- avatarAccessibilityLabel={t('editProfile.changeAvatar') || 'Change avatar'}
364
- lines={[handle ? (user?.username ? `@${handle}` : handle) : null, user?.email || null]}
365
- />
366
-
367
- {/* Profile section */}
368
- <SettingsListGroup title={t('manageAccount.sections.profile') || 'Profile'}>
369
- <SettingsListItem
370
- icon={<SettingsIcon name="account-circle" color={bloomTheme.colors.primary} />}
371
- title={t('manageAccount.items.editProfile.title') || 'Edit profile'}
372
- description={
373
- t('manageAccount.items.editProfile.subtitle') || 'Name, username, bio, links'
374
- }
375
- onPress={() => navigate?.('EditProfile')}
376
- />
377
- <SettingsListItem
378
- icon={<SettingsIcon name="palette" color={bloomTheme.colors.info} />}
379
- title={t('manageAccount.items.theme.title') || 'Theme color'}
380
- description={t('manageAccount.items.theme.subtitle') || 'Personalize your Bloom color'}
381
- onPress={() => navigate?.('Preferences')}
382
- />
383
- <SettingsListItem
384
- icon={<SettingsIcon name="eye" color={bloomTheme.colors.success} />}
385
- title={t('editProfile.items.previewProfile.title') || 'Preview profile'}
386
- description={
387
- t('editProfile.items.previewProfile.subtitle') ||
388
- 'See how your profile looks to others'
389
- }
390
- onPress={() => (user?.id ? navigate?.('Profile', { userId: user.id }) : undefined)}
391
- disabled={!user?.id}
392
- />
393
- <SettingsListItem
394
- icon={<SettingsIcon name="check-circle" color={bloomTheme.colors.primary} />}
395
- title={t('editProfile.items.verifyAccount.title') || 'Verify account'}
396
- description={t('editProfile.items.verifyAccount.subtitle') || 'Get a verified badge'}
397
- onPress={() => navigate?.('AccountVerification')}
398
- />
399
- </SettingsListGroup>
400
-
401
- {user?.kind === 'organization' ? (
402
- <SettingsListGroup title={t('organizationDirectory.title')}>
403
- <SettingsListItem
404
- title={t('organizationDirectory.view')}
405
- onPress={() => navigate?.('AccountSettings', { accountId: user.id })}
406
- />
407
- </SettingsListGroup>
408
- ) : null}
409
-
410
- {user?.kind === 'personal' ? (
356
+ {section !== 'data' ? (
411
357
  <>
412
- <OrganizationClaims key={user.id} />
413
- <OrganizationClaimReview key={`review:${user.id}`} />
414
- </>
415
- ) : null}
416
-
417
- {user?.kind === 'personal' ? (
418
- <SettingsListGroup title={t('supervision.title')}>
419
- <SettingsListItem
420
- title={t('supervision.title')}
421
- description={t('supervision.entryDescription')}
422
- onPress={() => navigate?.('Supervision')}
358
+ {/* Profile card */}
359
+ <ProfileSummaryCard
360
+ displayName={displayName}
361
+ avatarUri={avatarUri}
362
+ onAvatarPress={openAvatarPicker}
363
+ showCameraBadge
364
+ avatarAccessibilityLabel={t('editProfile.changeAvatar') || 'Change avatar'}
365
+ lines={[
366
+ handle ? (user?.username ? `@${handle}` : handle) : null,
367
+ user?.email || null,
368
+ ]}
423
369
  />
424
- </SettingsListGroup>
425
- ) : null}
426
370
 
427
- {/* Sessions section */}
428
- <SettingsListGroup title={t('manageAccount.sections.sessions') || 'Sessions & devices'}>
429
- {deviceSessionsLoading ? (
430
- <SettingsListItem
431
- icon={<SettingsIcon name="sync" color={bloomTheme.colors.primary} />}
432
- title={t('manageAccount.sessions.loading') || 'Loading sessions…'}
433
- rightElement={<ActivityIndicator color={bloomTheme.colors.primary} size="small" />}
434
- showChevron={false}
435
- disabled
436
- />
437
- ) : deviceRows.length === 0 ? (
438
- <SettingsListItem
439
- icon={<SettingsIcon name="cellphone" color={bloomTheme.colors.textTertiary} />}
440
- title={t('manageAccount.sessions.empty') || 'No active sessions'}
441
- showChevron={false}
442
- disabled
443
- />
444
- ) : (
445
- deviceRows.map((device) => (
446
- <SettingsListItem
447
- key={`device-${device.sessionId}`}
448
- icon={
449
- <SettingsIcon
450
- name={device.isCurrent ? 'cellphone' : 'cellphone-basic'}
451
- color={device.isCurrent ? bloomTheme.colors.success : bloomTheme.colors.primary}
452
- />
371
+ {/* Profile section */}
372
+ <GroupedSection title={t('manageAccount.sections.profile') || 'Profile'}>
373
+ <GroupedSectionItem
374
+ icon={<SettingsIcon name="account-circle" color={bloomTheme.colors.primary} />}
375
+ title={t('manageAccount.items.editProfile.title') || 'Edit profile'}
376
+ description={
377
+ t('manageAccount.items.editProfile.subtitle') || 'Name, username, bio, links'
453
378
  }
454
- title={deviceSessionTitle(device, t)}
379
+ onPress={() => navigate?.('EditProfile')}
380
+ />
381
+ <GroupedSectionItem
382
+ icon={<SettingsIcon name="palette" color={bloomTheme.colors.info} />}
383
+ title={t('manageAccount.items.theme.title') || 'Theme color'}
455
384
  description={
456
- t('manageAccount.sessions.lastActive', {
457
- relative: formatRelative(device.lastActive),
458
- }) || `Last active ${formatRelative(device.lastActive)}`
385
+ t('manageAccount.items.theme.subtitle') || 'Personalize your Bloom color'
459
386
  }
460
- onPress={device.isCurrent ? undefined : () => confirmRemoveDevice(device)}
461
- disabled={device.isCurrent || removingDeviceId === device.sessionId}
462
- rightElement={
463
- !device.isCurrent ? (
464
- removingDeviceId === device.sessionId ? (
465
- <ActivityIndicator color={bloomTheme.colors.error} size="small" />
466
- ) : (
467
- <Ionicons name="log-out-outline" size={18} color={bloomTheme.colors.error} />
468
- )
469
- ) : undefined
387
+ onPress={() => navigate?.('Preferences')}
388
+ />
389
+ <GroupedSectionItem
390
+ icon={<SettingsIcon name="eye" color={bloomTheme.colors.success} />}
391
+ title={t('editProfile.items.previewProfile.title') || 'Preview profile'}
392
+ description={
393
+ t('editProfile.items.previewProfile.subtitle') ||
394
+ 'See how your profile looks to others'
470
395
  }
471
- showChevron={false}
396
+ onPress={() => (user?.id ? navigate?.('Profile', { userId: user.id }) : undefined)}
397
+ disabled={!user?.id}
472
398
  />
473
- ))
474
- )}
475
- {otherDevices.length > 0 ? (
476
- <SettingsListItem
477
- icon={<SettingsIcon name="logout" color={bloomTheme.colors.error} />}
478
- title={
479
- t('manageAccount.sessions.signOutAllOnThisDevice') ||
480
- 'Sign out of all other devices'
481
- }
482
- description={
483
- t('manageAccount.sessions.signOutAllSubtitle', {
484
- count: otherDevices.length,
485
- }) || `End ${otherDevices.length} other device session(s)`
486
- }
487
- onPress={handleSignOutAllDevices}
488
- destructive
489
- showChevron={false}
490
- disabled={signingOutAllDevices}
491
- rightElement={
492
- signingOutAllDevices ? (
493
- <ActivityIndicator color={bloomTheme.colors.error} size="small" />
494
- ) : undefined
495
- }
496
- />
497
- ) : null}
498
- </SettingsListGroup>
499
-
500
- {/* Security section */}
501
- <SettingsListGroup title={t('manageAccount.sections.security') || 'Security'}>
502
- <SettingsListItem
503
- icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
504
- title={t('manageAccount.items.security.title') || 'Security settings'}
505
- description={t('manageAccount.items.security.subtitle') || 'Password, 2FA, recovery'}
506
- onPress={() => navigate?.('PrivacySettings')}
507
- />
508
- {user && !user.publicKey ? (
509
- <>
510
- <SettingsListItem
511
- icon={<SettingsIcon name="key" color={bloomTheme.colors.primary} />}
512
- title={t('signInSecurity.password.title')}
513
- description={t('signInSecurity.password.row')}
514
- onPress={() => navigate?.('SignInPassword')}
399
+ <GroupedSectionItem
400
+ icon={<SettingsIcon name="check-circle" color={bloomTheme.colors.primary} />}
401
+ title={t('editProfile.items.verifyAccount.title') || 'Verify account'}
402
+ description={
403
+ t('editProfile.items.verifyAccount.subtitle') || 'Get a verified badge'
404
+ }
405
+ onPress={() => navigate?.('AccountVerification')}
515
406
  />
516
- <SettingsListItem
407
+ </GroupedSection>
408
+
409
+ {user?.kind === 'organization' ? (
410
+ <GroupedSection title={t('organizationDirectory.title')}>
411
+ <GroupedSectionItem
412
+ title={t('organizationDirectory.view')}
413
+ onPress={() => navigate?.('AccountSettings', { accountId: user.id })}
414
+ />
415
+ </GroupedSection>
416
+ ) : null}
417
+
418
+ {user?.kind === 'personal' ? (
419
+ <>
420
+ <OrganizationClaims key={user.id} />
421
+ <OrganizationClaimReview key={`review:${user.id}`} />
422
+ </>
423
+ ) : null}
424
+
425
+ {user?.kind === 'personal' ? (
426
+ <GroupedSection title={t('supervision.title')}>
427
+ <GroupedSectionItem
428
+ title={t('supervision.title')}
429
+ description={t('supervision.entryDescription')}
430
+ onPress={() => navigate?.('Supervision')}
431
+ />
432
+ </GroupedSection>
433
+ ) : null}
434
+
435
+ {/* Sessions section */}
436
+ <GroupedSection title={t('manageAccount.sections.sessions') || 'Sessions & devices'}>
437
+ {deviceSessionsLoading ? (
438
+ <GroupedSectionItem
439
+ icon={<SettingsIcon name="sync" color={bloomTheme.colors.primary} />}
440
+ title={t('manageAccount.sessions.loading') || 'Loading sessions…'}
441
+ rightElement={null}
442
+ showChevron={false}
443
+ disabled
444
+ />
445
+ ) : deviceRows.length === 0 ? (
446
+ <GroupedSectionItem
447
+ icon={<SettingsIcon name="cellphone" color={bloomTheme.colors.textTertiary} />}
448
+ title={t('manageAccount.sessions.empty') || 'No active sessions'}
449
+ showChevron={false}
450
+ disabled
451
+ />
452
+ ) : (
453
+ deviceRows.map((device) => (
454
+ <GroupedSectionItem
455
+ key={`device-${device.sessionId}`}
456
+ icon={
457
+ <SettingsIcon
458
+ name={device.isCurrent ? 'cellphone' : 'cellphone-basic'}
459
+ color={
460
+ device.isCurrent ? bloomTheme.colors.success : bloomTheme.colors.primary
461
+ }
462
+ />
463
+ }
464
+ title={deviceSessionTitle(device, t)}
465
+ description={
466
+ t('manageAccount.sessions.lastActive', {
467
+ relative: formatRelative(device.lastActive),
468
+ }) || `Last active ${formatRelative(device.lastActive)}`
469
+ }
470
+ onPress={device.isCurrent ? undefined : () => confirmRemoveDevice(device)}
471
+ disabled={device.isCurrent || removingDeviceId === device.sessionId}
472
+ rightElement={
473
+ !device.isCurrent ? (
474
+ removingDeviceId === device.sessionId ? (
475
+ <SpinnerIcon color={bloomTheme.colors.error} size={16} />
476
+ ) : (
477
+ <Ionicons
478
+ name="log-out-outline"
479
+ size={18}
480
+ color={bloomTheme.colors.error}
481
+ />
482
+ )
483
+ ) : undefined
484
+ }
485
+ showChevron={false}
486
+ />
487
+ ))
488
+ )}
489
+ {otherDevices.length > 0 ? (
490
+ <GroupedSectionItem
491
+ icon={<SettingsIcon name="logout" color={bloomTheme.colors.error} />}
492
+ title={
493
+ t('manageAccount.sessions.signOutAllOnThisDevice') ||
494
+ 'Sign out of all other devices'
495
+ }
496
+ description={
497
+ t('manageAccount.sessions.signOutAllSubtitle', {
498
+ count: otherDevices.length,
499
+ }) || `End ${otherDevices.length} other device session(s)`
500
+ }
501
+ onPress={handleSignOutAllDevices}
502
+ destructive
503
+ showChevron={false}
504
+ disabled={signingOutAllDevices}
505
+ rightElement={
506
+ signingOutAllDevices ? (
507
+ <SpinnerIcon color={bloomTheme.colors.error} size={16} />
508
+ ) : undefined
509
+ }
510
+ />
511
+ ) : null}
512
+ </GroupedSection>
513
+
514
+ {/* Security section */}
515
+ <GroupedSection title={t('manageAccount.sections.security') || 'Security'}>
516
+ <GroupedSectionItem
517
517
  icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
518
- title={t('signInSecurity.totp.title')}
519
- description={t('signInSecurity.totp.row')}
520
- onPress={() => navigate?.('SignInAuthenticator')}
521
- />
522
- <SettingsListItem
523
- icon={<SettingsIcon name="link" color={bloomTheme.colors.primary} />}
524
- title={t('linkCommons.title')}
525
- description={t('linkCommons.row')}
526
- onPress={() => navigate?.('LinkCommons')}
518
+ title={t('manageAccount.items.security.title') || 'Security settings'}
519
+ description={
520
+ t('manageAccount.items.security.subtitle') || 'Password, 2FA, recovery'
521
+ }
522
+ onPress={() => navigate?.('PrivacySettings')}
527
523
  />
528
- </>
529
- ) : null}
530
- {user?.isPremium || subscription?.status === 'active' ? (
531
- <SettingsListItem
532
- icon={<SettingsIcon name="credit-card" color={bloomTheme.colors.success} />}
533
- title={t('manageAccount.items.billing.title') || 'Billing'}
534
- description={
535
- t('manageAccount.items.billing.subtitle') ||
536
- 'Manage subscription and payment methods'
537
- }
538
- onPress={() => navigate?.('PaymentGateway')}
539
- />
540
- ) : null}
541
- </SettingsListGroup>
524
+ {user && !user.publicKey ? (
525
+ <>
526
+ <GroupedSectionItem
527
+ icon={<SettingsIcon name="key" color={bloomTheme.colors.primary} />}
528
+ title={t('signInSecurity.password.title')}
529
+ description={t('signInSecurity.password.row')}
530
+ onPress={() => navigate?.('SignInPassword')}
531
+ />
532
+ <GroupedSectionItem
533
+ icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
534
+ title={t('signInSecurity.totp.title')}
535
+ description={t('signInSecurity.totp.row')}
536
+ onPress={() => navigate?.('SignInAuthenticator')}
537
+ />
538
+ <GroupedSectionItem
539
+ icon={<SettingsIcon name="link" color={bloomTheme.colors.primary} />}
540
+ title={t('linkCommons.title')}
541
+ description={t('linkCommons.row')}
542
+ onPress={() => navigate?.('LinkCommons')}
543
+ />
544
+ </>
545
+ ) : null}
546
+ {user?.isPremium || subscription?.status === 'active' ? (
547
+ <GroupedSectionItem
548
+ icon={<SettingsIcon name="credit-card" color={bloomTheme.colors.success} />}
549
+ title={t('manageAccount.items.billing.title') || 'Billing'}
550
+ description={
551
+ t('manageAccount.items.billing.subtitle') ||
552
+ 'Manage subscription and payment methods'
553
+ }
554
+ onPress={() => navigate?.('PaymentGateway')}
555
+ />
556
+ ) : null}
557
+ </GroupedSection>
558
+ </>
559
+ ) : null}
542
560
 
543
561
  {/* Account & data */}
544
- <SettingsListGroup title={t('accountOverview.sections.quickActions') || 'Account & data'}>
545
- <SettingsListItem
562
+ <GroupedSection title={t('accountOverview.sections.quickActions') || 'Account & data'}>
563
+ <GroupedSectionItem
546
564
  icon={<SettingsIcon name="clock" color={bloomTheme.colors.primary} />}
547
565
  title={t('accountOverview.items.history.title') || 'History'}
548
566
  description={
@@ -550,7 +568,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navig
550
568
  }
551
569
  onPress={() => navigate?.('HistoryView')}
552
570
  />
553
- <SettingsListItem
571
+ <GroupedSectionItem
554
572
  icon={<SettingsIcon name="folder" color={bloomTheme.colors.info} />}
555
573
  title={t('accountCenter.items.fileManagement.title') || 'Files'}
556
574
  description={
@@ -559,7 +577,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navig
559
577
  }
560
578
  onPress={() => navigate?.('FileManagement')}
561
579
  />
562
- <SettingsListItem
580
+ <GroupedSectionItem
563
581
  icon={<SettingsIcon name="download" color={bloomTheme.colors.primary} />}
564
582
  title={t('accountOverview.items.downloadData.title') || 'Download your data'}
565
583
  description={
@@ -568,154 +586,163 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, navig
568
586
  }
569
587
  onPress={handleDownloadData}
570
588
  />
571
- </SettingsListGroup>
572
-
573
- {/* Accounts (unified account graph) */}
574
- {accounts.length > 0 || isAuthenticated ? (
575
- <SettingsListGroup title={t('accountCenter.sections.accounts') || 'Accounts'}>
576
- <SettingsListItem
577
- icon={<SettingsIcon name="account-switch" color={bloomTheme.colors.info} />}
578
- title={t('accounts.manage.switch.title') || 'Switch account'}
579
- description={
580
- accounts.length > 0
581
- ? // One account is "1 account", not "1 accounts".
582
- t(
583
- accounts.length === 1
584
- ? 'accounts.manage.switch.countOne'
585
- : 'accounts.manage.switch.count',
586
- { count: accounts.length },
587
- )
588
- : t('accounts.manage.switch.empty') || 'Accounts you own or share'
589
- }
590
- onPress={() => openAccountDialog('accounts')}
591
- />
592
- <SettingsListItem
593
- icon={<SettingsIcon name="account-plus" color={bloomTheme.colors.primary} />}
594
- title={t('accounts.create.title') || 'Create account'}
595
- description={
596
- t('accounts.manage.create.subtitle') || 'Add an organization, project, or bot'
597
- }
598
- onPress={() => navigate?.('CreateAccount')}
599
- />
600
- </SettingsListGroup>
601
- ) : null}
589
+ </GroupedSection>
602
590
 
603
- {/* Preferences */}
604
- <SettingsListGroup title={t('manageAccount.sections.preferences') || 'Preferences'}>
605
- <SettingsListItem
606
- icon={<SettingsIcon name="cog" color={bloomTheme.colors.info} />}
607
- title={t('preferences.title') || 'Preferences'}
608
- description={t('preferences.subtitle') || 'Theme, motion, and regional settings'}
609
- onPress={() => navigate?.('Preferences')}
610
- />
611
- <SettingsListItem
612
- icon={<SettingsIcon name="bell" color={bloomTheme.colors.primary} />}
613
- title={t('notifications.title') || 'Notifications'}
614
- description={t('notifications.subtitle') || 'Manage push, email, and security alerts'}
615
- onPress={() => navigate?.('Notifications')}
616
- />
617
- <SettingsListItem
618
- icon={<SettingsIcon name="translate" color={bloomTheme.colors.primary} />}
619
- title={t('language.title') || 'Language'}
620
- description={t('language.subtitle') || 'Choose your preferred language'}
621
- onPress={() => navigate?.('LanguageSelector')}
622
- />
623
- <SettingsListItem
624
- icon={<SettingsIcon name="apps" color={bloomTheme.colors.info} />}
625
- title={t('connectedApps.title') || 'Connected apps'}
626
- description={t('connectedApps.subtitle') || 'Manage third-party app access'}
627
- onPress={() => navigate?.('ConnectedApps')}
628
- />
629
- <SettingsListItem
630
- icon={<SettingsIcon name="web" color={bloomTheme.colors.success} />}
631
- title={t('domains.title')}
632
- description={t('domains.subtitle')}
633
- onPress={() => navigate?.('Domains')}
634
- />
635
- <SettingsListItem
636
- icon={<SettingsIcon name="magnify" color={bloomTheme.colors.primary} />}
637
- title={t('accountOverview.items.searchSettings.title') || 'Search settings'}
638
- description={
639
- t('accountOverview.items.searchSettings.subtitle') || 'SafeSearch and personalization'
640
- }
641
- onPress={() => navigate?.('SearchSettings')}
642
- />
643
- </SettingsListGroup>
644
-
645
- {/* Support */}
646
- <SettingsListGroup title={t('accountOverview.sections.support') || 'Support'}>
647
- <SettingsListItem
648
- icon={<SettingsIcon name="help-circle" color={bloomTheme.colors.primary} />}
649
- title={t('accountOverview.items.help.title') || 'Help & support'}
650
- description={t('accountOverview.items.help.subtitle') || 'Get help and contact support'}
651
- onPress={() => navigate?.('HelpSupport')}
652
- />
653
- <SettingsListItem
654
- icon={<SettingsIcon name="information" color={bloomTheme.colors.success} />}
655
- title={t('accountOverview.items.about.title') || 'About'}
656
- description={t('accountOverview.items.about.subtitle') || 'Version and system details'}
657
- onPress={() => navigate?.('AppInfo')}
658
- />
659
- </SettingsListGroup>
660
-
661
- {/* Legal */}
662
- <SettingsListGroup title={t('manageAccount.sections.legal') || 'Legal'}>
663
- <SettingsListItem
664
- icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
665
- title={t('accountOverview.items.privacyPolicy.title') || 'Privacy policy'}
666
- description={
667
- t('accountOverview.items.privacyPolicy.subtitle') || 'How we handle your data'
668
- }
669
- onPress={() => navigate?.('LegalDocuments', { initialStep: 1 })}
670
- />
671
- <SettingsListItem
672
- icon={<SettingsIcon name="file-document" color={bloomTheme.colors.primary} />}
673
- title={t('accountOverview.items.termsOfService.title') || 'Terms of service'}
674
- description={
675
- t('accountOverview.items.termsOfService.subtitle') || 'Terms and conditions of use'
676
- }
677
- onPress={() => navigate?.('LegalDocuments', { initialStep: 2 })}
678
- />
679
- </SettingsListGroup>
591
+ {section !== 'data' ? (
592
+ <>
593
+ {/* Accounts (unified account graph) */}
594
+ {accounts.length > 0 || isAuthenticated ? (
595
+ <GroupedSection title={t('accountCenter.sections.accounts') || 'Accounts'}>
596
+ <GroupedSectionItem
597
+ icon={<SettingsIcon name="account-switch" color={bloomTheme.colors.info} />}
598
+ title={t('accounts.manage.switch.title') || 'Switch account'}
599
+ description={
600
+ accounts.length > 0
601
+ ? // One account is "1 account", not "1 accounts".
602
+ t(
603
+ accounts.length === 1
604
+ ? 'accounts.manage.switch.countOne'
605
+ : 'accounts.manage.switch.count',
606
+ { count: accounts.length },
607
+ )
608
+ : t('accounts.manage.switch.empty') || 'Accounts you own or share'
609
+ }
610
+ onPress={() => openAccountDialog('accounts')}
611
+ />
612
+ <GroupedSectionItem
613
+ icon={<SettingsIcon name="account-plus" color={bloomTheme.colors.primary} />}
614
+ title={t('accounts.create.title') || 'Create account'}
615
+ description={
616
+ t('accounts.manage.create.subtitle') || 'Add an organization, project, or bot'
617
+ }
618
+ onPress={() => navigate?.('CreateAccount')}
619
+ />
620
+ </GroupedSection>
621
+ ) : null}
622
+
623
+ {/* Preferences */}
624
+ <GroupedSection title={t('manageAccount.sections.preferences') || 'Preferences'}>
625
+ <GroupedSectionItem
626
+ icon={<SettingsIcon name="cog" color={bloomTheme.colors.info} />}
627
+ title={t('preferences.title') || 'Preferences'}
628
+ description={t('preferences.subtitle') || 'Theme, motion, and regional settings'}
629
+ onPress={() => navigate?.('Preferences')}
630
+ />
631
+ <GroupedSectionItem
632
+ icon={<SettingsIcon name="bell" color={bloomTheme.colors.primary} />}
633
+ title={t('notifications.title') || 'Notifications'}
634
+ description={
635
+ t('notifications.subtitle') || 'Manage push, email, and security alerts'
636
+ }
637
+ onPress={() => navigate?.('Notifications')}
638
+ />
639
+ <GroupedSectionItem
640
+ icon={<SettingsIcon name="translate" color={bloomTheme.colors.primary} />}
641
+ title={t('language.title') || 'Language'}
642
+ description={t('language.subtitle') || 'Choose your preferred language'}
643
+ onPress={() => navigate?.('LanguageSelector')}
644
+ />
645
+ <GroupedSectionItem
646
+ icon={<SettingsIcon name="apps" color={bloomTheme.colors.info} />}
647
+ title={t('connectedApps.title') || 'Connected apps'}
648
+ description={t('connectedApps.subtitle') || 'Manage third-party app access'}
649
+ onPress={() => navigate?.('ConnectedApps')}
650
+ />
651
+ <GroupedSectionItem
652
+ icon={<SettingsIcon name="web" color={bloomTheme.colors.success} />}
653
+ title={t('domains.title')}
654
+ description={t('domains.subtitle')}
655
+ onPress={() => navigate?.('Domains')}
656
+ />
657
+ <GroupedSectionItem
658
+ icon={<SettingsIcon name="magnify" color={bloomTheme.colors.primary} />}
659
+ title={t('accountOverview.items.searchSettings.title') || 'Search settings'}
660
+ description={
661
+ t('accountOverview.items.searchSettings.subtitle') ||
662
+ 'SafeSearch and personalization'
663
+ }
664
+ onPress={() => navigate?.('SearchSettings')}
665
+ />
666
+ </GroupedSection>
680
667
 
681
- {/* Danger zone */}
682
- <SettingsListGroup title={t('manageAccount.sections.dangerZone') || 'Danger zone'}>
683
- <SettingsListItem
684
- icon={<SettingsIcon name="delete" color={bloomTheme.colors.error} />}
685
- title={t('accountOverview.items.deleteAccount.title') || 'Delete account'}
686
- description={
687
- t('accountOverview.items.deleteAccount.subtitle') ||
688
- 'Permanently delete your account and all data'
689
- }
690
- onPress={handleDeleteAccount}
691
- destructive
692
- />
693
- </SettingsListGroup>
694
-
695
- {/* Sign out of this account */}
696
- <SettingsListGroup>
697
- <SettingsListItem
698
- icon={<SettingsIcon name="logout" color={bloomTheme.colors.error} />}
699
- title={t('manageAccount.signOutOfThisAccount') || 'Sign out of this account'}
700
- onPress={handleSignOut}
701
- destructive
702
- showChevron={false}
703
- disabled={signingOut}
704
- rightElement={
705
- signingOut ? (
706
- <ActivityIndicator color={bloomTheme.colors.error} size="small" />
707
- ) : undefined
708
- }
709
- />
710
- </SettingsListGroup>
668
+ {/* Support */}
669
+ <GroupedSection title={t('accountOverview.sections.support') || 'Support'}>
670
+ <GroupedSectionItem
671
+ icon={<SettingsIcon name="help-circle" color={bloomTheme.colors.primary} />}
672
+ title={t('accountOverview.items.help.title') || 'Help & support'}
673
+ description={
674
+ t('accountOverview.items.help.subtitle') || 'Get help and contact support'
675
+ }
676
+ onPress={() => navigate?.('HelpSupport')}
677
+ />
678
+ <GroupedSectionItem
679
+ icon={<SettingsIcon name="information" color={bloomTheme.colors.success} />}
680
+ title={t('accountOverview.items.about.title') || 'About'}
681
+ description={
682
+ t('accountOverview.items.about.subtitle') || 'Version and system details'
683
+ }
684
+ onPress={() => navigate?.('AppInfo')}
685
+ />
686
+ </GroupedSection>
711
687
 
712
- <View className="items-center mt-space-12 mb-space-8">
713
- <Text className="text-text-tertiary text-xs">
714
- {t('accountCenter.version', { version: packageInfo.version }) ||
715
- `Version ${packageInfo.version}`}
716
- </Text>
717
- </View>
688
+ {/* Legal */}
689
+ <GroupedSection title={t('manageAccount.sections.legal') || 'Legal'}>
690
+ <GroupedSectionItem
691
+ icon={<SettingsIcon name="shield-check" color={bloomTheme.colors.primary} />}
692
+ title={t('accountOverview.items.privacyPolicy.title') || 'Privacy policy'}
693
+ description={
694
+ t('accountOverview.items.privacyPolicy.subtitle') || 'How we handle your data'
695
+ }
696
+ onPress={() => navigate?.('LegalDocuments', { initialStep: 1 })}
697
+ />
698
+ <GroupedSectionItem
699
+ icon={<SettingsIcon name="file-document" color={bloomTheme.colors.primary} />}
700
+ title={t('accountOverview.items.termsOfService.title') || 'Terms of service'}
701
+ description={
702
+ t('accountOverview.items.termsOfService.subtitle') ||
703
+ 'Terms and conditions of use'
704
+ }
705
+ onPress={() => navigate?.('LegalDocuments', { initialStep: 2 })}
706
+ />
707
+ </GroupedSection>
718
708
 
709
+ {/* Danger zone */}
710
+ <GroupedSection title={t('manageAccount.sections.dangerZone') || 'Danger zone'}>
711
+ <GroupedSectionItem
712
+ icon={<SettingsIcon name="delete" color={bloomTheme.colors.error} />}
713
+ title={t('accountOverview.items.deleteAccount.title') || 'Delete account'}
714
+ description={
715
+ t('accountOverview.items.deleteAccount.subtitle') ||
716
+ 'Permanently delete your account and all data'
717
+ }
718
+ onPress={handleDeleteAccount}
719
+ destructive
720
+ />
721
+ </GroupedSection>
722
+
723
+ {/* Sign out of this account */}
724
+ <GroupedSection>
725
+ <GroupedSectionItem
726
+ icon={<SettingsIcon name="logout" color={bloomTheme.colors.error} />}
727
+ title={t('manageAccount.signOutOfThisAccount') || 'Sign out of this account'}
728
+ onPress={handleSignOut}
729
+ destructive
730
+ showChevron={false}
731
+ disabled={signingOut}
732
+ rightElement={
733
+ signingOut ? <SpinnerIcon color={bloomTheme.colors.error} size={16} /> : undefined
734
+ }
735
+ />
736
+ </GroupedSection>
737
+
738
+ <View className="items-center mt-space-12 mb-space-8">
739
+ <Text className="text-text-tertiary text-xs">
740
+ {t('accountCenter.version', { version: packageInfo.version }) ||
741
+ `Version ${packageInfo.version}`}
742
+ </Text>
743
+ </View>
744
+ </>
745
+ ) : null}
719
746
  <View style={styles.footerSpacer} />
720
747
  </View>
721
748
  </>