@oxy.so/services 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/LICENSE +675 -201
  2. package/NOTICE +215 -3
  3. package/README.md +1 -3
  4. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  5. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  6. package/lib/commonjs/assets/assets/fonts/icons/manifest.json +5 -11
  7. package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  8. package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  9. package/lib/commonjs/assets/fonts/icons/manifest.json +5 -11
  10. package/lib/commonjs/ui/components/FollowButton.js +15 -28
  11. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  12. package/lib/commonjs/ui/components/FollowTargetButton.js +17 -13
  13. package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
  14. package/lib/commonjs/ui/components/OxyAuthPrompt.js +3 -2
  15. package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -1
  16. package/lib/commonjs/ui/components/OxyConsentScreen.js +4 -2
  17. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
  18. package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
  19. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  20. package/lib/commonjs/ui/components/OxySignInRequestSurface.js +2 -1
  21. package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -1
  22. package/lib/commonjs/ui/components/ProfileButton.js +67 -267
  23. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
  24. package/lib/commonjs/ui/components/ProfileSummaryCard.js +2 -2
  25. package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
  26. package/lib/commonjs/ui/components/SurfaceHeaderAction.js +9 -49
  27. package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -1
  28. package/lib/commonjs/ui/components/SurfaceScreen.js +3 -2
  29. package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
  30. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +2 -1
  31. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  32. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +2 -1
  33. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +1 -1
  34. package/lib/commonjs/ui/components/authChooser/SignUpView.js +4 -2
  35. package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +1 -1
  36. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +2 -1
  37. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
  38. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +20 -14
  39. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  40. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +48 -85
  41. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  42. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +35 -31
  43. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  44. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +9 -6
  45. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  46. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +22 -19
  47. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  48. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +6 -3
  49. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  50. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +6 -3
  51. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
  52. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +7 -5
  53. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  54. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +20 -17
  55. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  56. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +2 -1
  57. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  58. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +5 -3
  59. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
  60. package/lib/commonjs/ui/icons/subsetGlyphMaps.js +0 -6
  61. package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
  62. package/lib/commonjs/ui/screens/AccountMembersScreen.js +36 -60
  63. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
  64. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +2 -1
  65. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  66. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +16 -7
  67. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  68. package/lib/commonjs/ui/screens/AvatarCropScreen.js +7 -6
  69. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
  70. package/lib/commonjs/ui/screens/CreateAccountScreen.js +2 -1
  71. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
  72. package/lib/commonjs/ui/screens/FeedbackScreen.js +18 -9
  73. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  74. package/lib/commonjs/ui/screens/FileManagementScreen.js +99 -200
  75. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  76. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +8 -9
  77. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  78. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +19 -8
  79. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  80. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -1
  81. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  82. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +20 -10
  83. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  84. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +4 -2
  85. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  86. package/lib/commonjs/ui/screens/ProfileScreen.js +2 -1
  87. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  88. package/lib/commonjs/ui/screens/UserListScreen.js +31 -33
  89. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  90. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +22 -11
  91. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  92. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +7 -18
  93. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
  94. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +7 -16
  95. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
  96. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +6 -6
  97. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  98. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +23 -66
  99. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
  100. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +17 -8
  101. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
  102. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +2 -1
  103. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  104. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +3 -2
  105. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  106. package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  107. package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  108. package/lib/module/assets/assets/fonts/icons/manifest.json +5 -11
  109. package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  110. package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  111. package/lib/module/assets/fonts/icons/manifest.json +5 -11
  112. package/lib/module/ui/components/FollowButton.js +15 -28
  113. package/lib/module/ui/components/FollowButton.js.map +1 -1
  114. package/lib/module/ui/components/FollowTargetButton.js +15 -12
  115. package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
  116. package/lib/module/ui/components/OxyAuthPrompt.js +2 -1
  117. package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -1
  118. package/lib/module/ui/components/OxyConsentScreen.js +4 -2
  119. package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
  120. package/lib/module/ui/components/OxySignInButton.js +1 -1
  121. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  122. package/lib/module/ui/components/OxySignInRequestSurface.js +2 -1
  123. package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -1
  124. package/lib/module/ui/components/ProfileButton.js +70 -269
  125. package/lib/module/ui/components/ProfileButton.js.map +1 -1
  126. package/lib/module/ui/components/ProfileSummaryCard.js +2 -2
  127. package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
  128. package/lib/module/ui/components/SurfaceHeaderAction.js +8 -48
  129. package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -1
  130. package/lib/module/ui/components/SurfaceScreen.js +2 -1
  131. package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
  132. package/lib/module/ui/components/authChooser/AccountsMenuView.js +2 -1
  133. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  134. package/lib/module/ui/components/authChooser/SignInEntryView.js +2 -1
  135. package/lib/module/ui/components/authChooser/SignInEntryView.js.map +1 -1
  136. package/lib/module/ui/components/authChooser/SignUpView.js +4 -2
  137. package/lib/module/ui/components/authChooser/SignUpView.js.map +1 -1
  138. package/lib/module/ui/components/authChooser/requestSurfaces.js +2 -1
  139. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
  140. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +12 -6
  141. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  142. package/lib/module/ui/components/fileManagement/FileViewer.js +38 -75
  143. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  144. package/lib/module/ui/components/fileManagement/UploadPreview.js +31 -27
  145. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  146. package/lib/module/ui/components/modals/DeleteAccountModal.js +6 -3
  147. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  148. package/lib/module/ui/components/payment/PaymentDetailsStep.js +6 -3
  149. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  150. package/lib/module/ui/components/payment/PaymentMethodStep.js +6 -3
  151. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  152. package/lib/module/ui/components/payment/PaymentReviewStep.js +6 -3
  153. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
  154. package/lib/module/ui/components/payment/PaymentSuccessStep.js +4 -2
  155. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  156. package/lib/module/ui/components/payment/PaymentSummaryStep.js +6 -3
  157. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  158. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +2 -1
  159. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  160. package/lib/module/ui/components/surfaces/ActionSheetSurface.js +4 -2
  161. package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
  162. package/lib/module/ui/icons/subsetGlyphMaps.js +0 -6
  163. package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
  164. package/lib/module/ui/screens/AccountMembersScreen.js +37 -61
  165. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
  166. package/lib/module/ui/screens/AccountSettingsScreen.js +2 -1
  167. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  168. package/lib/module/ui/screens/AccountVerificationScreen.js +15 -7
  169. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  170. package/lib/module/ui/screens/AvatarCropScreen.js +2 -1
  171. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
  172. package/lib/module/ui/screens/CreateAccountScreen.js +2 -1
  173. package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
  174. package/lib/module/ui/screens/FeedbackScreen.js +18 -9
  175. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  176. package/lib/module/ui/screens/FileManagementScreen.js +91 -192
  177. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  178. package/lib/module/ui/screens/LanguageSelectorScreen.js +9 -10
  179. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  180. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +18 -7
  181. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  182. package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -1
  183. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  184. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +20 -10
  185. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  186. package/lib/module/ui/screens/PrivacySettingsScreen.js +4 -2
  187. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  188. package/lib/module/ui/screens/ProfileScreen.js +2 -1
  189. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  190. package/lib/module/ui/screens/UserListScreen.js +32 -34
  191. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  192. package/lib/module/ui/screens/WelcomeNewUserScreen.js +22 -11
  193. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  194. package/lib/module/ui/screens/fileManagement/FileLibraryError.js +6 -17
  195. package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
  196. package/lib/module/ui/screens/fileManagement/FileListSection.js +5 -14
  197. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
  198. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +3 -3
  199. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  200. package/lib/module/ui/screens/fileManagement/UploadBar.js +24 -66
  201. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
  202. package/lib/module/ui/screens/trust/TrustAboutScreen.js +16 -7
  203. package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
  204. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +2 -1
  205. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  206. package/lib/module/ui/screens/trust/TrustRulesScreen.js +2 -1
  207. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  208. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -1
  211. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +1 -1
  212. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
  213. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +1 -20
  214. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
  215. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +1 -5
  217. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
  219. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  221. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  225. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  228. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
  231. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  233. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +0 -6
  235. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  236. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +0 -2
  244. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +1 -14
  248. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  251. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  252. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
  253. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -1
  254. package/lib/typescript/module/ui/components/OxySignInButton.d.ts +1 -1
  255. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
  256. package/lib/typescript/module/ui/components/ProfileButton.d.ts +1 -20
  257. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
  258. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
  259. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -5
  260. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
  261. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
  262. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  263. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  264. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  265. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  266. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  267. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  268. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  269. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  270. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  271. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
  272. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
  273. package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
  274. package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
  275. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  276. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  277. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +0 -6
  278. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  279. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
  280. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  281. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  282. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  283. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  284. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  285. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  286. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +0 -2
  287. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -1
  288. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  289. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  290. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +1 -14
  291. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  292. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
  293. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  294. package/package.json +7 -7
  295. package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  296. package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  297. package/src/assets/fonts/icons/manifest.json +5 -11
  298. package/src/ui/components/FollowButton.tsx +14 -29
  299. package/src/ui/components/FollowTargetButton.tsx +14 -12
  300. package/src/ui/components/OxyAuthPrompt.tsx +2 -7
  301. package/src/ui/components/OxyConsentScreen.tsx +2 -2
  302. package/src/ui/components/OxySignInButton.tsx +2 -2
  303. package/src/ui/components/OxySignInRequestSurface.tsx +1 -1
  304. package/src/ui/components/ProfileButton.tsx +30 -297
  305. package/src/ui/components/ProfileSummaryCard.tsx +1 -2
  306. package/src/ui/components/SurfaceHeaderAction.tsx +7 -49
  307. package/src/ui/components/SurfaceScreen.tsx +2 -1
  308. package/src/ui/components/authChooser/AccountsMenuView.tsx +1 -1
  309. package/src/ui/components/authChooser/SignInEntryView.tsx +1 -1
  310. package/src/ui/components/authChooser/SignUpView.tsx +2 -2
  311. package/src/ui/components/authChooser/requestSurfaces.tsx +1 -1
  312. package/src/ui/components/fileManagement/FileDetailsModal.tsx +8 -6
  313. package/src/ui/components/fileManagement/FileViewer.tsx +21 -50
  314. package/src/ui/components/fileManagement/UploadPreview.tsx +12 -29
  315. package/src/ui/components/modals/DeleteAccountModal.tsx +4 -3
  316. package/src/ui/components/payment/PaymentDetailsStep.tsx +4 -3
  317. package/src/ui/components/payment/PaymentMethodStep.tsx +4 -3
  318. package/src/ui/components/payment/PaymentReviewStep.tsx +4 -3
  319. package/src/ui/components/payment/PaymentSuccessStep.tsx +3 -2
  320. package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -3
  321. package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +2 -1
  322. package/src/ui/components/surfaces/ActionSheetSurface.tsx +3 -2
  323. package/src/ui/icons/subsetGlyphMaps.ts +0 -6
  324. package/src/ui/screens/AccountMembersScreen.tsx +17 -65
  325. package/src/ui/screens/AccountSettingsScreen.tsx +1 -1
  326. package/src/ui/screens/AccountVerificationScreen.tsx +14 -7
  327. package/src/ui/screens/AvatarCropScreen.tsx +2 -10
  328. package/src/ui/screens/CreateAccountScreen.tsx +1 -1
  329. package/src/ui/screens/FeedbackScreen.tsx +9 -9
  330. package/src/ui/screens/FileManagementScreen.tsx +37 -184
  331. package/src/ui/screens/LanguageSelectorScreen.tsx +5 -13
  332. package/src/ui/screens/LearnMoreUsernamesScreen.tsx +17 -7
  333. package/src/ui/screens/PaymentGatewayScreen.tsx +1 -1
  334. package/src/ui/screens/PremiumSubscriptionScreen.tsx +10 -10
  335. package/src/ui/screens/PrivacySettingsScreen.tsx +2 -2
  336. package/src/ui/screens/ProfileScreen.tsx +1 -1
  337. package/src/ui/screens/UserListScreen.tsx +17 -44
  338. package/src/ui/screens/WelcomeNewUserScreen.tsx +11 -11
  339. package/src/ui/screens/fileManagement/FileLibraryError.tsx +6 -14
  340. package/src/ui/screens/fileManagement/FileListSection.tsx +4 -16
  341. package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +2 -13
  342. package/src/ui/screens/fileManagement/UploadBar.tsx +17 -56
  343. package/src/ui/screens/trust/TrustAboutScreen.tsx +16 -7
  344. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
  345. package/src/ui/screens/trust/TrustRulesScreen.tsx +2 -1
  346. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -61
  347. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
  348. package/lib/commonjs/ui/components/internal/PinInput.js +0 -118
  349. package/lib/commonjs/ui/components/internal/PinInput.js.map +0 -1
  350. package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -55
  351. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
  352. package/lib/module/ui/components/internal/PinInput.js +0 -113
  353. package/lib/module/ui/components/internal/PinInput.js.map +0 -1
  354. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
  355. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
  356. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +0 -23
  357. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +0 -1
  358. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
  359. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
  360. package/lib/typescript/module/ui/components/internal/PinInput.d.ts +0 -23
  361. package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +0 -1
  362. package/src/ui/components/fileManagement/AnimatedButton.tsx +0 -64
  363. package/src/ui/components/internal/PinInput.tsx +0 -123
