@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,7 +4,16 @@ import { useTheme } from '@oxy.so/bloom/theme';
4
4
  import { H4, Text } from '@oxy.so/bloom/typography';
5
5
  import { IconCircle } from '@oxy.so/bloom/icon-circle';
6
6
  import { BenefitList, BenefitRow } from '../../components/BenefitList';
7
- import * as Icons from '@oxy.so/bloom/icons';
7
+ // Per glyph, never `@oxy.so/bloom/icons`. That barrel re-exports all 461 Remix
8
+ // glyphs and Metro does not tree-shake, so one import of it here re-ships every
9
+ // glyph — 313,123 B, measured — to every app in this package's graph, and no
10
+ // consumer can opt out of what a dependency asks for.
11
+ import { RiAccountCircleLine } from '@oxy.so/bloom/icons/RiAccountCircleLine';
12
+ import { RiCalendarLine } from '@oxy.so/bloom/icons/RiCalendarLine';
13
+ import { RiEditLine } from '@oxy.so/bloom/icons/RiEditLine';
14
+ import { RiFlagLine } from '@oxy.so/bloom/icons/RiFlagLine';
15
+ import { RiShieldCheckLine } from '@oxy.so/bloom/icons/RiShieldCheckLine';
16
+ import { RiSparklingLine } from '@oxy.so/bloom/icons/RiSparklingLine';
8
17
  import type { BaseScreenProps } from '../../types/navigation';
9
18
  import { useI18n } from '../../hooks/useI18n';
10
19
  import { useSurfaceHeader } from '../../hooks/useSurfaceHeader';
