@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,96 +1,26 @@
1
1
  "use strict";
2
2
 
3
- /**
4
- * The signed-in Oxy account MENU (`accounts` view) — a Google-account-menu-style
5
- * full menu built entirely with NativeWind `className` (the dynamic per-account
6
- * accent hex is the one inline style NativeWind cannot express). Structure:
7
- *
8
- * - HERO on its own chrome-free block: the current account's large pressable
9
- * avatar (with a camera badge to change the photo), the greeting, the account
10
- * address, and a "Manage your Oxy account" pill.
11
- * - SWITCH ACCOUNT: a disclosure row whose corner animates from pill to card as
12
- * the device's people + "Add another account" + "Manage accounts on this
13
- * device" reveal beneath it. The list is grouped BY PERSON (ADR 0002): an
14
- * account sits under the human who can operate it, and the same organization
15
- * reachable through two people is two rows under two names — the thing a list
16
- * keyed by account id structurally cannot say.
17
- * - OXY STORAGE: cloud + used/total + a composition meter + Upgrade / Manage chips.
18
- * - MENU rows: Your data in Oxy · Oxy settings · Help & feedback · Sign out —
19
- * Bloom's grouped section, the same component every other SDK settings surface
20
- * uses, not a local row copy.
21
- * - FOOTER: Privacy Policy · Terms of Service.
22
- *
23
- * All three blocks share ONE rhythm taken from that grouped section: a 12px
24
- * content inset, a 12px gap after the leading element, 16px between blocks, and
25
- * a 16px trailing chevron column.
26
- *
27
- * Collapse state is a plain `useState` toggled in the row's press handler — no
28
- * effect hook, no derived-from-props sync.
29
- */
30
-
31
- import { Fragment, useCallback, useState } from 'react';
32
- import { Pressable, View } from 'react-native-css/components';
33
- import Animated, { Extrapolation, interpolate, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
3
+ import { SpinnerIcon } from '@oxy.so/bloom/loading';
4
+ import { useCallback, useState } from 'react';
5
+ import { View } from 'react-native-css/components';
6
+ import Animated, { useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
34
7
  import MaterialCommunityIcons from "../../icons/MaterialCommunityIcons.js";
35
8
  import { Avatar } from '@oxy.so/bloom/avatar';
36
- import { AvatarGroup } from '@oxy.so/bloom/avatar-group';
37
- import { Button } from '@oxy.so/bloom/button';
9
+ import { Button, LinkButton } from '@oxy.so/bloom/button';
10
+ import { RiSparklingFill } from '@oxy.so/bloom/icons/RiSparklingFill';
38
11
  import { PressableScale } from '@oxy.so/bloom/pressable-scale';
39
- import { CompositionBar } from '@oxy.so/bloom/composition-bar';
40
- import { SettingsListGroup, SettingsListItem } from '@oxy.so/bloom/settings-list';
12
+ import { UsageCard } from '@oxy.so/bloom/usage-card';
13
+ import { GroupedSection, GroupedSectionItem, GroupedSectionCollapse, GroupedSectionIcon } from '@oxy.so/bloom/grouped-section';
41
14
  import { Text } from '@oxy.so/bloom/typography';
42
15
  import { showsPrincipalHeaders } from '@oxy.so/core/session';
43
16
  import AvatarCameraBadge from "../AvatarCameraBadge.js";
17
+ import LogoIcon from "../logo/LogoIcon.js";
44
18
  import { authChooserStyles as styles } from "./styles.js";
19
+ import { accountStorageUsage, formatStorageSize, shouldShowStorageActions } from "./storageUsage.js";
45
20
  import { resolveAccentHex } from "./types.js";
46
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
47
- /**
48
- * A `Pressable` that appends a hover-tint NativeWind token while pointer-hovered.
49
- * The Metro web pipeline here does NOT emit NativeWind `hover:` variants, so hover
50
- * is driven by RN's cross-platform `onHoverIn`/`onHoverOut` (they fire only on web
51
- * via react-native-web; a no-op on native) toggling a plain background token —
52
- * the tint stays a NativeWind class, only the trigger is JS.
53
- */
54
- const HoverPressable = ({
55
- baseClassName,
56
- hoverClassName,
57
- ...rest
58
- }) => {
59
- const [hovered, setHovered] = useState(false);
60
- return /*#__PURE__*/_jsx(Pressable, {
61
- ...rest,
62
- className: hovered ? `${baseClassName} ${hoverClassName}` : baseClassName,
63
- onHoverIn: () => setHovered(true),
64
- onHoverOut: () => setHovered(false)
65
- });
66
- };
67
21
 
68
- /**
69
- * Leading glyph for the rows that live in a Bloom grouped section (the MENU
70
- * block) and for the storage card's cloud, which lines its title up with them.
71
- * It is Bloom's OWN icon-slot size: `SettingsListItem` reserves a fixed 20px
72
- * leading column and Bloom is consumed exactly as it ships, so a menu glyph
73
- * larger than this would overhang into the row's title.
74
- */
75
- const ROW_ICON_SIZE = 20;
76
- /**
77
- * The switch card's two corner states. Collapsed it is one row and reads as a
78
- * PILL; opened it is a card holding rows, on the same 16px corner the Bloom
79
- * grouped section below it uses. Interpolated across the reveal, never snapped.
80
- */
81
- const SWITCH_CARD_PILL_RADIUS = 999;
82
- const SWITCH_CARD_RADIUS = 16;
83
- /**
84
- * The fraction of the reveal over which the corner resolves. The corner is a
85
- * FASTER gesture than the reveal — it has to be finished before the rows read as
86
- * rows, or the card still looks like a pill while a list falls out of it — so it
87
- * is clamped to the reveal's opening fraction instead of tracking it end to end.
88
- * Measured in a browser against the 240ms reveal: the corner reaches its card
89
- * value ~120ms in, with the list only ~20% revealed, and (mirrored) the pill is
90
- * back ~250ms into the close, with the list already down to ~0.
91
- */
92
- const SWITCH_CARD_RADIUS_SETTLE = 0.2;
93
- /** Duration of the switch-list reveal. */
22
+ /** Duration of the disclosure chevron rotation. */
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
94
24
  const SWITCH_REVEAL_MS = 240;
95
25
  /** Diameter of an account row's avatar in the switch list (own markup). */
96
26
  const SWITCH_AVATAR_SIZE = 36;
@@ -99,30 +29,8 @@ const SWITCH_AVATAR_SIZE = 36;
99
29
  * rows beneath it: the header labels the group, the rows are the targets.
100
30
  */
101
31
  const PRINCIPAL_AVATAR_SIZE = 24;
102
- /** Glyph inside a bordered affordance badge, sized to the avatar it stands in for. */
103
- const BADGE_GLYPH_SIZE = 19;
104
- /** The hero block's large current-account avatar. */
105
- const HERO_AVATAR_SIZE = 72;
106
- /** Avatars shown in the switch row's facepile before it collapses into `+N`. */
107
- const FACEPILE_MAX = 2;
108
- /** Facepile avatar diameter — one clear step down from a switch-list avatar. */
109
- const FACEPILE_AVATAR_SIZE = 32;
110
- /**
111
- * Facepile overlap. Well under Bloom's `size / 3` default: the stack draws the
112
- * FIRST item on top, so a deep overlap would bury the trailing `+N` chip's own
113
- * label under the avatar before it.
114
- */
115
- const FACEPILE_OVERLAP = 4;
116
-
117
- /**
118
- * `bytes` → `"11.6 GB"`. Whole plan sizes read as whole numbers (`"17 GB"`, not
119
- * `"17.0 GB"`), and anything ≥ 100 GB drops the decimal entirely.
120
- */
121
- function formatStorageGb(bytes) {
122
- const gb = bytes / 1024 ** 3;
123
- if (gb >= 100 || Number.isInteger(gb)) return `${Math.round(gb)} GB`;
124
- return `${gb.toFixed(1)} GB`;
125
- }
32
+ /** Current-account avatar in the summary row. */
33
+ const HERO_AVATAR_SIZE = 56;
126
34
  const AccountsMenuView = ({
127
35
  snapshot,
128
36
  principals,
@@ -134,37 +42,14 @@ const AccountsMenuView = ({
134
42
  menu
135
43
  }) => {
136
44
  const [expanded, setExpanded] = useState(false);
137
- // Measured natural height of the switch list, so the reveal animates to an
138
- // exact height (and the content below reflows down smoothly) instead of a
139
- // guessed max. The measuring wrapper is style-based, NOT className'd — on
140
- // RN-Web `onLayout` never fires for className'd Views (see AGENTS.md).
141
- const [listContentHeight, setListContentHeight] = useState(0);
142
- // 0 = collapsed, 1 = expanded. Set imperatively in the toggle handler (no
143
- // effect hook). On RN-Web there is no worklets plugin, so every shared value a
144
- // mapper reads MUST be in its deps array or it freezes on the first frame
145
- // (AGENTS.md "Reanimated (web)").
45
+ const [summaryHovered, setSummaryHovered] = useState(false);
46
+ // Bloom owns the grouped surface; the dialog owns measured size transitions.
146
47
  const listProgress = useSharedValue(0);
147
- const listStyle = useAnimatedStyle(() => ({
148
- height: listProgress.value * listContentHeight,
149
- opacity: listProgress.value
150
- }), [listProgress, listContentHeight]);
151
48
  const chevronStyle = useAnimatedStyle(() => ({
152
49
  transform: [{
153
50
  rotate: `${listProgress.value * 180}deg`
154
51
  }]
155
52
  }), [listProgress]);
156
- // Collapsed, the switch card is a single row and reads as a PILL; opened, it
157
- // becomes a card holding rows and takes the grouped-section corner. The corner
158
- // is driven off the SAME `listProgress` as the reveal — but clamped to its
159
- // opening fraction, so it resolves early instead of trailing the rows.
160
- const switchCardStyle = useAnimatedStyle(() => ({
161
- borderRadius: interpolate(listProgress.value, [0, SWITCH_CARD_RADIUS_SETTLE], [SWITCH_CARD_PILL_RADIUS, SWITCH_CARD_RADIUS], Extrapolation.CLAMP)
162
- }), [listProgress]);
163
- // `CompositionBar` ships as an interactive breakdown: a selected segment
164
- // replaces its hint line with that segment's readout. Tapping the selected one
165
- // again clears it.
166
- const [storageSegment, setStorageSegment] = useState(null);
167
- const toggleStorageSegment = useCallback(key => setStorageSegment(previous => previous === key ? null : key), []);
168
53
  const toggleExpanded = useCallback(() => {
169
54
  const next = !expanded;
170
55
  setExpanded(next);
@@ -172,305 +57,218 @@ const AccountsMenuView = ({
172
57
  duration: SWITCH_REVEAL_MS
173
58
  });
174
59
  }, [expanded, listProgress]);
175
- if (snapshot.loading && principals.length === 0) {
176
- return /*#__PURE__*/_jsxs(View, {
177
- className: "items-center justify-center gap-space-12 py-space-24",
178
- children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
179
- name: "loading",
180
- size: 24,
181
- color: theme.colors.textSecondary
182
- }), /*#__PURE__*/_jsx(Text, {
183
- className: "text-body text-text-secondary text-center",
184
- children: t('accountSwitcher.loading')
185
- })]
186
- });
187
- }
188
60
 
189
61
  // Activation and the two removals all mutate the same device, so any one of
190
62
  // them in flight disables every row: a second press would race the first for
191
63
  // which context the server ends up electing as active.
192
64
  const busy = snapshot.activatingContextId !== null || snapshot.removingContextId !== null || snapshot.removingPrincipalId !== null;
193
- const currentAccent = hero?.accentHex ?? theme.colors.primary;
194
65
  // Naming the person above each block earns its place only when the grouping
195
66
  // carries information — a second person, or somebody with more than one
196
67
  // account. On a one-person, one-account device it would just repeat the hero.
197
68
  const showPrincipalHeaders = showsPrincipalHeaders(principals);
198
- const contextRows = principals.flatMap(principal => principal.contexts);
199
- // Remounts the measured wrapper when the rows change, so the collapse animates
200
- // to the new natural height instead of the previous one.
201
- const switchListKey = contextRows.map(context => context.contextId).join(':');
202
- const facepile = contextRows.map(context => ({
203
- id: context.contextId,
204
- uri: context.avatarUrl ?? undefined,
205
- displayName: context.displayName
206
- }));
207
-
208
- // Used vs free is a two-part COMPOSITION (the parts always fill the bar), not
209
- // a progress value — exactly what Bloom's `CompositionBar` models. Both colors
210
- // are theme tokens, so the bar is correct in light and dark.
211
- const storageCategories = storage ? [{
212
- key: 'used',
213
- name: t('accountMenu.storage.used'),
214
- amount: storage.usedBytes,
215
- color: theme.colors.primary
216
- }, {
217
- key: 'free',
218
- name: t('accountMenu.storage.free'),
219
- amount: Math.max(0, storage.limitBytes - storage.usedBytes),
220
- color: theme.colors.contrast50
221
- }] : [];
222
- const usageLabel = storage ? t('accountMenu.storage.usage', {
223
- used: formatStorageGb(storage.usedBytes),
224
- total: formatStorageGb(storage.limitBytes)
225
- }) : t('accountMenu.storage.unavailable');
226
69
 
227
- // The switch list body, revealed under the "Switch account" row. Own markup,
228
- // not a Bloom grouped section: this is not a list of settings rows and the
229
- // component is not a card container. It mirrors the section's rhythm by hand —
230
- // 12px content inset, 12px after the avatar, a hairline between rows — and
231
- // draws those hairlines INSIDE the animated clip, so a collapsed list never
232
- // strands one against the header row.
233
- const listItems = /*#__PURE__*/_jsxs(_Fragment, {
234
- children: [principals.map((principal, principalIndex) => /*#__PURE__*/_jsxs(Fragment, {
235
- children: [principalIndex > 0 ? /*#__PURE__*/_jsx(View, {
236
- className: "h-px bg-border opacity-30"
237
- }) : null, showPrincipalHeaders ? /*#__PURE__*/_jsx(PrincipalHeaderRow, {
238
- principal: principal,
239
- removing: snapshot.removingPrincipalId === principal.principalId,
240
- disabled: busy,
241
- onSignOut: () => handlers.onRemovePrincipal(principal.principalId),
242
- theme: theme,
243
- t: t
244
- }) : null, principal.contexts.map((context, contextIndex) => /*#__PURE__*/_jsxs(Fragment, {
245
- children: [contextIndex > 0 || showPrincipalHeaders ? /*#__PURE__*/_jsx(View, {
246
- className: "h-px bg-border opacity-30 ml-space-12"
247
- }) : null, /*#__PURE__*/_jsx(ContextRow, {
248
- context: context,
249
- principalName: principal.displayName,
250
- accent: resolveAccentHex(context.color, theme.colors.primary),
251
- activating: snapshot.activatingContextId === context.contextId,
252
- removing: snapshot.removingContextId === context.contextId,
253
- disabled: busy,
254
- onActivate: () => handlers.onActivate(context.contextId),
255
- onRemove: () => handlers.onRemoveContext(context.contextId),
256
- theme: theme,
257
- t: t
258
- })]
259
- }, context.contextId))]
260
- }, principal.principalId)), /*#__PURE__*/_jsx(View, {
261
- className: "h-px bg-border opacity-30 ml-space-12"
262
- }), /*#__PURE__*/_jsx(AccountAffordanceRow, {
263
- icon: "plus",
264
- label: t('accountMenu.addAnother'),
265
- onPress: handlers.onAdd,
266
- disabled: busy,
267
- theme: theme
268
- }), /*#__PURE__*/_jsx(View, {
269
- className: "h-px bg-border opacity-30 ml-space-12"
270
- }), /*#__PURE__*/_jsx(AccountAffordanceRow, {
271
- icon: "account-multiple-outline",
272
- label: t('accountSwitcher.manageOnDevice'),
273
- onPress: handlers.onManage,
274
- disabled: busy,
275
- theme: theme
276
- })]
277
- });
70
+ // Direct children share Bloom's grouped shape and spacing. Keep the
71
+ // principal/context pair as the action identity, even for shared accounts.
72
+ const listItems = principals.flatMap(principal => [...(showPrincipalHeaders ? [/*#__PURE__*/_jsx(PrincipalHeaderRow, {
73
+ principal: principal,
74
+ removing: snapshot.removingPrincipalId === principal.principalId,
75
+ disabled: busy,
76
+ onSignOut: () => handlers.onRemovePrincipal(principal.principalId),
77
+ theme: theme,
78
+ t: t
79
+ }, `principal:${principal.principalId}`)] : []), ...principal.contexts.filter(context => !context.isActive).map(context => /*#__PURE__*/_jsx(ContextRow, {
80
+ context: context,
81
+ principalName: principal.displayName,
82
+ accent: resolveAccentHex(context.color, theme.colors.primary),
83
+ activating: snapshot.activatingContextId === context.contextId,
84
+ removing: snapshot.removingContextId === context.contextId,
85
+ disabled: busy,
86
+ onActivate: () => handlers.onActivate(context.contextId),
87
+ onRemove: () => handlers.onRemoveContext(context.contextId),
88
+ theme: theme,
89
+ t: t
90
+ }, context.contextId))]);
278
91
  const manageLabel = t('accountMenu.manage');
279
92
  const switchLabel = t('accountMenu.switchAccount');
280
93
  return /*#__PURE__*/_jsxs(View, {
281
- children: [/*#__PURE__*/_jsxs(View, {
282
- style: styles.hero,
283
- children: [hero ? /*#__PURE__*/_jsxs(_Fragment, {
284
- children: [/*#__PURE__*/_jsxs(PressableScale, {
94
+ children: [/*#__PURE__*/_jsxs(GroupedSection, {
95
+ style: styles.menuGroup,
96
+ children: [/*#__PURE__*/_jsxs(View, {
97
+ testID: "account-summary",
98
+ onPointerEnter: () => setSummaryHovered(true),
99
+ onPointerLeave: () => setSummaryHovered(false),
100
+ style: [styles.accountSummary, summaryHovered && !busy && {
101
+ backgroundColor: theme.colors.contrast50
102
+ }],
103
+ children: [hero ? /*#__PURE__*/_jsxs(PressableScale, {
285
104
  onPress: handlers.onEditAvatar,
286
105
  accessibilityRole: "button",
287
106
  accessibilityLabel: t('editProfile.changeAvatar'),
288
- style: styles.heroAvatarPressable,
107
+ style: styles.accountAvatar,
289
108
  children: [/*#__PURE__*/_jsx(Avatar, {
290
109
  source: hero.avatarUrl ?? undefined,
291
110
  name: hero.displayName,
292
111
  size: HERO_AVATAR_SIZE
293
- }), /*#__PURE__*/_jsx(View, {
294
- style: [styles.heroAvatarRing, {
295
- borderColor: currentAccent
296
- }],
297
- pointerEvents: "none"
298
112
  }), /*#__PURE__*/_jsx(AvatarCameraBadge, {})]
299
- }), /*#__PURE__*/_jsxs(View, {
300
- style: styles.heroNameBlock,
301
- children: [/*#__PURE__*/_jsx(Text, {
302
- style: [styles.heroGreeting, {
303
- color: theme.colors.text
304
- }],
305
- numberOfLines: 2,
306
- children: t('accountMenu.greeting', {
307
- name: hero.displayName
308
- })
309
- }), hero.addressLine ? /*#__PURE__*/_jsx(Text, {
310
- style: [styles.heroAddress, {
311
- color: theme.colors.textSecondary
312
- }],
313
- numberOfLines: 1,
314
- children: hero.addressLine
315
- }) : null]
316
- })]
317
- }) : null, /*#__PURE__*/_jsx(Button, {
318
- appearance: "subtle",
319
- tone: "neutral",
320
- size: "sm",
321
- onPress: handlers.onManage,
322
- accessibilityLabel: manageLabel,
323
- children: manageLabel
324
- })]
325
- }), /*#__PURE__*/_jsx(View, {
326
- className: "mb-space-16",
327
- children: /*#__PURE__*/_jsx(Animated.View, {
328
- style: [{
329
- overflow: 'hidden'
330
- }, switchCardStyle],
331
- children: /*#__PURE__*/_jsxs(View, {
332
- className: "bg-fill",
333
- children: [/*#__PURE__*/_jsxs(HoverPressable, {
334
- baseClassName: `flex-row items-center gap-space-12 px-space-12 py-[10px] min-h-[44px]${busy ? ' opacity-60' : ''}`,
335
- hoverClassName: "bg-fill-secondary",
336
- onPress: toggleExpanded,
337
- disabled: busy,
338
- accessibilityRole: "button"
339
- // The ARIA prop, not `accessibilityState`: react-native-web 0.21
340
- // forwards only this one, and RN maps it to
341
- // `accessibilityState.expanded` natively — so the disclosure state
342
- // reaches assistive tech on BOTH platforms.
343
- ,
344
- "aria-expanded": expanded,
345
- accessibilityLabel: switchLabel,
113
+ }) : null, /*#__PURE__*/_jsxs(PressableScale, {
114
+ className: `flex-1 min-w-0 flex-row items-center gap-space-12 py-space-12${busy ? ' opacity-60' : ''}`,
115
+ onPress: toggleExpanded,
116
+ disabled: busy,
117
+ accessibilityRole: "button",
118
+ "aria-expanded": expanded,
119
+ accessibilityLabel: switchLabel,
120
+ children: [/*#__PURE__*/_jsxs(View, {
121
+ style: styles.accountIdentity,
346
122
  children: [/*#__PURE__*/_jsx(Text, {
347
- className: "flex-1 text-body text-text",
123
+ style: [styles.accountName, {
124
+ color: theme.colors.text
125
+ }],
348
126
  numberOfLines: 1,
349
- children: switchLabel
350
- }), expanded ? null : /*#__PURE__*/_jsx(AvatarGroup, {
351
- items: facepile,
352
- layout: "stack",
353
- size: FACEPILE_AVATAR_SIZE,
354
- max: FACEPILE_MAX,
355
- overlap: FACEPILE_OVERLAP,
356
- variant: "thumb",
357
- showInitials: true,
358
- ringColor: theme.colors.card
359
- }), /*#__PURE__*/_jsx(View, {
360
- style: [styles.chevronCircle, {
361
- backgroundColor: theme.colors.contrast50
127
+ children: hero?.displayName
128
+ }), hero?.addressLine ? /*#__PURE__*/_jsx(Text, {
129
+ style: [styles.accountAddress, {
130
+ color: theme.colors.textSecondary
362
131
  }],
363
- children: /*#__PURE__*/_jsx(Animated.View, {
364
- style: chevronStyle,
365
- children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
366
- name: "chevron-down",
367
- size: 20,
368
- color: theme.colors.text
369
- })
370
- })
371
- })]
372
- }), /*#__PURE__*/_jsx(Animated.View, {
373
- style: [styles.collapse, listStyle],
374
- pointerEvents: expanded ? 'auto' : 'none',
375
- children: /*#__PURE__*/_jsx(View, {
376
- style: styles.collapseMeasure,
377
- onLayout: event => setListContentHeight(event.nativeEvent.layout.height),
378
- children: /*#__PURE__*/_jsx(View, {
379
- children: listItems
132
+ numberOfLines: 1,
133
+ children: hero.addressLine
134
+ }) : null]
135
+ }), /*#__PURE__*/_jsx(View, {
136
+ style: [styles.chevronCircle, {
137
+ backgroundColor: theme.colors.contrast50
138
+ }],
139
+ children: /*#__PURE__*/_jsx(Animated.View, {
140
+ style: chevronStyle,
141
+ children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
142
+ name: "chevron-down",
143
+ size: 20,
144
+ color: theme.colors.text
380
145
  })
381
- }, switchListKey)
146
+ })
382
147
  })]
383
- })
384
- })
385
- }), /*#__PURE__*/_jsxs(View, {
386
- className: "bg-fill rounded-[16px] overflow-hidden mb-space-16 px-space-12 py-[10px] gap-space-12",
387
- children: [/*#__PURE__*/_jsxs(View, {
388
- className: "flex-row items-center gap-space-12 min-h-[24px]",
389
- children: [/*#__PURE__*/_jsx(View, {
390
- className: "w-[20px] items-center",
391
- children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
392
- name: "cloud-outline",
393
- size: ROW_ICON_SIZE,
394
- color: theme.colors.textSecondary
395
- })
396
- }), /*#__PURE__*/_jsx(Text, {
397
- className: "flex-1 text-body font-semibold text-text",
398
- numberOfLines: 1,
399
- children: t('accountMenu.storage.title')
400
148
  })]
401
- }), /*#__PURE__*/_jsx(CompositionBar, {
402
- categories: storageCategories,
403
- selectedKey: storageSegment,
404
- onSelect: toggleStorageSegment,
405
- hintLabel: usageLabel,
406
- formatReadout: (bytes, percent) => `${formatStorageGb(bytes)} · ${percent}%`
407
- }), /*#__PURE__*/_jsxs(View, {
408
- className: "flex-row gap-space-8",
149
+ }), /*#__PURE__*/_jsxs(GroupedSectionCollapse, {
150
+ open: expanded,
151
+ testID: "account-switcher-content",
152
+ children: [listItems, /*#__PURE__*/_jsx(AccountAffordanceRow, {
153
+ icon: "plus",
154
+ label: t('accountMenu.addAnother'),
155
+ onPress: handlers.onAdd,
156
+ disabled: busy,
157
+ theme: theme
158
+ }), /*#__PURE__*/_jsx(AccountAffordanceRow, {
159
+ icon: "logout",
160
+ label: t('accountMenu.signOut'),
161
+ onPress: menu.onSignOut,
162
+ disabled: busy,
163
+ theme: theme
164
+ })]
165
+ }), /*#__PURE__*/_jsx(GroupedSectionItem, {
166
+ icon: /*#__PURE__*/_jsx(LogoIcon, {
167
+ height: 22
168
+ }),
169
+ title: manageLabel,
170
+ onPress: handlers.onManage,
171
+ showChevron: false
172
+ })]
173
+ }), /*#__PURE__*/_jsx(UsageCard, {
174
+ title: t('accountMenu.storage.title'),
175
+ style: styles.menuGroup,
176
+ usage: accountStorageUsage(storage, theme.colors, t),
177
+ formatValue: formatStorageSize,
178
+ labels: {
179
+ freeSpace: t('accountMenu.storage.free')
180
+ },
181
+ fallback: /*#__PURE__*/_jsx(Text, {
182
+ className: "text-bodySmall text-text-secondary",
183
+ children: t('accountMenu.storage.unavailable')
184
+ }),
185
+ footer: shouldShowStorageActions(storage) ? /*#__PURE__*/_jsxs(View, {
186
+ className: "flex-row justify-end gap-space-8",
409
187
  children: [/*#__PURE__*/_jsx(StorageChip, {
410
- label: t('accountMenu.storage.upgrade'),
188
+ label: t('accountMenu.storage.getStorage'),
411
189
  onPress: menu.onUpgradeStorage
412
190
  }), /*#__PURE__*/_jsx(StorageChip, {
413
- label: t('accountMenu.storage.manage'),
191
+ label: t('accountMenu.storage.cleanUp'),
414
192
  onPress: menu.onManageStorage
415
193
  })]
416
- })]
417
- }), /*#__PURE__*/_jsxs(SettingsListGroup, {
418
- children: [/*#__PURE__*/_jsx(SettingsListItem, {
194
+ }) : undefined
195
+ }), /*#__PURE__*/_jsx(GroupedSection, {
196
+ style: styles.menuGroup,
197
+ children: /*#__PURE__*/_jsx(GroupedSectionItem, {
198
+ icon: /*#__PURE__*/_jsx(GroupedSectionIcon, {
199
+ children: ({
200
+ color,
201
+ size
202
+ }) => /*#__PURE__*/_jsx(RiSparklingFill, {
203
+ fill: color,
204
+ width: size,
205
+ height: size
206
+ })
207
+ }),
208
+ title: storage?.plan === 'pro' || storage?.plan === 'business' ? t('accountMenu.plan.current', {
209
+ plan: storage.plan === 'pro' ? 'Pro' : 'Business'
210
+ }) : t(storage?.plan === 'basic' ? 'accountMenu.plan.get' : 'accountMenu.plan.explore'),
211
+ description: storage?.plan === 'pro' || storage?.plan === 'business' ? t('accountMenu.plan.manage') : undefined,
212
+ onPress: menu.onOpenPlan,
213
+ showChevron: false
214
+ })
215
+ }), menu.sections.map(section => /*#__PURE__*/_jsx(GroupedSection, {
216
+ title: section.title,
217
+ style: styles.menuGroup,
218
+ children: section.items.map(item => /*#__PURE__*/_jsx(GroupedSectionItem, {
219
+ icon: typeof item.icon === 'string' || !item.icon ? /*#__PURE__*/_jsx(MenuIcon, {
220
+ name: item.icon ?? 'dots-horizontal'
221
+ }) : item.icon,
222
+ title: item.label,
223
+ description: item.description,
224
+ value: item.badge,
225
+ disabled: item.disabled,
226
+ onPress: item.onPress,
227
+ showChevron: false
228
+ }, item.key))
229
+ }, section.key)), /*#__PURE__*/_jsxs(GroupedSection, {
230
+ style: styles.menuGroup,
231
+ children: [/*#__PURE__*/_jsx(GroupedSectionItem, {
419
232
  icon: /*#__PURE__*/_jsx(MenuIcon, {
420
- name: "tray-arrow-down",
421
- theme: theme
233
+ name: "tray-arrow-down"
422
234
  }),
423
235
  title: t('accountMenu.data'),
424
- onPress: menu.onOpenData
425
- }), /*#__PURE__*/_jsx(SettingsListItem, {
236
+ description: t('accountMenu.dataDescription'),
237
+ onPress: menu.onOpenData,
238
+ showChevron: false
239
+ }), /*#__PURE__*/_jsx(GroupedSectionItem, {
426
240
  icon: /*#__PURE__*/_jsx(MenuIcon, {
427
241
  name: "cog-outline",
428
- theme: theme
242
+ tone: "info"
429
243
  }),
430
244
  title: t('accountMenu.settings'),
431
- onPress: menu.onOpenSettings
432
- }), /*#__PURE__*/_jsx(SettingsListItem, {
245
+ description: t('accountMenu.settingsDescription'),
246
+ onPress: menu.onOpenSettings,
247
+ showChevron: false
248
+ }), /*#__PURE__*/_jsx(GroupedSectionItem, {
433
249
  icon: /*#__PURE__*/_jsx(MenuIcon, {
434
- name: "help-circle-outline",
435
- theme: theme
250
+ name: "help-circle-outline"
436
251
  }),
437
252
  title: t('accountMenu.help'),
438
- onPress: menu.onHelp
439
- }), menu.customItems.map(item => /*#__PURE__*/_jsx(SettingsListItem, {
440
- icon: /*#__PURE__*/_jsx(MenuIcon, {
441
- name: item.icon ?? 'dots-horizontal',
442
- theme: theme
443
- }),
444
- title: item.label,
445
- onPress: item.onPress
446
- }, item.key)), /*#__PURE__*/_jsx(SettingsListItem, {
447
- icon: /*#__PURE__*/_jsx(MenuIcon, {
448
- name: "logout",
449
- theme: theme
450
- }),
451
- title: t('accountMenu.signOut'),
452
- onPress: menu.onSignOut,
253
+ description: t('accountOverview.items.help.subtitle'),
254
+ onPress: menu.onHelp,
453
255
  showChevron: false
454
256
  })]
455
257
  }), /*#__PURE__*/_jsxs(View, {
456
- className: "flex-row items-center justify-center gap-space-12 px-space-12 pb-space-8",
457
- children: [/*#__PURE__*/_jsx(Pressable, {
258
+ className: "flex-row items-center justify-center gap-space-12 px-space-12 pt-space-12 pb-space-8",
259
+ children: [/*#__PURE__*/_jsx(LinkButton, {
260
+ size: "sm",
261
+ linkTone: "secondary",
458
262
  onPress: menu.onPrivacy,
459
- accessibilityRole: "link",
460
- children: /*#__PURE__*/_jsx(Text, {
461
- className: "text-bodySmall text-text-secondary",
462
- children: t('accountMenu.privacy')
463
- })
263
+ children: t('accountMenu.privacy')
464
264
  }), /*#__PURE__*/_jsx(Text, {
465
265
  className: "text-bodySmall text-text-tertiary",
466
266
  children: "\xB7"
467
- }), /*#__PURE__*/_jsx(Pressable, {
267
+ }), /*#__PURE__*/_jsx(LinkButton, {
268
+ size: "sm",
269
+ linkTone: "secondary",
468
270
  onPress: menu.onTerms,
469
- accessibilityRole: "link",
470
- children: /*#__PURE__*/_jsx(Text, {
471
- className: "text-bodySmall text-text-secondary",
472
- children: t('accountMenu.terms')
473
- })
271
+ children: t('accountMenu.terms')
474
272
  })]
475
273
  })]
476
274
  });
@@ -514,21 +312,15 @@ const PrincipalHeaderRow = ({
514
312
  numberOfLines: 1,
515
313
  children: `@${principal.handle}`
516
314
  }) : null]
517
- }), /*#__PURE__*/_jsx(HoverPressable, {
518
- baseClassName: `rounded-radius-max px-space-8 py-[4px]${disabled ? ' opacity-60' : ''}`,
519
- hoverClassName: "bg-fill-secondary",
315
+ }), /*#__PURE__*/_jsx(Button, {
316
+ appearance: "plain",
317
+ tone: "neutral",
318
+ size: "sm",
520
319
  onPress: onSignOut,
521
320
  disabled: disabled,
522
- accessibilityRole: "button",
321
+ loading: removing,
523
322
  accessibilityLabel: signOutLabel,
524
- children: removing ? /*#__PURE__*/_jsx(MaterialCommunityIcons, {
525
- name: "loading",
526
- size: 16,
527
- color: theme.colors.textSecondary
528
- }) : /*#__PURE__*/_jsx(Text, {
529
- className: "text-caption text-text-secondary",
530
- children: t('accountMenu.signOut')
531
- })
323
+ children: t('accountMenu.signOut')
532
324
  })]
533
325
  });
534
326
  };
@@ -563,66 +355,50 @@ const ContextRow = ({
563
355
  });
564
356
  return /*#__PURE__*/_jsxs(View, {
565
357
  className: "flex-row items-center",
566
- children: [/*#__PURE__*/_jsxs(HoverPressable, {
567
- baseClassName: `flex-1 min-w-0 flex-row items-center gap-space-12 pl-space-12 py-[10px]${rowDisabled ? ' opacity-60' : ''}`,
568
- hoverClassName: "bg-fill-secondary",
569
- onPress: onActivate,
570
- disabled: rowDisabled,
571
- accessibilityRole: "button",
572
- accessibilityState: {
573
- selected: context.isActive,
574
- disabled: rowDisabled
575
- },
576
- accessibilityLabel: context.displayName,
577
- children: [/*#__PURE__*/_jsxs(View, {
578
- children: [/*#__PURE__*/_jsx(Avatar, {
358
+ children: [/*#__PURE__*/_jsx(View, {
359
+ className: "flex-1 min-w-0",
360
+ children: /*#__PURE__*/_jsx(GroupedSectionItem, {
361
+ title: context.displayName,
362
+ description: unavailable ? t('accountSwitcher.context.unavailable') : context.handle ? `@${context.handle}` : undefined,
363
+ icon: /*#__PURE__*/_jsx(Avatar, {
579
364
  source: context.avatarUrl ?? undefined,
580
365
  variant: "thumb",
581
366
  name: context.displayName,
582
367
  size: SWITCH_AVATAR_SIZE
583
- }), context.isActive ? /*#__PURE__*/_jsx(View, {
584
- style: [styles.currentAvatarRing, {
585
- borderColor: accent
586
- }],
587
- pointerEvents: "none"
588
- }) : null]
589
- }), /*#__PURE__*/_jsxs(View, {
590
- className: "flex-1 min-w-0",
591
- children: [/*#__PURE__*/_jsx(Text, {
592
- className: "text-body font-semibold text-text",
593
- numberOfLines: 1,
594
- children: context.displayName
595
- }), /*#__PURE__*/_jsx(Text, {
596
- className: "text-caption text-text-secondary",
597
- numberOfLines: 1,
598
- children: unavailable ? t('accountSwitcher.context.unavailable') : context.handle ? `@${context.handle}` : ''
599
- })]
600
- }), activating ? /*#__PURE__*/_jsx(MaterialCommunityIcons, {
601
- name: "loading",
602
- size: 20,
603
- color: accent
604
- }) : null]
605
- }), /*#__PURE__*/_jsx(HoverPressable, {
606
- baseClassName: `px-space-12 py-[10px]${disabled ? ' opacity-60' : ''}`,
607
- hoverClassName: "bg-fill-secondary",
368
+ }),
369
+ onPress: onActivate,
370
+ disabled: rowDisabled,
371
+ accessibilityState: {
372
+ selected: context.isActive,
373
+ disabled: rowDisabled,
374
+ busy: activating
375
+ },
376
+ accessibilityLabel: context.displayName,
377
+ showChevron: false,
378
+ rightElement: activating ? /*#__PURE__*/_jsx(SpinnerIcon, {
379
+ size: 20,
380
+ color: accent
381
+ }) : undefined
382
+ })
383
+ }), /*#__PURE__*/_jsx(Button, {
384
+ appearance: "plain",
385
+ tone: "neutral",
386
+ size: "sm",
387
+ iconOnly: true,
608
388
  onPress: onRemove,
609
389
  disabled: disabled,
610
- accessibilityRole: "button",
390
+ loading: removing,
611
391
  accessibilityLabel: removeLabel,
612
- children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
613
- name: removing ? 'loading' : 'close',
614
- size: 18,
615
- color: theme.colors.textTertiary
392
+ icon: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
393
+ name: "close",
394
+ size: 18
616
395
  })
617
396
  })]
618
397
  });
619
398
  };
620
399
 
621
400
  /**
622
- * An account-list AFFORDANCE row ("Add another account", "Manage accounts on
623
- * this device") — a bordered circle sized to the avatar it stands in for, so its
624
- * label lands on the same line as every account name above it. Own markup, like
625
- * the account rows it closes: this list is not a Bloom grouped section.
401
+ * Account actions align with the avatars above them inside the same Bloom group.
626
402
  */
627
403
  const AccountAffordanceRow = ({
628
404
  icon,
@@ -630,54 +406,40 @@ const AccountAffordanceRow = ({
630
406
  onPress,
631
407
  disabled,
632
408
  theme
633
- }) => /*#__PURE__*/_jsxs(HoverPressable, {
634
- baseClassName: `flex-row items-center gap-space-12 px-space-12 py-[10px]${disabled ? ' opacity-60' : ''}`,
635
- hoverClassName: "bg-fill-secondary",
409
+ }) => /*#__PURE__*/_jsx(GroupedSectionItem, {
410
+ title: label,
636
411
  onPress: onPress,
637
412
  disabled: disabled,
638
- accessibilityRole: "button",
639
- accessibilityLabel: label,
640
- children: [/*#__PURE__*/_jsx(View, {
641
- className: "w-[36px] h-[36px] items-center justify-center rounded-radius-max border border-border",
642
- children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
643
- name: icon,
644
- size: BADGE_GLYPH_SIZE,
645
- color: theme.colors.textSecondary
646
- })
647
- }), /*#__PURE__*/_jsx(Text, {
648
- className: "flex-1 text-body font-semibold text-text",
649
- numberOfLines: 1,
650
- children: label
651
- })]
413
+ showChevron: false,
414
+ icon: /*#__PURE__*/_jsx(MenuIcon, {
415
+ name: icon
416
+ })
652
417
  });
653
418
 
654
- /**
655
- * The leading glyph for a grouped-section menu row, sized to Bloom's 20px icon
656
- * column so the icons, the storage block's cloud and every row title align.
657
- */
419
+ /** Bloom owns the icon surface, sizing and contrast. */
658
420
  const MenuIcon = ({
659
421
  name,
660
- theme
661
- }) => /*#__PURE__*/_jsx(MaterialCommunityIcons, {
662
- name: name,
663
- size: ROW_ICON_SIZE,
664
- color: theme.colors.textSecondary
422
+ tone
423
+ }) => /*#__PURE__*/_jsx(GroupedSectionIcon, {
424
+ tone: tone,
425
+ children: ({
426
+ color,
427
+ size
428
+ }) => /*#__PURE__*/_jsx(MaterialCommunityIcons, {
429
+ name: name,
430
+ size: size,
431
+ color: color
432
+ })
665
433
  });
666
-
667
- /** A storage action chip — a bordered pill on the sheet background. */
668
434
  const StorageChip = ({
669
435
  label,
670
436
  onPress
671
- }) => /*#__PURE__*/_jsx(HoverPressable, {
672
- baseClassName: "rounded-radius-max border border-border bg-bg py-[9px] px-[14px]",
673
- hoverClassName: "bg-fill-secondary",
437
+ }) => /*#__PURE__*/_jsx(Button, {
438
+ appearance: "plain",
439
+ size: "sm",
674
440
  onPress: onPress,
675
- accessibilityRole: "button",
676
441
  accessibilityLabel: label,
677
- children: /*#__PURE__*/_jsx(Text, {
678
- className: "text-bodySmall font-semibold text-text",
679
- children: label
680
- })
442
+ children: label
681
443
  });
682
444
  export default AccountsMenuView;
683
445
  //# sourceMappingURL=AccountsMenuView.js.map