@@ -4,8 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
+ var _button = require("@oxy.so/bloom/button");
7
8
  var _react = require("react");
8
9
  var _reactNative = require("react-native");
10
+ var _typography = require("@oxy.so/bloom/typography");
9
11
  var _reactQuery = require("@tanstack/react-query");
10
12
  var _expoImage = require("expo-image");
11
13
  var _toast = require("@oxy.so/bloom/toast");
@@ -35,13 +37,12 @@ var _PhotoPickerSection = _interopRequireDefault(require("./fileManagement/Photo
35
37
  var _FileListSection = _interopRequireDefault(require("./fileManagement/FileListSection.js"));
36
38
  var _FileLibraryError = _interopRequireDefault(require("./fileManagement/FileLibraryError.js"));
37
39
  var _UploadBar = _interopRequireDefault(require("./fileManagement/UploadBar.js"));
38
- var _AnimatedButton = require("../components/fileManagement/AnimatedButton.js");
40
+ var _segmentedControl = require("@oxy.so/bloom/segmented-control");
41
+ var _search = require("@oxy.so/bloom/search");
39
42
  var _jsxRuntime = require("react/jsx-runtime");
40
43
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
41
44
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
42
- // Genuinely-inline-only styles: `viewModeButton` is spread into an Animated.View
43
- // style array (interpolated backgroundColor), and the photo tiles are
44
- // `expo-image` (no className remap). Everything else uses NativeWind classNames.
45
+ // Photo tiles use expo-image dimensions; controls use Bloom primitives.
45
46
  // Nav-header slot layout for this screen's action row + review-mode back button.
46
47
  const fmHeaderStyles = _reactNative.StyleSheet.create({
47
48
  actionsRow: {
@@ -57,15 +58,6 @@ const fmHeaderStyles = _reactNative.StyleSheet.create({
57
58
  }
58
59
  });
59
60
  const screenStyles = _reactNative.StyleSheet.create({
60
- viewModeButton: {
61
- paddingHorizontal: 10,
62
- paddingVertical: 6,
63
- borderRadius: 999,
64
- minWidth: 36,
65
- alignItems: 'center',
66
- justifyContent: 'center',
67
- marginHorizontal: 1
68
- },
69
61
  justifiedPhotoImage: {
70
62
  width: '100%',
71
63
  height: '100%',
@@ -819,40 +811,43 @@ const FileManagementScreen = ({
819
811
  },
820
812
  // Hide action buttons when selecting (in selectMode or bulk operations mode)
821
813
  rightElement: !selectMode && selectedIds.size === 0 ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
822
- className: "flex-row items-center gap-[6px] ml-[12px]",
823
- children: [(isImage || isVideo || file.contentType.includes('pdf')) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
824
- className: "w-[34px] h-[34px] rounded-[8px] items-center justify-center",
825
- style: {
826
- backgroundColor: colors.backgroundSecondary
827
- },
814
+ className: "flex-row items-center gap-1.5 ml-3",
815
+ children: [isImage || isVideo || file.contentType.includes('pdf') ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
816
+ appearance: "subtle",
817
+ tone: "neutral",
818
+ size: "small",
819
+ iconOnly: true,
820
+ stopPropagation: true,
821
+ accessibilityLabel: `Preview ${file.filename}`,
828
822
  onPress: () => handleFileOpen(file),
829
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
823
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
830
824
  name: "eye",
831
825
  size: 18,
832
- color: colors.primary
826
+ color: colors.text
833
827
  })
834
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
835
- className: "w-[34px] h-[34px] rounded-[8px] items-center justify-center",
836
- style: {
837
- backgroundColor: colors.backgroundSecondary
838
- },
828
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
829
+ appearance: "subtle",
830
+ tone: "neutral",
831
+ size: "small",
832
+ iconOnly: true,
833
+ stopPropagation: true,
834
+ accessibilityLabel: `Download ${file.filename}`,
839
835
  onPress: () => handleFileDownload(file.id, file.filename),
840
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
836
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
841
837
  name: "download",
842
838
  size: 18,
843
- color: colors.primary
839
+ color: colors.text
844
840
  })
845
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
846
- className: "w-[34px] h-[34px] rounded-[8px] items-center justify-center",
847
- style: {
848
- backgroundColor: colors.negativeSubtle
849
- },
841
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
842
+ appearance: "subtle",
843
+ tone: "danger",
844
+ size: "small",
845
+ iconOnly: true,
846
+ stopPropagation: true,
847
+ loading: deletingId === file.id,
848
+ accessibilityLabel: `Delete ${file.filename}`,
850
849
  onPress: () => confirmFileDelete(file.id, file.filename),
851
- disabled: deletingId === file.id,
852
- children: deletingId === file.id ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
853
- size: "small",
854
- color: colors.error
855
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
850
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
856
851
  name: "trash",
857
852
  size: 18,
858
853
  color: colors.error
@@ -871,8 +866,7 @@ const FileManagementScreen = ({
871
866
  onRetry: () => filesQuery.refetch(),
872
867
  iconColor: colors.error,
873
868
  titleColor: colors.text,
874
- descriptionColor: colors.textSecondary,
875
- buttonColor: colors.primary
869
+ descriptionColor: colors.textSecondary
876
870
  });
877
871
 
878
872
  // Browse "photos" view. The justified grid owns its own dimension
@@ -888,38 +882,22 @@ const FileManagementScreen = ({
888
882
  name: "images-outline",
889
883
  size: 64,
890
884
  color: colors.textTertiary
891
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
885
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
892
886
  className: "text-[24px] font-bold mt-[16px] mb-[8px]",
893
887
  style: {
894
888
  color: colors.text
895
889
  },
896
890
  children: t('fileManagement.emptyPhotos.title')
897
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
891
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_typography.Text, {
898
892
  className: "text-[16px] text-center leading-[24px] mb-[32px]",
899
893
  style: {
900
894
  color: colors.textSecondary
901
895
  },
902
896
  children: [" ", user?.id === targetUserId ? t('fileManagement.emptyPhotos.ownDescription') : t('fileManagement.emptyPhotos.otherDescription'), " "]
903
- }), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
904
- className: "flex-row items-center px-[24px] py-[12px] rounded-[24px] gap-[8px]",
905
- style: {
906
- backgroundColor: colors.primary
907
- },
897
+ }), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
908
898
  onPress: handleFileUpload,
909
- disabled: uploading || isPickingDocument,
910
- children: uploading || isPickingDocument ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
911
- size: "small",
912
- color: "#FFFFFF"
913
- }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
914
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
915
- name: "cloud-upload",
916
- size: 20,
917
- color: "#FFFFFF"
918
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
919
- className: "text-white text-[16px] font-semibold",
920
- children: t('fileManagement.uploadPhotos')
921
- })]
922
- })
899
+ loading: uploading || isPickingDocument,
900
+ children: t('fileManagement.uploadPhotos')
923
901
  })]
