@oxy.so/services 11.14.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 (850) 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 +10 -13
  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 +33 -188
  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 +16 -81
  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 +10 -13
  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 +33 -188
  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 +18 -83
  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 +19 -68
  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/signIn/OxyAccountPicker.d.ts.map +1 -1
  519. package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
  520. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -28
  521. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  522. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +1 -0
  523. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
  524. package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts +31 -0
  525. package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts.map +1 -0
  526. package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts +9 -0
  527. package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts.map +1 -0
  528. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  529. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  530. package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
  531. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +1 -1
  532. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
  533. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +4 -2
  534. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -1
  535. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +1 -1
  536. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
  537. package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts +9 -0
  538. package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
  539. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
  540. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
  541. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  542. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  543. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +4 -4
  544. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
  545. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +15 -1
  546. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
  547. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +10 -18
  548. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
  549. package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts +4 -0
  550. package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts.map +1 -0
  551. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +3 -1
  552. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -1
  553. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +6 -1
  554. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
  555. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +1 -1
  556. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -1
  557. package/lib/typescript/commonjs/ui/one-video.d.ts +3 -0
  558. package/lib/typescript/commonjs/ui/one-video.d.ts.map +1 -0
  559. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
  560. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
  561. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  562. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  563. package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
  564. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  565. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
  566. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  567. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  568. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  569. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  570. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  571. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +4 -1
  572. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  573. package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts +4 -0
  574. package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts.map +1 -0
  575. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  576. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
  577. package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts +2 -0
  578. package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts.map +1 -0
  579. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  580. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +1 -5
  581. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  582. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  583. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
  584. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  585. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  586. package/lib/typescript/commonjs/ui/screens/index.d.ts +1 -0
  587. package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -1
  588. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  589. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  590. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  591. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  592. package/lib/typescript/commonjs/ui/types/navigation.d.ts +12 -0
  593. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
  594. package/lib/typescript/module/index.d.ts +1 -1
  595. package/lib/typescript/module/index.d.ts.map +1 -1
  596. package/lib/typescript/module/ui/client.d.ts +1 -2
  597. package/lib/typescript/module/ui/client.d.ts.map +1 -1
  598. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
  599. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
  600. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
  601. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -1
  602. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  603. package/lib/typescript/module/ui/components/ProfileButton.d.ts +3 -1
  604. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
  605. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +4 -13
  606. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
  607. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
  608. package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -4
  609. package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -1
  610. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -1
  611. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
  612. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +8 -1
  613. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
  614. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
  615. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  616. package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts +11 -0
  617. package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts.map +1 -0
  618. package/lib/typescript/module/ui/components/authChooser/styles.d.ts +19 -68
  619. package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
  620. package/lib/typescript/module/ui/components/authChooser/types.d.ts +6 -6
  621. package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
  622. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  623. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  624. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  625. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  626. package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
  627. package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
  628. package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -28
  629. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  630. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +1 -0
  631. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
  632. package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts +31 -0
  633. package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts.map +1 -0
  634. package/lib/typescript/module/ui/context/oxySupportContext.d.ts +9 -0
  635. package/lib/typescript/module/ui/context/oxySupportContext.d.ts.map +1 -0
  636. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  637. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  638. package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
  639. package/lib/typescript/module/ui/hooks/useAuth.d.ts +1 -1
  640. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
  641. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +4 -2
  642. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -1
  643. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +1 -1
  644. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
  645. package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts +9 -0
  646. package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
  647. package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
  648. package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
  649. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  650. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  651. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +4 -4
  652. package/lib/typescript/module/ui/index.d.ts.map +1 -1
  653. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +15 -1
  654. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
  655. package/lib/typescript/module/ui/navigation/routes.d.ts +10 -18
  656. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
  657. package/lib/typescript/module/ui/navigation/screenComponents.d.ts +4 -0
  658. package/lib/typescript/module/ui/navigation/screenComponents.d.ts.map +1 -0
  659. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +3 -1
  660. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -1
  661. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +6 -1
  662. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
  663. package/lib/typescript/module/ui/navigation/surfaces.d.ts +1 -1
  664. package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -1
  665. package/lib/typescript/module/ui/one-video.d.ts +3 -0
  666. package/lib/typescript/module/ui/one-video.d.ts.map +1 -0
  667. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
  668. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
  669. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  670. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  671. package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
  672. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  673. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
  674. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  675. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  676. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  677. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  678. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  679. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +4 -1
  680. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  681. package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts +4 -0
  682. package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts.map +1 -0
  683. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  684. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
  685. package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts +2 -0
  686. package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts.map +1 -0
  687. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  688. package/lib/typescript/module/ui/screens/UserListScreen.d.ts +1 -5
  689. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  690. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  691. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
  692. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  693. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  694. package/lib/typescript/module/ui/screens/index.d.ts +1 -0
  695. package/lib/typescript/module/ui/screens/index.d.ts.map +1 -1
  696. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  697. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  698. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  699. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  700. package/lib/typescript/module/ui/types/navigation.d.ts +12 -0
  701. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  702. package/lib/typescript/types/assets.d.ts +10 -0
  703. package/package.json +28 -12
  704. package/plugins/withOxySharedPermissions.js +2 -1
  705. package/plugins/withSharedDeviceSessionProvider.js +2 -1
  706. package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  707. package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  708. package/src/assets/fonts/icons/manifest.json +9 -9
  709. package/src/assets/one/README.md +8 -0
  710. package/src/assets/one/floral.jpg +0 -0
  711. package/src/assets/one/floral.jpg.d.ts +2 -0
  712. package/src/assets/one/floral.mp4 +0 -0
  713. package/src/assets/one/floral.mp4.d.ts +2 -0
  714. package/src/index.ts +9 -1
  715. package/src/types/assets.d.ts +10 -0
  716. package/src/ui/client.ts +2 -3
  717. package/src/ui/components/AccountInvitationAcceptance.tsx +1 -1
  718. package/src/ui/components/BloomLocaleBridge.tsx +1 -1
  719. package/src/ui/components/FollowButton.tsx +1 -1
  720. package/src/ui/components/LanguageBridge.tsx +1 -1
  721. package/src/ui/components/OxyAccountDialogScreen.tsx +3 -14
  722. package/src/ui/components/OxyAuthChooser.tsx +28 -24
  723. package/src/ui/components/OxyConsentScreen.tsx +8 -25
  724. package/src/ui/components/OxyOAuthCallback.tsx +3 -2
  725. package/src/ui/components/OxyProvider.tsx +34 -8
  726. package/src/ui/components/OxySignInButton.tsx +1 -1
  727. package/src/ui/components/ProfileButton.tsx +17 -4
  728. package/src/ui/components/ProfileSummaryCard.tsx +27 -68
  729. package/src/ui/components/RequireOxyAuth.tsx +16 -38
  730. package/src/ui/components/SettingsIcon.tsx +8 -33
  731. package/src/ui/components/SurfaceHeaderAction.tsx +1 -1
  732. package/src/ui/components/SurfaceScreen.tsx +56 -49
  733. package/src/ui/components/__tests__/AccountInvitationAcceptance.test.tsx +1 -1
  734. package/src/ui/components/__tests__/BloomLocaleBridge.test.tsx +1 -1
  735. package/src/ui/components/__tests__/LanguageBridge.test.tsx +1 -1
  736. package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +1 -1
  737. package/src/ui/components/authChooser/AccountsMenuView.tsx +271 -521
  738. package/src/ui/components/authChooser/storageUsage.ts +75 -0
  739. package/src/ui/components/authChooser/styles.ts +14 -76
  740. package/src/ui/components/authChooser/types.ts +6 -6
  741. package/src/ui/components/fileManagement/FileViewer.tsx +7 -6
  742. package/src/ui/components/modals/DeleteAccountModal.tsx +25 -24
  743. package/src/ui/components/organizations/OrganizationClaimReview.tsx +1 -1
  744. package/src/ui/components/organizations/OrganizationClaims.tsx +1 -1
  745. package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +1 -1
  746. package/src/ui/components/organizations/OrganizationSettings.tsx +1 -1
  747. package/src/ui/components/payment/PaymentDetailsStep.tsx +13 -51
  748. package/src/ui/components/payment/PaymentMethodStep.tsx +4 -4
  749. package/src/ui/components/payment/PaymentReviewStep.tsx +12 -17
  750. package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -4
  751. package/src/ui/components/signIn/InlineCommonsQr.tsx +9 -4
  752. package/src/ui/components/signIn/OxyAccountPicker.tsx +42 -93
  753. package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +1 -1
  754. package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +1 -1
  755. package/src/ui/components/signIn/OxyEmailAccountChoice.tsx +1 -1
  756. package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
  757. package/src/ui/components/signIn/OxyPasswordPanel.tsx +1 -1
  758. package/src/ui/components/signIn/OxySignInPanel.tsx +1 -1
  759. package/src/ui/components/signIn/OxySignUpPanel.tsx +1 -1
  760. package/src/ui/components/signIn/ReauthStep.tsx +26 -16
  761. package/src/ui/components/signIn/accountFlowParts.tsx +1 -1
  762. package/src/ui/components/supervision/PersonPicker.tsx +1 -1
  763. package/src/ui/context/OxyContext.tsx +15 -79
  764. package/src/ui/context/oxyContextTypes.ts +1 -0
  765. package/src/ui/context/oxyRuntimeContext.ts +69 -0
  766. package/src/ui/context/oxySupportContext.ts +9 -0
  767. package/src/ui/hooks/mutations/useAccountMutations.ts +1 -1
  768. package/src/ui/hooks/mutations/useServicesMutations.ts +1 -1
  769. package/src/ui/hooks/queries/useAccountQueries.ts +4 -2
  770. package/src/ui/hooks/queries/useAuthMethods.ts +1 -1
  771. package/src/ui/hooks/queries/useFileQueries.ts +1 -1
  772. package/src/ui/hooks/queries/usePaymentQueries.ts +1 -1
  773. package/src/ui/hooks/queries/usePersonalPlans.ts +1 -1
  774. package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
  775. package/src/ui/hooks/queries/useServicesQueries.ts +1 -1
  776. package/src/ui/hooks/queries/useSupervision.ts +1 -1
  777. package/src/ui/hooks/useAuth.ts +1 -1
  778. package/src/ui/hooks/useDeviceSwitcher.ts +1 -1
  779. package/src/ui/hooks/useDisplayCurrency.ts +1 -1
  780. package/src/ui/hooks/useFollow.ts +1 -1
  781. package/src/ui/hooks/useFollowTarget.ts +1 -1
  782. package/src/ui/hooks/useI18n.ts +1 -1
  783. package/src/ui/hooks/useLanguageManagement.ts +48 -23
  784. package/src/ui/hooks/useOxyEvent.ts +1 -1
  785. package/src/ui/hooks/useSurfaceHeader.ts +50 -2
  786. package/src/ui/hooks/useUsernameAvailability.ts +57 -0
  787. package/src/ui/icons/subsetGlyphMaps.ts +4 -4
  788. package/src/ui/index.ts +5 -0
  789. package/src/ui/navigation/__tests__/bottomSheetManager.test.ts +37 -0
  790. package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +27 -0
  791. package/src/ui/navigation/accountDialogManager.ts +16 -1
  792. package/src/ui/navigation/bottomSheetManager.ts +3 -3
  793. package/src/ui/navigation/routes.ts +75 -103
  794. package/src/ui/navigation/screenComponents.ts +96 -0
  795. package/src/ui/navigation/surfaceBackBridge.ts +1 -1
  796. package/src/ui/navigation/surfaceNavStack.ts +33 -6
  797. package/src/ui/navigation/surfaceRegistry.ts +7 -1
  798. package/src/ui/navigation/surfaces.ts +30 -15
  799. package/src/ui/one-video.tsx +44 -0
  800. package/src/ui/runtime/createOxyRuntime.ts +7 -1
  801. package/src/ui/screens/AccountMembersScreen.tsx +6 -6
  802. package/src/ui/screens/AccountSettingsScreen.tsx +14 -14
  803. package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
  804. package/src/ui/screens/AppInfoScreen.tsx +41 -42
  805. package/src/ui/screens/AvatarCropScreen.tsx +33 -57
  806. package/src/ui/screens/ChangeAvatarScreen.tsx +8 -8
  807. package/src/ui/screens/ConnectedAppsScreen.tsx +11 -15
  808. package/src/ui/screens/CreateAccountScreen.tsx +13 -13
  809. package/src/ui/screens/DomainsScreen.tsx +9 -14
  810. package/src/ui/screens/EditProfileFieldScreen.tsx +189 -282
  811. package/src/ui/screens/EditProfileScreen.tsx +21 -18
  812. package/src/ui/screens/FileManagementScreen.tsx +44 -205
  813. package/src/ui/screens/FileTrashScreen.tsx +1 -1
  814. package/src/ui/screens/HelpSupportScreen.tsx +59 -53
  815. package/src/ui/screens/HistoryViewScreen.tsx +10 -17
  816. package/src/ui/screens/LanguageSelectorScreen.tsx +37 -35
  817. package/src/ui/screens/LegalDocumentsScreen.tsx +10 -20
  818. package/src/ui/screens/ManageAccountScreen.tsx +367 -340
  819. package/src/ui/screens/NotificationsScreen.tsx +12 -12
  820. package/src/ui/screens/OxyOneScreen.tsx +223 -0
  821. package/src/ui/screens/PreferencesScreen.tsx +15 -15
  822. package/src/ui/screens/PrivacySettingsScreen.tsx +65 -89
  823. package/src/ui/screens/ProfileScreen.tsx +242 -268
  824. package/src/ui/screens/ReportBugScreen.tsx +68 -0
  825. package/src/ui/screens/SearchSettingsScreen.tsx +30 -65
  826. package/src/ui/screens/SupervisionScreen.tsx +1 -1
  827. package/src/ui/screens/UserListScreen.tsx +85 -62
  828. package/src/ui/screens/WelcomeNewUserScreen.tsx +1 -1
  829. package/src/ui/screens/fileManagement/FileListSection.tsx +7 -6
  830. package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +15 -78
  831. package/src/ui/screens/fileManagement/UploadBar.tsx +4 -1
  832. package/src/ui/screens/index.ts +1 -0
  833. package/src/ui/screens/trust/TrustCenterScreen.tsx +13 -22
  834. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +32 -62
  835. package/src/ui/screens/trust/TrustRewardsScreen.tsx +10 -5
  836. package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -9
  837. package/src/ui/types/navigation.ts +12 -0
  838. package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
  839. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
  840. package/lib/module/ui/screens/UserLinksScreen.js +0 -57
  841. package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
  842. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
  843. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
  844. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
  845. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
  846. package/lib/typescript/types/expo-document-picker.d.ts +0 -35
  847. package/lib/typescript/types/expo-image-picker.d.ts +0 -35
  848. package/src/types/expo-document-picker.d.ts +0 -35
  849. package/src/types/expo-image-picker.d.ts +0 -35
  850. package/src/ui/screens/UserLinksScreen.tsx +0 -68