@@ -22,7 +31,7 @@ const TrustAboutScreen: React.FC<BaseScreenProps> = () => {
22
31
  return (
23
32
  <View className="px-screen-margin pt-space-16 pb-space-32">
24
33
  <View className="items-center py-space-24 gap-space-12">
25
- <IconCircle icon={Icons.RiShieldCheckLine} />
34
+ <IconCircle icon={RiShieldCheckLine} />
26
35
  <Text className="font-sans text-body text-text-secondary text-center">
27
36
  {t('trust.about.intro') || 'Oxy Trust is a recognition of your positive actions in the Oxy Ecosystem. Reputation cannot be sent or received directly, only earned by contributing to the community.'}
28
37
  </Text>
@@ -36,23 +45,23 @@ const TrustAboutScreen: React.FC<BaseScreenProps> = () => {
36
45
  accessibilityLabel={t('trust.about.how.title') || 'How to Earn Reputation'}
37
46
  >
38
47
  <BenefitRow
39
- icon={<Icons.RiAccountCircleLine size="sm" style={{ color: iconColor }} />}
48
+ icon={<RiAccountCircleLine size="sm" style={{ color: iconColor }} />}
40
49
  label={t('trust.about.how.help') || 'Helping other users'}
41
50
  />
42
51
  <BenefitRow
43
- icon={<Icons.RiFlagLine size="sm" style={{ color: iconColor }} />}
52
+ icon={<RiFlagLine size="sm" style={{ color: iconColor }} />}
44
53
  label={t('trust.about.how.report') || 'Reporting bugs'}
45
54
  />
46
55
  <BenefitRow
47
- icon={<Icons.RiEditLine size="sm" style={{ color: iconColor }} />}
56
+ icon={<RiEditLine size="sm" style={{ color: iconColor }} />}
48
57
  label={t('trust.about.how.contribute') || 'Contributing content'}
49
58
  />
50
59
  <BenefitRow
51
- icon={<Icons.RiCalendarLine size="sm" style={{ color: iconColor }} />}
60
+ icon={<RiCalendarLine size="sm" style={{ color: iconColor }} />}
52
61
  label={t('trust.about.how.participate') || 'Participating in events'}
53
62
  />
54
63
  <BenefitRow
55
- icon={<Icons.RiSparklingLine size="sm" style={{ color: iconColor }} />}
64
+ icon={<RiSparklingLine size="sm" style={{ color: iconColor }} />}
56
65
  label={t('trust.about.how.other') || 'Other positive actions'}
57
66
  />
58
67
  </BenefitList>
@@ -146,7 +146,7 @@ const TrustLeaderboardScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
146
146
  <Text className="text-text-secondary text-base text-center">
147
147
  {error || t('trust.leaderboard.error') || 'Failed to load leaderboard'}
148
148
  </Text>
149
- <Button variant="primary" onPress={loadLeaderboard}>
149
+ <Button appearance="solid" tone="accent" onPress={loadLeaderboard}>
150
150
  {t('common.retry') || 'Retry'}
151
151
  </Button>
152
152
  </View>
@@ -1,6 +1,7 @@
1
1
  import type React from 'react';
2
2
  import { useEffect, useMemo, useState } from 'react';
3
- import { View, Text } from 'react-native';
3
+ import { View } from 'react-native';
4
+ import { Text } from '@oxy.so/bloom/typography';
4
5
  import { SettingsListGroup, SettingsListItem } from '@oxy.so/bloom/settings-list';
5
6
  import { Chip } from '@oxy.so/bloom/chip';
6
7
  import { useTheme } from '@oxy.so/bloom/theme';
@@ -1,61 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.AnimatedButton = void 0;
7
- var _react = require("react");
8
- var _reactNative = require("react-native");
9
- var _MaterialCommunityIcons = _interopRequireDefault(require("../../icons/MaterialCommunityIcons.js"));
10
- var _jsxRuntime = require("react/jsx-runtime");
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- /**
13
- * Animated button component for smooth selection transitions
14
- * Used in file management views for view mode toggles
15
- */
16
- const AnimatedButton = ({
17
- isSelected,
18
- onPress,
19
- icon,
20
- primaryColor,
21
- textColor,
22
- style,
23
- accessibilityLabel
24
- }) => {
25
- const animatedValue = (0, _react.useRef)(new _reactNative.Animated.Value(isSelected ? 1 : 0)).current;
26
- (0, _react.useEffect)(() => {
27
- _reactNative.Animated.timing(animatedValue, {
28
- toValue: isSelected ? 1 : 0,
29
- duration: 200,
30
- easing: _reactNative.Easing.out(_reactNative.Easing.ease),
31
- useNativeDriver: false
32
- }).start();
33
- }, [isSelected, animatedValue]);
34
- const backgroundColor = animatedValue.interpolate({
35
- inputRange: [0, 1],
36
- outputRange: ['transparent', primaryColor]
37
- });
38
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
39
- onPress: onPress,
40
- activeOpacity: 0.7,
41
- accessibilityRole: "button",
42
- accessibilityLabel: accessibilityLabel,
43
- accessibilityState: {
44
- selected: isSelected
45
- },
46
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
47
- style: [style, {
48
- backgroundColor
49
- }],
50
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
51
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
52
- name: icon,
53
- size: 16,
54
- color: isSelected ? '#FFFFFF' : textColor
55
- })
56
- })
57
- })
58
- });
59
- };
60
- exports.AnimatedButton = AnimatedButton;
61
- //# sourceMappingURL=AnimatedButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","require","_reactNative","_MaterialCommunityIcons","_interopRequireDefault","_jsxRuntime","e","__esModule","default","AnimatedButton","isSelected","onPress","icon","primaryColor","textColor","style","accessibilityLabel","animatedValue","useRef","Animated","Value","current","useEffect","timing","toValue","duration","easing","Easing","out","ease","useNativeDriver","start","backgroundColor","interpolate","inputRange","outputRange","jsx","TouchableOpacity","activeOpacity","accessibilityRole","accessibilityState","selected","children","View","name","size","color","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/AnimatedButton.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAA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,EAAE/B;IAAW,CAAE;IAAAgC,QAAA,eAE7C,IAAArC,WAAA,CAAA+B,GAAA,EAAClC,YAAA,CAAAiB,QAAQ,CAACwB,IAAI;MAAC5B,KAAK,EAAE,CAACA,KAAK,EAAE;QAAEiB;MAAgB,CAAC,CAAE;MAAAU,QAAA,eACjD,IAAArC,WAAA,CAAA+B,GAAA,EAAClC,YAAA,CAAAiB,QAAQ,CAACwB,IAAI;QAAAD,QAAA,eACZ,IAAArC,WAAA,CAAA+B,GAAA,EAACjC,uBAAA,CAAAK,OAAsB;UACrBoC,IAAI,EAAEhC,IAAoE;UAC1EiC,IAAI,EAAE,EAAG;UACTC,KAAK,EAAEpC,UAAU,GAAG,SAAS,GAAGI;QAAU,CAC3C;MAAC,CACW;IAAC,CACH;EAAC,CACA,CAAC;AAEvB,CAAC;AAACiC,OAAA,CAAAtC,cAAA,GAAAA,cAAA","ignoreList":[]}
@@ -1,118 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
8
- var _reactNative = require("react-native");
9
- var _theme = require("@oxy.so/bloom/theme");
10
- var _jsxRuntime = require("react/jsx-runtime");
11
- 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); }
12
- const PinInput = /*#__PURE__*/(0, _react.forwardRef)(({
13
- value,
14
- onChange,
15
- length = 6,
16
- disabled,
17
- autoFocus,
18
- colors
19
- }, ref) => {
20
- const theme = (0, _theme.useTheme)();
21
- const inputs = (0, _react.useRef)([]);
22
- (0, _react.useImperativeHandle)(ref, () => ({
23
- focus: () => {
24
- inputs.current[0]?.focus();
25
- }
26
- }), []);
27
- const handleChange = (text, idx) => {
28
- if (!/^[0-9]*$/.test(text)) return;
29
- let newValue = value.split('');
30
- if (text.length > 1) {
31
- // Paste or autofill
32
- newValue = text.split('').slice(0, length);
33
- onChange(newValue.join(''));
34
- if (newValue.length < length) {
35
- inputs.current[newValue.length]?.focus();
36
- }
37
- return;
38
- }
39
- newValue[idx] = text;
40
- const joined = newValue.join('').slice(0, length);
41
- onChange(joined);
42
- if (text && idx < length - 1) {
43
- inputs.current[idx + 1]?.focus();
44
- }
45
- };
46
- const handleKeyPress = (e, idx) => {
47
- if (e.nativeEvent.key === 'Backspace' && !value[idx] && idx > 0) {
48
- inputs.current[idx - 1]?.focus();
49
- }
50
- };
51
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
52
- style: styles.pinContainer,
53
- children: Array.from({
54
- length
55
- }).map((_, idx) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput
56
- // biome-ignore lint/suspicious/noArrayIndexKey: fixed-position PIN cells, order never changes
57
- , {
58
- ref: ref => {
59
- inputs.current[idx] = ref;
60
- },
61
- style: [styles.pinInput, {
62
- borderColor: colors.primary,
63
- color: colors.text,
64
- backgroundColor: colors.inputBackground || theme.colors.backgroundSecondary
65
- }, value[idx] ? {
66
- borderWidth: 2
67
- } : {
68
- borderWidth: 1
69
- }],
70
- value: value[idx] || '',
71
- onChangeText: text => handleChange(text, idx),
72
- onKeyPress: e => handleKeyPress(e, idx),
73
- keyboardType: _reactNative.Platform.OS === 'ios' ? 'number-pad' : 'numeric',
74
- maxLength: 1,
75
- editable: !disabled,
76
- autoFocus: autoFocus && idx === 0,
77
- textAlign: "center",
78
- selectionColor: colors.primary,
79
- returnKeyType: "done"
80
- }, `pin-input-${idx}`))
81
- });
82
- });
83
- const styles = _reactNative.StyleSheet.create({
84
- pinContainer: {
85
- flexDirection: 'row',
86
- justifyContent: 'center',
87
- gap: 12,
88
- marginBottom: 0,
89
- marginTop: 0
90
- },
91
- pinInput: {
92
- width: 44,
93
- height: 54,
94
- borderRadius: 12,
95
- borderWidth: 1,
96
- fontSize: 28,
97
- fontWeight: '600',
98
- textAlign: 'center',
99
- marginHorizontal: 2,
100
- ..._reactNative.Platform.select({
101
- web: {
102
- boxShadow: '0 1px 4px rgba(0,0,0,0.04)'
103
- },
104
- default: {
105
- shadowColor: '#000',
106
- shadowOpacity: 0.04,
107
- shadowOffset: {
108
- width: 0,
109
- height: 1
110
- },
111
- shadowRadius: 4,
112
- elevation: 1
113
- }
114
- })
115
- }
116
- });
117
- var _default = exports.default = PinInput;
118
- //# sourceMappingURL=PinInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_theme","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","PinInput","forwardRef","value","onChange","length","disabled","autoFocus","colors","ref","theme","useTheme","inputs","useRef","useImperativeHandle","focus","current","handleChange","text","idx","test","newValue","split","slice","join","joined","handleKeyPress","nativeEvent","key","jsx","View","style","styles","pinContainer","children","Array","from","map","_","TextInput","pinInput","borderColor","primary","color","backgroundColor","inputBackground","backgroundSecondary","borderWidth","onChangeText","onKeyPress","keyboardType","Platform","OS","maxLength","editable","textAlign","selectionColor","returnKeyType","StyleSheet","create","flexDirection","justifyContent","gap","marginBottom","marginTop","width","height","borderRadius","fontSize","fontWeight","marginHorizontal","select","web","boxShadow","shadowColor","shadowOpacity","shadowOffset","shadowRadius","elevation","_default","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/internal/PinInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA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,YAAY,GAAG,SAAU;MAC/DC,SAAS,EAAE,CAAE;MACbC,QAAQ,EAAE,CAAChD,QAAS;MACpBC,SAAS,EAAEA,SAAS,IAAIY,GAAG,KAAK,CAAE;MAClCoC,SAAS,EAAC,QAAQ;MAClBC,cAAc,EAAEhD,MAAM,CAACkC,OAAQ;MAC/Be,aAAa,EAAC;IAAM,GAhBf,aAAatC,GAAG,EAiBxB,CACJ;EAAC,CACA,CAAC;AAEf,CAAC,CAAC;AAEF,MAAMa,MAAM,GAAG0B,uBAAU,CAACC,MAAM,CAAC;EAC7B1B,YAAY,EAAE;IACV2B,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,QAAQ;IACxBC,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE;EACf,CAAC;EACDxB,QAAQ,EAAE;IACNyB,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,YAAY,EAAE,EAAE;IAChBpB,WAAW,EAAE,CAAC;IACdqB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBd,SAAS,EAAE,QAAQ;IACnBe,gBAAgB,EAAE,CAAC;IACnB,GAAGnB,qBAAQ,CAACoB,MAAM,CAAC;MACfC,GAAG,EAAE;QACDC,SAAS,EAAE;MACf,CAAC;MACDjF,OAAO,EAAE;QACLkF,WAAW,EAAE,MAAM;QACnBC,aAAa,EAAE,IAAI;QACnBC,YAAY,EAAE;UAAEX,KAAK,EAAE,CAAC;UAAEC,MAAM,EAAE;QAAE,CAAC;QACrCW,YAAY,EAAE,CAAC;QACfC,SAAS,EAAE;MACf;IACJ,CAAC;EACL;AACJ,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAxF,OAAA,GAEYS,QAAQ","ignoreList":[]}
@@ -1,55 +0,0 @@
1
- "use strict";
2
-
3
- import { useEffect, useRef } from 'react';
4
- import { TouchableOpacity, Animated, Easing } from 'react-native';
5
- import MaterialCommunityIcons from "../../icons/MaterialCommunityIcons.js";
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- /**
8
- * Animated button component for smooth selection transitions
9
- * Used in file management views for view mode toggles
10
- */
11
- export const AnimatedButton = ({
12
- isSelected,
13
- onPress,
14
- icon,
15
- primaryColor,
16
- textColor,
17
- style,
18
- accessibilityLabel
19
- }) => {
20
- const animatedValue = useRef(new Animated.Value(isSelected ? 1 : 0)).current;
21
- useEffect(() => {
22
- Animated.timing(animatedValue, {
23
- toValue: isSelected ? 1 : 0,
24
- duration: 200,
25
- easing: Easing.out(Easing.ease),
26
- useNativeDriver: false
27
- }).start();
28
- }, [isSelected, animatedValue]);
29
- const backgroundColor = animatedValue.interpolate({
30
- inputRange: [0, 1],
31
- outputRange: ['transparent', primaryColor]
32
- });
33
- return /*#__PURE__*/_jsx(TouchableOpacity, {
34
- onPress: onPress,
35
- activeOpacity: 0.7,
36
- accessibilityRole: "button",
37
- accessibilityLabel: accessibilityLabel,
38
- accessibilityState: {
39
- selected: isSelected
40
- },
41
- children: /*#__PURE__*/_jsx(Animated.View, {
42
- style: [style, {
43
- backgroundColor
44
- }],
45
- children: /*#__PURE__*/_jsx(Animated.View, {
46
- children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
47
- name: icon,
48
- size: 16,
49
- color: isSelected ? '#FFFFFF' : textColor
50
- })
51
- })
52
- })
53
- });
54
- };
55
- //# sourceMappingURL=AnimatedButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useEffect","useRef","TouchableOpacity","Animated","Easing","MaterialCommunityIcons","jsx","_jsx","AnimatedButton","isSelected","onPress","icon","primaryColor","textColor","style","accessibilityLabel","animatedValue","Value","current","timing","toValue","duration","easing","out","ease","useNativeDriver","start","backgroundColor","interpolate","inputRange","outputRange","activeOpacity","accessibilityRole","accessibilityState","selected","children","View","name","size","color"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/AnimatedButton.tsx"],"mappings":";;AACA,SAASA,SAAS,EAAEC,MAAM,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AE;QAAEa;MAAgB,CAAC,CAAE;MAAAQ,QAAA,eACjD5B,IAAA,CAACJ,QAAQ,CAACiC,IAAI;QAAAD,QAAA,eACZ5B,IAAA,CAACF,sBAAsB;UACrBgC,IAAI,EAAE1B,IAAoE;UAC1E2B,IAAI,EAAE,EAAG;UACTC,KAAK,EAAE9B,UAAU,GAAG,SAAS,GAAGI;QAAU,CAC3C;MAAC,CACW;IAAC,CACH;EAAC,CACA,CAAC;AAEvB,CAAC","ignoreList":[]}
@@ -1,113 +0,0 @@
1
- "use strict";
2
-
3
- import React, { useRef, forwardRef, useImperativeHandle } from 'react';
4
- import { View, TextInput, StyleSheet, Platform } from 'react-native';
5
- import { useTheme } from '@oxy.so/bloom/theme';
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- const PinInput = /*#__PURE__*/forwardRef(({
8
- value,
9
- onChange,
10
- length = 6,
11
- disabled,
12
- autoFocus,
13
- colors
14
- }, ref) => {
15
- const theme = useTheme();
16
- const inputs = useRef([]);
17
- useImperativeHandle(ref, () => ({
18
- focus: () => {
19
- inputs.current[0]?.focus();
20
- }
21
- }), []);
22
- const handleChange = (text, idx) => {
23
- if (!/^[0-9]*$/.test(text)) return;
24
- let newValue = value.split('');
25
- if (text.length > 1) {
26
- // Paste or autofill
27
- newValue = text.split('').slice(0, length);
28
- onChange(newValue.join(''));
29
- if (newValue.length < length) {
30
- inputs.current[newValue.length]?.focus();
31
- }
32
- return;
33
- }
34
- newValue[idx] = text;
35
- const joined = newValue.join('').slice(0, length);
36
- onChange(joined);
37
- if (text && idx < length - 1) {
38
- inputs.current[idx + 1]?.focus();
39
- }
40
- };
41
- const handleKeyPress = (e, idx) => {
42
- if (e.nativeEvent.key === 'Backspace' && !value[idx] && idx > 0) {
43
- inputs.current[idx - 1]?.focus();
44
- }
45
- };
46
- return /*#__PURE__*/_jsx(View, {
47
- style: styles.pinContainer,
48
- children: Array.from({
49
- length
50
- }).map((_, idx) => /*#__PURE__*/_jsx(TextInput
51
- // biome-ignore lint/suspicious/noArrayIndexKey: fixed-position PIN cells, order never changes
52
- , {
53
- ref: ref => {
54
- inputs.current[idx] = ref;
55
- },
56
- style: [styles.pinInput, {
57
- borderColor: colors.primary,
58
- color: colors.text,
59
- backgroundColor: colors.inputBackground || theme.colors.backgroundSecondary
60
- }, value[idx] ? {
61
- borderWidth: 2
62
- } : {
63
- borderWidth: 1
64
- }],
65
- value: value[idx] || '',
66
- onChangeText: text => handleChange(text, idx),
67
- onKeyPress: e => handleKeyPress(e, idx),
68
- keyboardType: Platform.OS === 'ios' ? 'number-pad' : 'numeric',
69
- maxLength: 1,
70
- editable: !disabled,
71
- autoFocus: autoFocus && idx === 0,
72
- textAlign: "center",
73
- selectionColor: colors.primary,
74
- returnKeyType: "done"
75
- }, `pin-input-${idx}`))
76
- });
77
- });
78
- const styles = StyleSheet.create({
79
- pinContainer: {
80
- flexDirection: 'row',
81
- justifyContent: 'center',
82
- gap: 12,
83
- marginBottom: 0,
84
- marginTop: 0
85
- },
86
- pinInput: {
87
- width: 44,
88
- height: 54,
89
- borderRadius: 12,
90
- borderWidth: 1,
91
- fontSize: 28,
92
- fontWeight: '600',
93
- textAlign: 'center',
94
- marginHorizontal: 2,
95
- ...Platform.select({
96
- web: {
97
- boxShadow: '0 1px 4px rgba(0,0,0,0.04)'
98
- },
99
- default: {
100
- shadowColor: '#000',
101
- shadowOpacity: 0.04,
102
- shadowOffset: {
103
- width: 0,
104
- height: 1
105
- },
106
- shadowRadius: 4,
107
- elevation: 1
108
- }
109
- })
110
- }
111
- });
112
- export default PinInput;
113
- //# sourceMappingURL=PinInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useRef","forwardRef","useImperativeHandle","View","TextInput","StyleSheet","Platform","useTheme","jsx","_jsx","PinInput","value","onChange","length","disabled","autoFocus","colors","ref","theme","inputs","focus","current","handleChange","text","idx","test","newValue","split","slice","join","joined","handleKeyPress","e","nativeEvent","key","style","styles","pinContainer","children","Array","from","map","_","pinInput","borderColor","primary","color","backgroundColor","inputBackground","backgroundSecondary","borderWidth","onChangeText","onKeyPress","keyboardType","OS","maxLength","editable","textAlign","selectionColor","returnKeyType","create","flexDirection","justifyContent","gap","marginBottom","marginTop","width","height","borderRadius","fontSize","fontWeight","marginHorizontal","select","web","boxShadow","default","shadowColor","shadowOpacity","shadowOffset","shadowRadius","elevation"],"sourceRoot":"../../../../../src","sources":["ui/components/internal/PinInput.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,UAAU,EAAEC,mBAAmB,QAAQ,OAAO;AACtE,SAASC,IAAI,EAAEC,SAAS,EAAEC,UAAU,EAAEC,QAAQ,QAAoE,cAAc;AAChI,SAASC,QAAQ,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAwB/C,MAAMC,QAAQ,gBAAGT,UAAU,CAAgC,CAAC;EAAEU,KAAK;EAAEC,QAAQ;EAAEC,MAAM,GAAG,CAAC;EAAEC,QAAQ;EAAEC,SAAS;EAAEC;AAAO,CAAC,EAAEC,GAAG,KAAK;EAC9H,MAAMC,KAAK,GAAGX,QAAQ,CAAC,CAAC;EACxB,MAAMY,MAAM,GAAGnB,MAAM,CAA0B,EAAE,CAAC;EAElDE,mBAAmB,CAACe,GAAG,EAAE,OAAO;IAC5BG,KAAK,EAAEA,CAAA,KAAM;MACTD,MAAM,CAACE,OAAO,CAAC,CAAC,CAAC,EAAED,KAAK,CAAC,CAAC;IAC9B;EACJ,CAAC,CAAC,EAAE,EAAE,CAAC;EAEP,MAAME,YAAY,GAAGA,CAACC,IAAY,EAAEC,GAAW,KAAK;IAChD,IAAI,CAAC,UAAU,CAACC,IAAI,CAACF,IAAI,CAAC,EAAE;IAC5B,IAAIG,QAAQ,GAAGf,KAAK,CAACgB,KAAK,CAAC,EAAE,CAAC;IAC9B,IAAIJ,IAAI,CAACV,MAAM,GAAG,CAAC,EAAE;MACjB;MACAa,QAAQ,GAAGH,IAAI,CAACI,KAAK,CAAC,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,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBb,SAAS,EAAE,QAAQ;IACnBc,gBAAgB,EAAE,CAAC;IACnB,GAAGjE,QAAQ,CAACkE,MAAM,CAAC;MACfC,GAAG,EAAE;QACDC,SAAS,EAAE;MACf,CAAC;MACDC,OAAO,EAAE;QACLC,WAAW,EAAE,MAAM;QACnBC,aAAa,EAAE,IAAI;QACnBC,YAAY,EAAE;UAAEZ,KAAK,EAAE,CAAC;UAAEC,MAAM,EAAE;QAAE,CAAC;QACrCY,YAAY,EAAE,CAAC;QACfC,SAAS,EAAE;MACf;IACJ,CAAC;EACL;AACJ,CAAC,CAAC;AAEF,eAAetE,QAAQ","ignoreList":[]}
@@ -1,17 +0,0 @@
1
- import type React from 'react';
2
- interface AnimatedButtonProps {
3
- isSelected: boolean;
4
- onPress: () => void;
5
- icon: string;
6
- primaryColor: string;
7
- textColor: string;
8
- style: Record<string, unknown>;
9
- accessibilityLabel: string;
10
- }
11
- /**
12
- * Animated button component for smooth selection transitions
13
- * Used in file management views for view mode toggles
14
- */
15
- export declare const AnimatedButton: React.FC<AnimatedButtonProps>;
16
- export {};
17
- //# sourceMappingURL=AnimatedButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnimatedButton.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/fileManagement/AnimatedButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,UAAU,mBAAmB;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4CxD,CAAC"}
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- interface PinInputColors {
3
- primary: string;
4
- secondary?: string;
5
- background: string;
6
- inputBackground: string;
7
- text: string;
8
- border: string;
9
- }
10
- export interface PinInputProps {
11
- value: string;
12
- onChange: (val: string) => void;
13
- length?: number;
14
- disabled?: boolean;
15
- autoFocus?: boolean;
16
- colors: PinInputColors;
17
- }
18
- export interface PinInputHandle {
19
- focus: () => void;
20
- }
21
- declare const PinInput: React.ForwardRefExoticComponent<PinInputProps & React.RefAttributes<PinInputHandle>>;
22
- export default PinInput;
23
- //# sourceMappingURL=PinInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/internal/PinInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAIvE,UAAU,cAAc;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,QAAQ,sFA8DZ,CAAC;AAkCH,eAAe,QAAQ,CAAC"}
@@ -1,17 +0,0 @@
1
- import type React from 'react';
2
- interface AnimatedButtonProps {
3
- isSelected: boolean;
4
- onPress: () => void;
5
- icon: string;
6
- primaryColor: string;
7
- textColor: string;
8
- style: Record<string, unknown>;
9
- accessibilityLabel: string;
10
- }
11
- /**
12
- * Animated button component for smooth selection transitions
13
- * Used in file management views for view mode toggles
14
- */
15
- export declare const AnimatedButton: React.FC<AnimatedButtonProps>;
16
- export {};
17
- //# sourceMappingURL=AnimatedButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnimatedButton.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/fileManagement/AnimatedButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,UAAU,mBAAmB;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4CxD,CAAC"}
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- interface PinInputColors {
3
- primary: string;
4
- secondary?: string;
5
- background: string;
6
- inputBackground: string;
7
- text: string;
8
- border: string;
9
- }
10
- export interface PinInputProps {
11
- value: string;
12
- onChange: (val: string) => void;
13
- length?: number;
14
- disabled?: boolean;
15
- autoFocus?: boolean;
16
- colors: PinInputColors;
17
- }
18
- export interface PinInputHandle {
19
- focus: () => void;
20
- }
21
- declare const PinInput: React.ForwardRefExoticComponent<PinInputProps & React.RefAttributes<PinInputHandle>>;
22
- export default PinInput;
23
- //# sourceMappingURL=PinInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/internal/PinInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAIvE,UAAU,cAAc;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,QAAQ,sFA8DZ,CAAC;AAkCH,eAAe,QAAQ,CAAC"}
@@ -1,64 +0,0 @@
1
- import type React from 'react';
2
- import { useEffect, useRef } from 'react';
3
- import { TouchableOpacity, Animated, Easing } from 'react-native';
4
- import MaterialCommunityIcons from '../../icons/MaterialCommunityIcons';
5
-
6
- interface AnimatedButtonProps {
7
- isSelected: boolean;
8
- onPress: () => void;
9
- icon: string;
10
- primaryColor: string;
11
- textColor: string;
12
- style: Record<string, unknown>;
13
- accessibilityLabel: string;
14
- }
15
-
16
- /**
17
- * Animated button component for smooth selection transitions
18
- * Used in file management views for view mode toggles
19
- */
20
- export const AnimatedButton: React.FC<AnimatedButtonProps> = ({
21
- isSelected,
22
- onPress,
23
- icon,
24
- primaryColor,
25
- textColor,
26
- style,
27
- accessibilityLabel,
28
- }) => {
29
- const animatedValue = useRef(new Animated.Value(isSelected ? 1 : 0)).current;
30
-
31
- useEffect(() => {
32
- Animated.timing(animatedValue, {
33
- toValue: isSelected ? 1 : 0,
34
- duration: 200,
35
- easing: Easing.out(Easing.ease),
36
- useNativeDriver: false,
37
- }).start();
38
- }, [isSelected, animatedValue]);
39
-
40
- const backgroundColor = animatedValue.interpolate({
41
- inputRange: [0, 1],
42
- outputRange: ['transparent', primaryColor],
43
- });
44
-
45
- return (
46
- <TouchableOpacity
47
- onPress={onPress}
48
- activeOpacity={0.7}
49
- accessibilityRole="button"
50
- accessibilityLabel={accessibilityLabel}
51
- accessibilityState={{ selected: isSelected }}
52
- >
53
- <Animated.View style={[style, { backgroundColor }]}>
54
- <Animated.View>
55
- <MaterialCommunityIcons
56
- name={icon as React.ComponentProps<typeof MaterialCommunityIcons>['name']}
57
- size={16}
58
- color={isSelected ? '#FFFFFF' : textColor}
59
- />
60
- </Animated.View>
61
- </Animated.View>
62
- </TouchableOpacity>
63
- );
64
- };