924
902
  });
925
903
  }
@@ -962,38 +940,22 @@ const FileManagementScreen = ({
962
940
  name: "folder-open-outline",
963
941
  size: 64,
964
942
  color: colors.textTertiary
965
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
943
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
966
944
  className: "text-[24px] font-bold mt-[16px] mb-[8px]",
967
945
  style: {
968
946
  color: colors.text
969
947
  },
970
948
  children: t('fileManagement.emptyFiles.title')
971
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
949
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
972
950
  className: "text-[16px] text-center leading-[24px] mb-[32px]",
973
951
  style: {
974
952
  color: colors.textSecondary
975
953
  },
976
954
  children: user?.id === targetUserId ? t('fileManagement.emptyFiles.ownDescription') : t('fileManagement.emptyFiles.otherDescription')
977
- }), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
978
- className: "flex-row items-center px-[24px] py-[12px] rounded-[24px] gap-[8px]",
979
- style: {
980
- backgroundColor: colors.primary
981
- },
955
+ }), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
982
956
  onPress: handleFileUpload,
983
- disabled: uploading || isPickingDocument,
984
- children: uploading || isPickingDocument ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
985
- size: "small",
986
- color: "#FFFFFF"
987
- }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
988
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
989
- name: "cloud-upload",
990
- size: 20,
991
- color: "#FFFFFF"
992
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
993
- className: "text-white text-[16px] font-semibold",
994
- children: t('fileManagement.uploadFiles')
995
- })]
996
- })
957
+ loading: uploading || isPickingDocument,
958
+ children: t('fileManagement.uploadFiles')
997
959
  })]
