@oxy.so/services 3.1.0 → 4.0.1

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