@@ -1,4 +1,6 @@
1
- import { useEffect, useRef, useState, type FC } from 'react';
1
+ import { OxySupportContext } from '../context/oxySupportContext';
2
+ import { loadScreens } from '../navigation/routes';
3
+ import { useEffect, useRef, useState, useMemo, type FC } from 'react';
2
4
  import { AppState, Platform, StyleSheet } from 'react-native';
3
5
  import { GestureHandlerRootView } from 'react-native-gesture-handler';
4
6
  import { SafeAreaProvider } from 'react-native-safe-area-context';
@@ -20,6 +22,15 @@ import { KeyboardBoundary } from './KeyboardBoundary';
20
22
  import { ProductAnalyticsObserver } from '../analytics/productAnalytics';
21
23
  import { LanguageBridge } from './LanguageBridge';
22
24
  import { BloomLocaleBridge } from './BloomLocaleBridge';
25
+ import { useOxy } from '../context/oxyRuntimeContext';
26
+ import { useCurrentUser } from '../hooks/queries/useAccountQueries';
27
+
28
+ /** Hydrate owner preferences after the bearer is ready, including on cold boot. */
29
+ function AccountProfileObserver() {
30
+ const { canUsePrivateApi } = useOxy();
31
+ useCurrentUser({ enabled: canUsePrivateApi });
32
+ return null;
33
+ }
23
34
 