998
960
  });
999
961
 
@@ -1310,58 +1272,32 @@ const FileManagementScreen = ({
1310
1272
  style: {
1311
1273
  maxWidth: '80%'
1312
1274
  },
1313
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
1314
- className: "flex-row rounded-full p-[2px] overflow-hidden",
1315
- style: {
1316
- backgroundColor: colors.card
1317
- },
1318
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedButton.AnimatedButton, {
1319
- isSelected: viewMode === 'all',
1320
- onPress: () => setViewMode('all'),
1321
- icon: viewMode === 'all' ? 'folder' : 'folder-outline',
1322
- primaryColor: colors.primary,
1323
- textColor: colors.text,
1324
- style: screenStyles.viewModeButton,
1325
- accessibilityLabel: t('fileManagement.a11y.viewAll') || 'Show all files'
1326
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedButton.AnimatedButton, {
1327
- isSelected: viewMode === 'photos',
1328
- onPress: () => setViewMode('photos'),
1329
- icon: viewMode === 'photos' ? 'image-multiple' : 'image-multiple-outline',
1330
- primaryColor: colors.primary,
1331
- textColor: colors.text,
1332
- style: screenStyles.viewModeButton,
1333
- accessibilityLabel: t('fileManagement.a11y.viewPhotos') || 'Show photos only'
1334
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedButton.AnimatedButton, {
1335
- isSelected: viewMode === 'videos',
1336
- onPress: () => setViewMode('videos'),
1337
- icon: viewMode === 'videos' ? 'video' : 'video-outline',
1338
- primaryColor: colors.primary,
1339
- textColor: colors.text,
1340
- style: screenStyles.viewModeButton,
1341
- accessibilityLabel: t('fileManagement.a11y.viewVideos') || 'Show videos only'
1342
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedButton.AnimatedButton, {
1343
- isSelected: viewMode === 'documents',
1344
- onPress: () => setViewMode('documents'),
1345
- icon: viewMode === 'documents' ? 'file-document' : 'file-document-outline',
1346
- primaryColor: colors.primary,
1347
- textColor: colors.text,
1348
- style: screenStyles.viewModeButton,
1349
- accessibilityLabel: t('fileManagement.a11y.viewDocuments') || 'Show documents only'
1350
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedButton.AnimatedButton, {
1351
- isSelected: viewMode === 'audio',
1352
- onPress: () => setViewMode('audio'),
1353
- icon: viewMode === 'audio' ? 'music-note' : 'music-note-outline',
1354
- primaryColor: colors.primary,
1355
- textColor: colors.text,
1356
- style: screenStyles.viewModeButton,
1357
- accessibilityLabel: t('fileManagement.a11y.viewAudio') || 'Show audio only'
1358
- })]
1275
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_segmentedControl.SegmentedControl, {
1276
+ type: "radio",
1277
+ label: t('fileManagement.viewMode') || 'File type',
1278
+ value: viewMode,
1279
+ onValueChange: setViewMode,
1280
+ size: "small",
1281
+ children: ['all', 'photos', 'videos', 'documents', 'audio'].map(mode => /*#__PURE__*/(0, _jsxRuntime.jsx)(_segmentedControl.SegmentedControlItem, {
1282
+ value: mode,
1283
+ accessibilityLabel: mode,
1284
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
1285
+ name: {
1286
+ all: 'folder-outline',
1287
+ photos: 'image-multiple-outline',
1288
+ videos: 'video-outline',
1289
+ documents: 'file-document-outline',
1290
+ audio: 'music-note-outline'
1291
+ }[mode],
1292
+ size: 18,
1293
+ color: colors.text
1294
+ })
1295
+ }, mode))
1359
1296
  })
1360
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
1361
- className: "flex-row items-center justify-center px-[10px] py-[6px] rounded-full min-w-[36px] gap-[4px]",
1362
- style: {
1363
- backgroundColor: colors.card
1364
- },
1297
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
1298
+ appearance: "subtle",
1299
+ tone: "neutral",
1300
+ size: "small",
1365
1301
  accessibilityRole: "button",
1366
1302
  accessibilityLabel: t('fileManagement.a11y.sortBy', {
1367
1303
  field: sortBy,
@@ -1378,72 +1314,37 @@ const FileManagementScreen = ({
1378
1314
  setSortOrder(prev => prev === 'asc' ? 'desc' : 'asc');
1379
1315
  }
1380
1316
  },
1381
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
1382
- name: sortBy === 'date' ? 'calendar' : sortBy === 'size' ? 'sort-numeric-variant' : sortBy === 'name' ? 'sort-alphabetical-variant' : 'file-document-outline',
1383
- size: 16,
1384
- color: colors.text
1385
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
1386
- name: sortOrder === 'asc' ? 'arrow-up' : 'arrow-down',
1387
- size: 14,
1388
- color: colors.textSecondary
1389
- })]
1390
- }), user?.id === targetUserId && (!selectMode || allowUploadInSelectMode) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
1391
- className: "h-[44px] w-[44px] rounded-[22px] items-center justify-center",
1392
- style: {
1393
- backgroundColor: colors.primary
1394
- },
1317
+ trailing: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
1318
+ className: "flex-row items-center gap-1",
1319
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
1320
+ name: sortBy === 'date' ? 'calendar' : sortBy === 'size' ? 'sort-numeric-variant' : sortBy === 'name' ? 'sort-alphabetical-variant' : 'file-document-outline',
1321
+ size: 16,
1322
+ color: colors.text
1323
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
1324
+ name: sortOrder === 'asc' ? 'arrow-up' : 'arrow-down',
1325
+ size: 14,
1326
+ color: colors.textSecondary
1327
+ })]
1328
+ })
1329
+ }), user?.id === targetUserId && (!selectMode || allowUploadInSelectMode) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
1330
+ iconOnly: true,
1395
1331
  onPress: handleFileUpload,
