@oxy.so/services 3.1.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 (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 +67 -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 +70 -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 +30 -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,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,M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K,EAAE;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,C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AAQ,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
- };
@@ -1,123 +0,0 @@
1
- import React, { useRef, forwardRef, useImperativeHandle } from 'react';
2
- import { View, TextInput, StyleSheet, Platform, type NativeSyntheticEvent, type TextInputKeyPressEventData } from 'react-native';
3
- import { useTheme } from '@oxy.so/bloom/theme';
4
-
5
- interface PinInputColors {
6
- primary: string;
7
- secondary?: string;
8
- background: string;
9
- inputBackground: string;
10
- text: string;
11
- border: string;
12
- }
13
-
14
- export interface PinInputProps {
15
- value: string;
16
- onChange: (val: string) => void;
17
- length?: number;
18
- disabled?: boolean;
19
- autoFocus?: boolean;
20
- colors: PinInputColors;
21
- }
22
-
23
- export interface PinInputHandle {
24
- focus: () => void;
25
- }
26
-
27
- const PinInput = forwardRef<PinInputHandle, PinInputProps>(({ value, onChange, length = 6, disabled, autoFocus, colors }, ref) => {
28
- const theme = useTheme();
29
- const inputs = useRef<Array<TextInput | null>>([]);
30
-
31
- useImperativeHandle(ref, () => ({
32
- focus: () => {
33
- inputs.current[0]?.focus();
34
- }
35
- }), []);
36
-
37
- const handleChange = (text: string, idx: number) => {
38
- if (!/^[0-9]*$/.test(text)) return;
39
- let newValue = value.split('');
40
- if (text.length > 1) {
41
- // Paste or autofill
42
- newValue = text.split('').slice(0, length);
43
- onChange(newValue.join(''));
44
- if (newValue.length < length) {
45
- inputs.current[newValue.length]?.focus();
46
- }
47
- return;
48
- }
49
- newValue[idx] = text;
50
- const joined = newValue.join('').slice(0, length);
51
- onChange(joined);
52
- if (text && idx < length - 1) {
53
- inputs.current[idx + 1]?.focus();
54
- }
55
- };
56
-
57
- const handleKeyPress = (e: NativeSyntheticEvent<TextInputKeyPressEventData>, idx: number) => {
58
- if (e.nativeEvent.key === 'Backspace' && !value[idx] && idx > 0) {
59
- inputs.current[idx - 1]?.focus();
60
- }
61
- };
62
-
63
- return (
64
- <View style={styles.pinContainer}>
65
- {Array.from({ length }).map((_, idx) => (
66
- <TextInput
67
- // biome-ignore lint/suspicious/noArrayIndexKey: fixed-position PIN cells, order never changes
68
- key={`pin-input-${idx}`}
69
- ref={(ref) => { inputs.current[idx] = ref; }}
70
- style={[
71
- styles.pinInput,
72
- { borderColor: colors.primary, color: colors.text, backgroundColor: colors.inputBackground || theme.colors.backgroundSecondary },
73
- value[idx] ? { borderWidth: 2 } : { borderWidth: 1 },
74
- ]}
75
- value={value[idx] || ''}
76
- onChangeText={text => handleChange(text, idx)}
77
- onKeyPress={e => handleKeyPress(e, idx)}
78
- keyboardType={Platform.OS === 'ios' ? 'number-pad' : 'numeric'}
79
- maxLength={1}
80
- editable={!disabled}
81
- autoFocus={autoFocus && idx === 0}
82
- textAlign="center"
83
- selectionColor={colors.primary}
84
- returnKeyType="done"
85
- />
86
- ))}
87
- </View>
88
- );
89
- });
90
-
91
- const styles = StyleSheet.create({
92
- pinContainer: {
93
- flexDirection: 'row',
94
- justifyContent: 'center',
95
- gap: 12,
96
- marginBottom: 0,
97
- marginTop: 0,
98
- },
99
- pinInput: {
100
- width: 44,
101
- height: 54,
102
- borderRadius: 12,
103
- borderWidth: 1,
104
- fontSize: 28,
105
- fontWeight: '600',
106
- textAlign: 'center',
107
- marginHorizontal: 2,
108
- ...Platform.select({
109
- web: {
110
- boxShadow: '0 1px 4px rgba(0,0,0,0.04)',
111
- },
112
- default: {
113
- shadowColor: '#000',
114
- shadowOpacity: 0.04,
115
- shadowOffset: { width: 0, height: 1 },
116
- shadowRadius: 4,
117
- elevation: 1,
118
- }
119
- }),
120
- },
121
- });
122
-
123
- export default PinInput;