24
35
  const bootStyles = StyleSheet.create({
25
36
  providerRoot: {
@@ -83,6 +94,10 @@ const OxyProvider: FC<OxyProviderProps> = ({
83
94
  oxyServices,
84
95
  children,
85
96
  onAuthStateChange,
97
+ onAskAlia,
98
+ documentationUrl,
99
+ aliaAvatar,
100
+ oxyOneArtwork,
86
101
  productAnalytics,
87
102
  storageKeyPrefix,
88
103
  clientId,
@@ -98,6 +113,14 @@ const OxyProvider: FC<OxyProviderProps> = ({
98
113
  backgroundSession = false,
99
114
  language,
100
115
  }) => {
116
+ const support = useMemo(
117
+ () => ({ onAskAlia, documentationUrl, aliaAvatar, oxyOneArtwork }),
118
+ [onAskAlia, documentationUrl, aliaAvatar, oxyOneArtwork],
119
+ );
120
+ useEffect(() => {
121
+ // Full entries are already registered; lean entries warm their screen chunk.
122
+ void loadScreens().catch(() => undefined);
123
+ }, []);
101
124
  // Storage + persistence wiring.
102
125
  //
103
126
  // The QueryClient exists synchronously so cache I/O can never delay the app
@@ -258,16 +281,19 @@ const OxyProvider: FC<OxyProviderProps> = ({
258
281
  accountQueries={accountQueries}
259
282
  onAuthStateChange={onAuthStateChange as OxyRuntimeProviderProps['onAuthStateChange']}
260
283
  >
284
+ <AccountProfileObserver />
261
285
  {productAnalytics ? <ProductAnalyticsObserver analytics={productAnalytics} /> : null}
262
286
  {language ? <LanguageBridge {...language} /> : null}
263
287
  <BloomLocaleBridge>
264
- <SurfaceProvider>
265
- {requireAuth === 'off' ? (
266
- children
267
- ) : (
268
- <RequireOxyAuth prompt={requireAuth}>{children}</RequireOxyAuth>
269
- )}
270
- </SurfaceProvider>
288
+ <OxySupportContext.Provider value={support}>
289
+ <SurfaceProvider>
290
+ {requireAuth === 'off' ? (
291
+ children
292
+ ) : (
293
+ <RequireOxyAuth prompt={requireAuth}>{children}</RequireOxyAuth>
294
+ )}
295
+ </SurfaceProvider>
296
+ </OxySupportContext.Provider>
271
297
  <ToastOutlet />
272
298
  </BloomLocaleBridge>
273
299
  </OxyRuntimeProvider>
@@ -19,7 +19,7 @@ import {
19
19
  type SocialButtonSize,
20
20
  } from '@oxy.so/bloom/social-button';
21
21
  import { toast } from '@oxy.so/bloom/toast';
22
- import { useOxy } from '../context/OxyContext';
22
+ import { useOxy } from '../context/oxyRuntimeContext';
23
23
  import { useI18n } from '../hooks/useI18n';
24
24
  import { subscribeToAccountDialog } from '../navigation/accountDialogManager';
25
25
  import { openAuthorizeUrlNative } from './oauthNavigation';
@@ -15,10 +15,13 @@ import {
15
15
  getNormalizedUserHandle,
16
16
  } from '@oxy.so/core';
17
17
  import { useAuth } from '../hooks/useAuth';
18
- import { useOxy } from '../context/OxyContext';
18
+ import { useOxy } from '../context/oxyRuntimeContext';
19
19
  import { useI18n } from '../hooks/useI18n';
20
20
  import { registerAccountDialogConsumerHooks } from '../navigation/accountDialogManager';
21
- import type { AccountDialogMenuItem } from '../navigation/accountDialogManager';
21
+ import type {
22
+ AccountDialogMenuItem,
23
+ AccountDialogMenuSection,
24
+ } from '../navigation/accountDialogManager';
22
25
 
23
26
  export interface ProfileButtonProps {
24
27
  /**
@@ -38,6 +41,8 @@ export interface ProfileButtonProps {
38
41
  onNavigateProfile?: () => void;
39
42
  /** App-owned actions rendered in the shared account menu. */
40
43
  menuItems?: readonly AccountDialogMenuItem[];
44
+ /** App-owned cards, in display order, below the Oxy account actions. */
45
+ menuSections?: readonly AccountDialogMenuSection[];
41
46
  /**
42
47
  * Retained for source compatibility. The trigger now opens the unified
43
48
  * `OxyAccountDialogScreen` (a centered / bottom-sheet modal) rather than an
@@ -62,6 +67,7 @@ const ProfileButton: React.FC<ProfileButtonProps> = ({
62
67
  onAddAccount,
63
68
  onNavigateProfile,
64
69
  menuItems,
70
+ menuSections,
65
71
  className,
66
72
  style,
67
73
  }) => {
@@ -77,7 +83,13 @@ const ProfileButton: React.FC<ProfileButtonProps> = ({
77
83
  }, [openAccountDialog]);
78
84
 
79
85
  useEffect(() => {
80
- if (!onNavigateManage && !onAddAccount && !onNavigateProfile && !menuItems?.length) {
86
+ if (
87
+ !onNavigateManage &&
88
+ !onAddAccount &&
89
+ !onNavigateProfile &&
90
+ !menuItems?.length &&
91
+ !menuSections?.length
92
+ ) {
81
93
  return undefined;
82
94
  }
83
95
  return registerAccountDialogConsumerHooks({
@@ -85,8 +97,9 @@ const ProfileButton: React.FC<ProfileButtonProps> = ({
85
97
  onAddAccount,
86
98
  onNavigateProfile,
87
99
  menuItems,
100
+ menuSections,
88
101
  });
89
- }, [onNavigateManage, onAddAccount, onNavigateProfile, menuItems]);
102
+ }, [onNavigateManage, onAddAccount, onNavigateProfile, menuItems, menuSections]);
90
103
 
91
104
  const avatarUrl = useMemo(
92
105
  () => (user?.avatar ? oxyServices.assets.publicUrl(user.avatar, 'thumb') : undefined),
@@ -1,34 +1,23 @@
1
1
  import type React from 'react';
2
- import { View, type ViewStyle } from 'react-native';
3
- import { H4, Text } from '@oxy.so/bloom/typography';
2
+ import { View } from 'react-native';
4
3
  import { Avatar } from '@oxy.so/bloom/avatar';
5
- import { Card } from '@oxy.so/bloom/card';
6
- import { PressableScale } from '@oxy.so/bloom/pressable-scale';
4
+ import { GroupedSection, GroupedSectionItem } from '@oxy.so/bloom/grouped-section';
7
5
  import AvatarCameraBadge from './AvatarCameraBadge';
8
6
 
9
- /**
10
- * ProfileSummaryCard — the shared "who am I" summary block rendered at the top
11
- * of {@link ManageAccountScreen} and {@link EditProfileScreen}.
12
- *
13
- * A Bloom filled {@link Card} containing a centered {@link Avatar}, the display
14
- * name and any number of secondary lines (handle, email, …). When
15
- * `onAvatarPress` is supplied the avatar becomes a {@link PressableScale} entry
16
- * point (used to open the avatar picker) and can render an optional camera
17
- * badge overlay.
18
- */
7
+ /** Shared identity row; Bloom owns its material, geometry and full-row interaction. */
19
8
  export interface ProfileSummaryCardProps {
20
- /** Primary display name shown under the avatar. */
9
+ /** Primary display name shown beside the avatar. */
21
10
  displayName: string;
22
11
  /** Resolved avatar thumbnail URL (undefined → initials fallback). */
23
12
  avatarUri?: string;
24
- /** Avatar diameter in px. Defaults to 72. */
13
+ /** Avatar diameter in px. Defaults to 56. */
25
14
  avatarSize?: number;
26
15
  /**
27
16
  * Secondary lines rendered beneath the name (e.g. `@handle`, email).
28
17
  * Falsy entries are skipped so callers can pass conditional values inline.
29
18
  */
30
19
  lines?: Array<string | null | undefined | false>;
31
- /** When provided, the avatar is pressable (e.g. opens the avatar picker). */
20
+ /** When provided, the summary row is pressable (e.g. opens the avatar picker). */
32
21
  onAvatarPress?: () => void;
33
22
  /** Render the camera badge overlay. Only meaningful with `onAvatarPress`. */
34
23
  showCameraBadge?: boolean;
@@ -36,64 +25,34 @@ export interface ProfileSummaryCardProps {
36
25
  avatarAccessibilityLabel?: string;
37
26
  }
38
27
 
39
- const cardStyle: ViewStyle = {
40
- marginBottom: 16,
41
- };
42
-
43
- const pressableStyle: ViewStyle = {
44
- position: 'relative',
45
- };
46
-
47
28
  const ProfileSummaryCard: React.FC<ProfileSummaryCardProps> = ({
48
29
  displayName,
49
30
  avatarUri,
50
- avatarSize = 72,
31
+ avatarSize = 56,
51
32
  lines,
52
33
  onAvatarPress,
53
34
  showCameraBadge = false,
54
35
  avatarAccessibilityLabel,
55
- }) => {
56
- const avatar = <Avatar source={avatarUri} name={displayName} size={avatarSize} />;
57
-
58
- const avatarNode = onAvatarPress ? (
59
- <PressableScale
36
+ }) => (
37
+ <GroupedSection style={{ marginBottom: 16 }}>
38
+ <GroupedSectionItem
39
+ icon={
40
+ <View style={{ position: 'relative' }}>
41
+ <Avatar source={avatarUri} name={displayName} size={avatarSize} />
42
+ {onAvatarPress && showCameraBadge ? <AvatarCameraBadge /> : null}
43
+ </View>
44
+ }
45
+ title={displayName}
46
+ description={
47
+ (lines ?? [])
48
+ .filter((line): line is string => typeof line === 'string' && line.length > 0)
49
+ .join('\n') || undefined
50
+ }
60
51
  onPress={onAvatarPress}
61
- accessibilityRole="button"
62
- accessibilityLabel={avatarAccessibilityLabel}
63
- style={pressableStyle}
64
- className="mb-space-12"
65
- >
66
- {avatar}
67
- {showCameraBadge ? <AvatarCameraBadge /> : null}
68
- </PressableScale>
69
- ) : (
70
- <View className="mb-space-12">{avatar}</View>
71
- );
72
-
73
- const subtitleLines = (lines ?? []).filter(
74
- (line): line is string => typeof line === 'string' && line.length > 0,
75
- );
76
-
77
- return (
78
- <Card appearance="subtle" radius="radius-20" style={cardStyle}>
79
- <View className="items-center px-space-20 py-space-24">
80
- {avatarNode}
81
- <H4 className="text-text" numberOfLines={1}>
82
- {displayName}
83
- </H4>
84
- {subtitleLines.map((line, index) => (
85
- <Text
86
- // biome-ignore lint/suspicious/noArrayIndexKey: subtitle order is stable within a render; index keys are safe here.
87
- key={`${index}-${line}`}
88
- className="text-text-secondary text-sm mt-space-2"
89
- numberOfLines={1}
90
- >
91
- {line}
92
- </Text>
93
- ))}
94
- </View>
95
- </Card>
96
- );
97
- };
52
+ accessibilityLabel={onAvatarPress ? avatarAccessibilityLabel : undefined}
53
+ showChevron={false}
54
+ />
55
+ </GroupedSection>
56
+ );
98
57
 
99
58
  export default ProfileSummaryCard;
@@ -1,3 +1,6 @@
1
+ import { Button } from '@oxy.so/bloom/button';
2
+ import { RiCloseLine } from '@oxy.so/bloom/icons/RiCloseLine';
3
+ import { SpinnerIcon } from '@oxy.so/bloom/loading';
1
4
  /**
2
5
  * RequireOxyAuth — the optional signed-out gate primitive (React Native).
3
6
  *
@@ -23,10 +26,10 @@
23
26
 
24
27
  import type React from 'react';
25
28
  import { useState, type ReactNode } from 'react';
26
- import { ActivityIndicator, Pressable, StyleSheet, View } from 'react-native';
29
+ import { StyleSheet, View } from 'react-native';
27
30
  import { useTheme } from '@oxy.so/bloom/theme';
28
31
  import { Text } from '@oxy.so/bloom/typography';
29
- import { useOxy } from '../context/OxyContext';
32
+ import { useOxy } from '../context/oxyRuntimeContext';
30
33
  import { OxySignInButton } from './OxySignInButton';
31
34
  import { LogoIcon } from './logo/LogoIcon';
32
35
 
@@ -156,23 +159,18 @@ const SoftGate: React.FC<SoftGateProps> = ({
156
159
  <Text style={[styles.bannerText, { color: theme.colors.text }]} numberOfLines={2}>
157
160
  {message}
158
161
  </Text>
159
- <Pressable
160
- onPress={onSignIn}
161
- style={[styles.bannerCta, { backgroundColor: theme.colors.primary }]}
162
- accessibilityRole="button"
163
- accessibilityLabel={actionLabel}
164
- >
165
- <Text style={styles.bannerCtaText}>{actionLabel}</Text>
166
- </Pressable>
167
- <Pressable
162
+ <Button appearance="solid" tone="accent" size="sm" onPress={onSignIn}>
163
+ {actionLabel}
164
+ </Button>
165
+ <Button
166
+ appearance="plain"
167
+ tone="neutral"
168
+ size="sm"
169
+ iconOnly
168
170
  onPress={() => setDismissed(true)}
169
- style={styles.bannerDismiss}
170
- accessibilityRole="button"
171
171
  accessibilityLabel="Dismiss"
172
- hitSlop={8}
173
- >
174
- <Text style={[styles.bannerDismissText, { color: theme.colors.textSecondary }]}>✕</Text>
175
- </Pressable>
172
+ leadingIcon={RiCloseLine}
173
+ />
176
174
  </View>
177
175
  ) : null}
178
176
  <View style={styles.softBody}>{children}</View>
@@ -202,7 +200,7 @@ const NeutralLoading: React.FC = () => {
202
200
  const theme = useTheme();
203
201
  return (
204
202
  <View style={[styles.wallRoot, { backgroundColor: theme.colors.background }]}>
205
- <ActivityIndicator color={theme.colors.primary} />
203
+ <SpinnerIcon color={theme.colors.primary} />
206
204
  </View>
207
205
  );
208
206
  };
@@ -226,26 +224,6 @@ const styles = StyleSheet.create({
226
224
  flex: 1,
227
225
  fontSize: 13.5,
228
226
  },
229
- bannerCta: {
230
- paddingVertical: 6,
231
- paddingHorizontal: 14,
232
- borderRadius: 999,
233
- },
234
- bannerCtaText: {
235
- color: '#FFFFFF',
236
- fontSize: 13,
237
- fontWeight: '700',
238
- },
239
- bannerDismiss: {
240
- width: 28,
241
- height: 28,
242
- alignItems: 'center',
243
- justifyContent: 'center',
244
- },
245
- bannerDismissText: {
246
- fontSize: 15,
247
- fontWeight: '600',
248
- },
249
227
  wallRoot: {
250
228
  flex: 1,
251
229
  alignItems: 'center',
@@ -1,49 +1,24 @@
1
1
  import type React from 'react';
2
2
  import { memo } from 'react';
3
- import { View, StyleSheet } from 'react-native';
3
+ import { GroupedSectionIcon } from '@oxy.so/bloom/grouped-section';
4
4
  import MaterialCommunityIcons from '../icons/MaterialCommunityIcons';
5
- import { darkenColor } from '../utils/colorUtils';
6
5
 
7
6
  interface SettingsIconProps {
8
- /** MaterialCommunityIcons icon name */
9
7
  name: React.ComponentProps<typeof MaterialCommunityIcons>['name'];
10
- /** Background color for the circle */
11
8
  color: string;
12
- /** Icon size (default 14, fits bloom's 20x20 container) */
13
9
  iconSize?: number;
14
- /** Container size (default 20, matches bloom SettingsListItem icon slot) */
15
10
  size?: number;
16
11
  }
17
12
 
18
- /**
19
- * Compact colored-circle icon for use with bloom's SettingsListItem.
20
- * Renders a MaterialCommunityIcons glyph inside a tinted circle,
21
- * sized to fit bloom's 20x20 icon container.
22
- */
23
- const SettingsIconComponent: React.FC<SettingsIconProps> = ({
24
- name,
25
- color,
26
- iconSize = 14,
27
- size = 20,
28
- }) => (
29
- <View
30
- style={[
31
- styles.circle,
32
- { width: size, height: size, borderRadius: size / 2, backgroundColor: color },
33
- ]}
34
- >
35
- <MaterialCommunityIcons name={name} size={iconSize} color={darkenColor(color)} />
36
- </View>
13
+ /** SDK glyph adapter; Bloom owns the shared icon surface and contrast. */
14
+ const SettingsIconComponent: React.FC<SettingsIconProps> = ({ name, color, iconSize, size }) => (
15
+ <GroupedSectionIcon color={color} size={size} iconSize={iconSize}>
16
+ {({ color: foreground, size: glyphSize }) => (
17
+ <MaterialCommunityIcons name={name} size={glyphSize} color={foreground} />
18
+ )}
19
+ </GroupedSectionIcon>
37
20
  );
38
21
 
39
22
  SettingsIconComponent.displayName = 'SettingsIcon';
40
-
41
23
  export const SettingsIcon = memo(SettingsIconComponent);
42
24
  export default SettingsIcon;
43
-
44
- const styles = StyleSheet.create({
45
- circle: {
46
- alignItems: 'center',
47
- justifyContent: 'center',
48
- },
49
- });
@@ -10,7 +10,7 @@ export interface SurfaceHeaderActionProps {
10
10
  disabled?: boolean;
11
11
  }
12
12
 
13
- /** Header actions share Bloom's sizing, surface, disabled and loading behavior. */
13
+ /** @deprecated Declare primaryAction or actions through useSurfaceHeader so Bloom owns header composition. */
14
14
  export const SurfaceHeaderAction: React.FC<SurfaceHeaderActionProps> = ({
15
15
  label,
16
16
  onPress,
@@ -1,8 +1,8 @@
1
- import React, { Suspense, useCallback, useEffect, useMemo, useState, type ErrorInfo } from 'react';
1
+ import React, { useCallback, useEffect, useMemo, useState, type ErrorInfo } from 'react';
2
2
  import { StyleSheet, View, useWindowDimensions } from 'react-native';
3
- import { Loading } from '@oxy.so/bloom/loading';
4
3
  import { Text } from '@oxy.so/bloom/typography';
5
4
  import { useStore } from 'zustand';
5
+ import { useOverlayLayerContext, isTopmostOverlayLayer } from '@oxy.so/bloom/overlay';
6
6
  import { useTheme } from '@oxy.so/bloom/theme';
7
7
  import { useDialogFrame, useDialogHeader, type DialogHeaderConfig } from '@oxy.so/bloom/dialog';
8
8
  import type { SurfaceControls } from '@oxy.so/bloom/surfaces';
@@ -11,12 +11,6 @@ import { getScreenComponent } from '../navigation/routes';
11
11
  import { pushSurfaceBackHandler } from '../navigation/surfaceBackBridge';
12
12
  import type { SurfaceNavStack } from '../navigation/surfaceNavStack';
13
13
  import { getSurfaceConfig } from '../navigation/surfaceRegistry';
14
- import {
15
- closeAllRouteSurfaces,
16
- navigateWithinOrPresent,
17
- presentRoute,
18
- replaceWithinOrPresent,
19
- } from '../navigation/surfaces';
20
14
  import { SurfaceHeaderContext, type SurfaceHeaderContent } from '../hooks/useSurfaceHeader';
21
15
  import { SurfaceFrameWidthContext } from '../hooks/useSurfaceFrameWidth';
22
16
  import type { BaseScreenProps } from '../types/navigation';
@@ -72,21 +66,15 @@ const errorStyles = StyleSheet.create({
72
66
  message: { fontSize: 13, textAlign: 'center' },
73
67
  });
74
68
 
75
- /**
76
- * Shown while a route's screen module is still loading. Screens are registered
77
- * as `lazy(() => import(...))` (see `../navigation/routes`), so the very first
78
- * presentation of a surface can land here for a frame; the surface chrome is
79
- * already on screen by then, so this fills only the body.
80
- */
81
- function ScreenPending() {
82
- return (
83
- <View style={errorStyles.container}>
84
- <Loading variant="spinner" size="lg" />
85
- </View>
86
- );
69
+ export interface SurfaceNavigationActions {
70
+ closeAllRouteSurfaces: typeof import('../navigation/surfaces').closeAllRouteSurfaces;
71
+ navigateWithinOrPresent: typeof import('../navigation/surfaces').navigateWithinOrPresent;
72
+ presentRoute: typeof import('../navigation/surfaces').presentRoute;
73
+ replaceWithinOrPresent: typeof import('../navigation/surfaces').replaceWithinOrPresent;
87
74
  }
88
75
 
89
76
  export interface SurfaceScreenProps {
77
+ navigation: SurfaceNavigationActions;
90
78
  /** This surface's route history (the NAV-WITHIN axis). */
91
79
  navStack: SurfaceNavStack;
92
80
  /** Bloom's per-surface controls (dismiss / present a child) — the DEPTH axis. */
@@ -104,8 +92,16 @@ export interface SurfaceScreenProps {
104
92
  * effect) rather than a captured-controls call, so a dismiss requested before
105
93
  * this surface mounted still resolves the Bloom surface exactly once.
106
94
  */
107
- function SurfaceScreen({ navStack, surface, dismissOnBackdrop = true }: SurfaceScreenProps) {
95
+ function SurfaceScreen({
96
+ navStack,
97
+ surface,
98
+ navigation,
99
+ dismissOnBackdrop = true,
100
+ }: SurfaceScreenProps) {
101
+ const { closeAllRouteSurfaces, navigateWithinOrPresent, presentRoute, replaceWithinOrPresent } =
102
+ navigation;
108
103
  const theme = useTheme();
104
+ const overlayLayer = useOverlayLayerContext();
109
105
  const state = useStore(navStack.store);
110
106
  const top = state.frames[state.frames.length - 1];
111
107
 
@@ -118,13 +114,13 @@ function SurfaceScreen({ navStack, surface, dismissOnBackdrop = true }: SurfaceS
118
114
  const navigate = useCallback(
119
115
  (route: RouteName, props?: Record<string, unknown>) =>
120
116
  navigateWithinOrPresent(navStack, route, props),
121
- [navStack],
117
+ [navStack, navigateWithinOrPresent],
122
118
  );
123
119
 
124
120
  const replace = useCallback(
125
121
  (route: RouteName, props?: Record<string, unknown>) =>
126
122
  replaceWithinOrPresent(navStack, route, props),
127
- [navStack],
123
+ [navStack, replaceWithinOrPresent],
128
124
  );
129
125
 
130
126
  // Screens' `dismiss(result)` resolves an active sub-flow (morphed-in avatar
@@ -140,34 +136,16 @@ function SurfaceScreen({ navStack, surface, dismissOnBackdrop = true }: SurfaceS
140
136
 
141
137
  const setStep = useCallback((step: number) => navStack.setStep(step), [navStack]);
142
138
 
143
- // Screen-facing back: pop a frame, else step a wizard back, else dismiss the
139
+ // Screen-facing back: step a wizard back, else pop a frame, else dismiss the
144
140
  // surface — the exact behaviour the single `BottomSheetRouter` had per session.
145
141
  const goBack = useCallback((): void => {
146
142
  if (navStack.goBack()) return;
147
- const current = navStack.getTop();
148
- if (current.step > 0) {
149
- navStack.setStep(current.step - 1);
150
- return;
151
- }
152
143
  navStack.requestDismiss();
153
144
  }, [navStack]);
154
145
 
155
- const handleSystemBack = useCallback((): boolean => {
156
- if (navStack.goBack()) return true;
157
- const current = navStack.getTop();
158
- if (current.step > 0) {
159
- navStack.setStep(current.step - 1);
160
- return true;
161
- }
162
- if (dismissOnBackdrop) navStack.requestDismiss();
163
- return true;
164
- }, [navStack, dismissOnBackdrop]);
165
-
166
- useEffect(() => pushSurfaceBackHandler(handleSystemBack), [handleSystemBack]);
167
-
168
146
  const present = useCallback(
169
147
  (route: RouteName, props?: Record<string, unknown>) => presentRoute(route, props).result,
170
- [],
148
+ [presentRoute],
171
149
  );
172
150
 
173
151
  // --- Dialog nav-header wiring ------------------------------------------
@@ -214,9 +192,21 @@ function SurfaceScreen({ navStack, surface, dismissOnBackdrop = true }: SurfaceS
214
192
  () => ({
215
193
  key: `${top.route}#${top.step}#${screenWidth ?? ''}`,
216
194
  morph: config.morph,
195
+ colorPreset: config.colorPreset,
196
+ typography: config.typography,
197
+ direction: state.direction,
217
198
  size: frameSize,
218
199
  }),
219
- [top.route, top.step, screenWidth, config.morph, frameSize],
200
+ [
201
+ top.route,
202
+ top.step,
203
+ screenWidth,
204
+ config.morph,
205
+ config.colorPreset,
206
+ config.typography,
207
+ frameSize,
208
+ state.direction,
209
+ ],
220
210
  ),
221
211
  );
222
212
  // Show a back affordance whenever the surface can navigate back — either an
@@ -237,6 +227,24 @@ function SurfaceScreen({ navStack, surface, dismissOnBackdrop = true }: SurfaceS
237
227
 
238
228
  useDialogHeader(dialogHeader);
239
229
 
230
+ // Hardware/browser back follows the same visible affordance, including local
231
+ // account/wizard history, before considering root dismissal.
232
+ const handleSystemBack = useCallback((): boolean => {
233
+ // A standalone sheet or menu above this dialog owns Back/Escape.
234
+ if (!isTopmostOverlayLayer(overlayLayer)) return false;
235
+ if (dialogHeader?.onBack) dialogHeader.onBack();
236
+ else if (!navStack.goBack() && dismissOnBackdrop) navStack.requestDismiss();
237
+ return true;
238
+ }, [dialogHeader?.onBack, navStack, dismissOnBackdrop, overlayLayer]);
239
+ useEffect(() => pushSurfaceBackHandler(handleSystemBack), [handleSystemBack]);
240
+
241
+ const closeSession = useCallback(() => {
242
+ // A menu-owned detached host may now contain any SDK route. Its explicit
243
+ // close action must dismiss that host as well as the tracked session.
244
+ navStack.requestDismiss();
245
+ closeAllRouteSurfaces();
246
+ }, [navStack, closeAllRouteSurfaces]);
247
+
240
248
  const screenProps = useMemo<BaseScreenProps>(() => {
241
249
  const { initialStep: _omitInitialStep, ...rest } = top.props;
242
250
  return {
@@ -252,8 +260,8 @@ function SurfaceScreen({ navStack, surface, dismissOnBackdrop = true }: SurfaceS
252
260
  currentScreen: top.route,
253
261
  // DEPTH — `onClose`/`onAuthenticated` unwind the whole session (matching the
254
262
  // old `closeBottomSheet`); `dismiss`/`present` are the per-surface controls.
255
- onClose: closeAllRouteSurfaces,
256
- onAuthenticated: closeAllRouteSurfaces,
263
+ onClose: closeSession,
264
+ onAuthenticated: closeSession,
257
265
  dismiss,
258
266
  present,
259
267
  // Theme + the route's own props.
@@ -261,6 +269,7 @@ function SurfaceScreen({ navStack, surface, dismissOnBackdrop = true }: SurfaceS
261
269
  ...rest,
262
270
  };
263
271
  }, [
272
+ closeSession,
264
273
  navigate,
265
274
  goBack,
266
275
  replace,
@@ -280,9 +289,7 @@ function SurfaceScreen({ navStack, surface, dismissOnBackdrop = true }: SurfaceS
280
289
  <SurfaceHeaderContext.Provider value={headerContext}>
281
290
  <SurfaceFrameWidthContext.Provider value={setScreenWidth}>
282
291
  <ScreenErrorBoundary screenName={top.route}>
283
- <Suspense fallback={<ScreenPending />}>
284
- <ScreenComponent {...screenProps} />
285
- </Suspense>
292
+ <ScreenComponent {...screenProps} />
286
293
  </ScreenErrorBoundary>
287
294
  </SurfaceFrameWidthContext.Provider>
288
295
  </SurfaceHeaderContext.Provider>
@@ -6,7 +6,7 @@ const mockAccept = jest.fn();
6
6
  const mockSwitch = jest.fn();
7
7
  let mockUser: { id: string; kind: string; email: string; username: string } | null = null;
8
8
  const mockServices = { accounts: { invitations: { preview: mockPreview, accept: mockAccept } } };
9
- jest.mock('../../context/OxyContext', () => ({
9
+ jest.mock('../../context/oxyRuntimeContext', () => ({
10
10
  useOxy: () => ({
11
11
  oxyServices: mockServices,
12
12
  user: mockUser,
@@ -9,7 +9,7 @@ import { BloomLocaleBridge } from '../BloomLocaleBridge';
9
9
  */
10
10
 
11
11
  let mockCurrentLanguage = 'es-ES';
12
- jest.mock('../../context/OxyContext', () => ({
12
+ jest.mock('../../context/oxyRuntimeContext', () => ({
13
13
  useOxy: () => ({ currentLanguage: mockCurrentLanguage }),
14
14
  }));
15
15
 
@@ -11,7 +11,7 @@ import { LanguageBridge } from '../LanguageBridge';
11
11
  */
12
12
 
13
13
  let mockCurrentLanguage = 'en-US';
14
- jest.mock('../../context/OxyContext', () => ({
14
+ jest.mock('../../context/oxyRuntimeContext', () => ({
15
15
  useOxy: () => ({ currentLanguage: mockCurrentLanguage }),
16
16
  }));
17
17
 
@@ -50,7 +50,7 @@ jest.mock('../../hooks/useFollow', () => ({
50
50
  }),
51
51
  }));
52
52
 
53
- jest.mock('../../context/OxyContext', () => ({
53
+ jest.mock('../../context/oxyRuntimeContext', () => ({
54
54
  useOxy: () => ({ oxyServices: {}, canUsePrivateApi: true, user: { id: 'viewer' } }),
55
55
  }));
56
56