1396
- disabled: uploading || isPickingDocument,
1397
- accessibilityRole: "button",
1332
+ loading: uploading || isPickingDocument,
1398
1333
  accessibilityLabel: t('fileManagement.a11y.uploadFile') || 'Upload file',
1399
- accessibilityState: {
1400
- busy: uploading || isPickingDocument
1401
- },
1402
- children: uploading ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
1403
- className: "items-center justify-center",
1404
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
1405
- size: "small",
1406
- color: "#FFFFFF"
1407
- }), uploadProgress && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
1408
- className: "text-white text-[10px] font-semibold mt-[2px]",
1409
- children: [uploadProgress.current, "/", uploadProgress.total]
1410
- })]
1411
- }) : isPickingDocument ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
1412
- size: "small",
1413
- color: "#FFFFFF"
1414
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
1334
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
1415
1335
  name: "add",
1416
1336
  size: 22,
1417
- color: "#FFFFFF"
1337
+ color: colors.primaryForeground
1418
1338
  })
1419
1339
  })]
1420
- }), files.length > 0 && (viewMode === 'all' || files.some(f => f.contentType.startsWith('image/'))) && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
1421
- className: "flex-row items-center px-[14px] py-[10px] mx-[12px] mb-[12px] rounded-full gap-[10px]",
1422
- style: {
1423
- backgroundColor: colors.card
1424
- },
1425
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
1426
- name: "search",
1427
- size: 22,
1428
- color: colors.icon
1429
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
1430
- className: "flex-1 text-[16px] leading-[20px]",
1431
- style: {
1432
- color: colors.text
1433
- },
1434
- placeholder: viewMode === 'photos' ? t('fileManagement.searchPhotos') : t('fileManagement.searchFiles'),
1435
- placeholderTextColor: colors.textSecondary,
1340
+ }), files.length > 0 && (viewMode === 'all' || files.some(f => f.contentType.startsWith('image/'))) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
1341
+ className: "mx-[12px] mb-[12px]",
1342
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_search.Search, {
1343
+ label: viewMode === 'photos' ? t('fileManagement.searchPhotos') : t('fileManagement.searchFiles'),
1436
1344
  value: searchQuery,
1437
- onChangeText: setSearchQuery
1438
- }), searchQuery.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
1439
- onPress: () => setSearchQuery(''),
1440
- className: "p-[4px] rounded-[12px] items-center justify-center",
1441
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Ionicons.default, {
1442
- name: "close-circle",
1443
- size: 22,
1444
- color: colors.icon
1445
- })
1446
- })]
1345
+ onValueChange: setSearchQuery,
1346
+ onClearText: () => setSearchQuery('')
1347
+ })
1447
1348
  }), files.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
1448
1349
  className: "flex-row px-[14px] py-[10px] mx-[12px] mb-[12px] rounded-[18px]",
1449
1350
  style: {
@@ -1451,14 +1352,14 @@ const FileManagementScreen = ({
1451
1352
  },
1452
1353
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
1453
1354
  className: "flex-1 items-center py-[4px]",
1454
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
1355
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
1455
1356
  className: "text-[20px] font-extrabold leading-[24px]",
1456
1357
  style: {
1457
1358
  color: colors.text,
1458
1359
  letterSpacing: -0.5
1459
1360
  },
1460
1361
  children: filteredFiles.length
1461
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
1362
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
1462
1363
  className: "text-[12px] font-medium mt-[2px]",
1463
1364
  style: {
1464
1365
  color: colors.textSecondary,
@@ -1468,14 +1369,14 @@ const FileManagementScreen = ({
1468
1369
  })]
1469
1370
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
1470
1371
  className: "flex-1 items-center py-[4px]",
1471
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
1372
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
1472
1373
  className: "text-[20px] font-extrabold leading-[24px]",
1473
1374
  style: {
1474
1375
  color: colors.text,
1475
1376
  letterSpacing: -0.5
1476
1377
  },
1477
1378
  children: (0, _fileManagement.formatFileSize)(filteredFiles.reduce((total, file) => total + file.length, 0))
1478
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
1379
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
1479
1380
  className: "text-[12px] font-medium mt-[2px]",
1480
1381
  style: {
1481
1382
  color: colors.textSecondary,
@@ -1485,14 +1386,14 @@ const FileManagementScreen = ({
1485
1386
  })]
1486
1387
  }), searchQuery.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
1487
1388
  className: "flex-1 items-center py-[4px]",
1488
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
1389
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
1489
1390
  className: "text-[20px] font-extrabold leading-[24px]",
1490
1391
  style: {
1491
1392
  color: colors.text,
1492
1393
  letterSpacing: -0.5
1493
1394
  },
1494
1395
  children: files.length
1495
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
1396
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
1496
1397
  className: "text-[12px] font-medium mt-[2px]",
1497
1398
  style: {
1498
1399
  color: colors.textSecondary,
@@ -1519,8 +1420,6 @@ const FileManagementScreen = ({
1519
1420
  renderEmptyState: renderEmptyState
1520
1421
  }), !selectMode && uploading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_UploadBar.default, {
1521
1422
  uploadProgress: uploadProgress,
1522
- isDark: bloomTheme.isDark,
1523
- colors: colors,
1524
1423
  t: t
1525
1424
  })]
1526
1425
  });