@oxyhq/services 6.9.32 → 6.9.34

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 (352) hide show
  1. package/lib/commonjs/ui/components/Avatar.js +5 -3
  2. package/lib/commonjs/ui/components/Avatar.js.map +1 -1
  3. package/lib/commonjs/ui/components/BottomSheet.js +2 -2
  4. package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
  5. package/lib/commonjs/ui/components/BottomSheetRouter.js +3 -4
  6. package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
  7. package/lib/commonjs/ui/components/FollowButton.js +13 -65
  8. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  9. package/lib/commonjs/ui/components/GroupedItem.js +12 -18
  10. package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
  11. package/lib/commonjs/ui/components/Header.js +11 -18
  12. package/lib/commonjs/ui/components/Header.js.map +1 -1
  13. package/lib/commonjs/ui/components/HelperText.js +6 -14
  14. package/lib/commonjs/ui/components/HelperText.js.map +1 -1
  15. package/lib/commonjs/ui/components/OxyLogo.js +4 -2
  16. package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
  17. package/lib/commonjs/ui/components/ProfileCard.js +13 -20
  18. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
  19. package/lib/commonjs/ui/components/QuickActions.js +9 -13
  20. package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
  21. package/lib/commonjs/ui/components/SectionTitle.js +2 -8
  22. package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
  23. package/lib/commonjs/ui/components/SignInModal.js +10 -16
  24. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  25. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +6 -4
  26. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
  27. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +6 -4
  28. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +1 -1
  29. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +36 -51
  30. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  31. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +68 -82
  32. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  33. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +35 -48
  34. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  35. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +22 -34
  36. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  37. package/lib/commonjs/ui/components/theming.js +14 -1
  38. package/lib/commonjs/ui/components/theming.js.map +1 -1
  39. package/lib/commonjs/ui/screens/AccountCenterScreen.js +15 -27
  40. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  41. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +44 -49
  42. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  43. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +22 -29
  44. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  45. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +2 -25
  46. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  47. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +20 -40
  48. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  49. package/lib/commonjs/ui/screens/AppInfoScreen.js +28 -24
  50. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  51. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +25 -29
  52. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  53. package/lib/commonjs/ui/screens/FAQScreen.js +26 -27
  54. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
  55. package/lib/commonjs/ui/screens/FeedbackScreen.js +70 -108
  56. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  57. package/lib/commonjs/ui/screens/FileManagementScreen.js +106 -119
  58. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  59. package/lib/commonjs/ui/screens/HelpSupportScreen.js +13 -10
  60. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  61. package/lib/commonjs/ui/screens/HistoryViewScreen.js +13 -10
  62. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  63. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +9 -13
  64. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  65. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +19 -20
  66. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  67. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +16 -14
  68. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  69. package/lib/commonjs/ui/screens/OxyAuthScreen.js +33 -60
  70. package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
  71. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -5
  72. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  73. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +10 -16
  74. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  75. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +65 -69
  76. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  77. package/lib/commonjs/ui/screens/ProfileScreen.js +79 -110
  78. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  79. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +16 -13
  80. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  81. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +13 -17
  82. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  83. package/lib/commonjs/ui/screens/SessionManagementScreen.js +17 -30
  84. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
  85. package/lib/commonjs/ui/screens/UserLinksScreen.js +6 -12
  86. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  87. package/lib/commonjs/ui/screens/UserListScreen.js +41 -35
  88. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  89. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +15 -14
  90. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  91. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +7 -12
  92. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  93. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +25 -23
  94. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  95. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +9 -17
  96. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  97. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +6 -11
  98. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  99. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +18 -22
  100. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  101. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +6 -11
  102. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  103. package/lib/module/ui/components/Avatar.js +5 -3
  104. package/lib/module/ui/components/Avatar.js.map +1 -1
  105. package/lib/module/ui/components/BottomSheet.js +2 -2
  106. package/lib/module/ui/components/BottomSheet.js.map +1 -1
  107. package/lib/module/ui/components/BottomSheetRouter.js +3 -4
  108. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
  109. package/lib/module/ui/components/FollowButton.js +12 -64
  110. package/lib/module/ui/components/FollowButton.js.map +1 -1
  111. package/lib/module/ui/components/GroupedItem.js +12 -18
  112. package/lib/module/ui/components/GroupedItem.js.map +1 -1
  113. package/lib/module/ui/components/Header.js +11 -18
  114. package/lib/module/ui/components/Header.js.map +1 -1
  115. package/lib/module/ui/components/HelperText.js +6 -15
  116. package/lib/module/ui/components/HelperText.js.map +1 -1
  117. package/lib/module/ui/components/OxyLogo.js +4 -2
  118. package/lib/module/ui/components/OxyLogo.js.map +1 -1
  119. package/lib/module/ui/components/ProfileCard.js +13 -20
  120. package/lib/module/ui/components/ProfileCard.js.map +1 -1
  121. package/lib/module/ui/components/QuickActions.js +9 -13
  122. package/lib/module/ui/components/QuickActions.js.map +1 -1
  123. package/lib/module/ui/components/SectionTitle.js +2 -8
  124. package/lib/module/ui/components/SectionTitle.js.map +1 -1
  125. package/lib/module/ui/components/SignInModal.js +10 -16
  126. package/lib/module/ui/components/SignInModal.js.map +1 -1
  127. package/lib/module/ui/components/TextField/TextFieldFlat.js +6 -4
  128. package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
  129. package/lib/module/ui/components/TextField/TextFieldOutlined.js +6 -4
  130. package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
  131. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +36 -51
  132. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  133. package/lib/module/ui/components/fileManagement/FileViewer.js +68 -82
  134. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  135. package/lib/module/ui/components/fileManagement/UploadPreview.js +35 -48
  136. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  137. package/lib/module/ui/components/modals/DeleteAccountModal.js +22 -34
  138. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  139. package/lib/module/ui/components/theming.js +15 -2
  140. package/lib/module/ui/components/theming.js.map +1 -1
  141. package/lib/module/ui/screens/AccountCenterScreen.js +14 -26
  142. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  143. package/lib/module/ui/screens/AccountOverviewScreen.js +45 -50
  144. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  145. package/lib/module/ui/screens/AccountSettingsScreen.js +21 -28
  146. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  147. package/lib/module/ui/screens/AccountSwitcherScreen.js +2 -25
  148. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
  149. package/lib/module/ui/screens/AccountVerificationScreen.js +21 -41
  150. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  151. package/lib/module/ui/screens/AppInfoScreen.js +28 -24
  152. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  153. package/lib/module/ui/screens/EditProfileFieldScreen.js +25 -29
  154. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  155. package/lib/module/ui/screens/FAQScreen.js +26 -27
  156. package/lib/module/ui/screens/FAQScreen.js.map +1 -1
  157. package/lib/module/ui/screens/FeedbackScreen.js +70 -108
  158. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  159. package/lib/module/ui/screens/FileManagementScreen.js +106 -119
  160. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  161. package/lib/module/ui/screens/HelpSupportScreen.js +13 -10
  162. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  163. package/lib/module/ui/screens/HistoryViewScreen.js +13 -10
  164. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  165. package/lib/module/ui/screens/LanguageSelectorScreen.js +9 -13
  166. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  167. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +19 -20
  168. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  169. package/lib/module/ui/screens/LegalDocumentsScreen.js +16 -14
  170. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  171. package/lib/module/ui/screens/OxyAuthScreen.js +33 -60
  172. package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
  173. package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -5
  174. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  175. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +10 -16
  176. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  177. package/lib/module/ui/screens/PrivacySettingsScreen.js +65 -69
  178. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  179. package/lib/module/ui/screens/ProfileScreen.js +77 -108
  180. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  181. package/lib/module/ui/screens/SavesCollectionsScreen.js +16 -13
  182. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  183. package/lib/module/ui/screens/SearchSettingsScreen.js +13 -17
  184. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  185. package/lib/module/ui/screens/SessionManagementScreen.js +17 -30
  186. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  187. package/lib/module/ui/screens/UserLinksScreen.js +6 -12
  188. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  189. package/lib/module/ui/screens/UserListScreen.js +39 -33
  190. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  191. package/lib/module/ui/screens/WelcomeNewUserScreen.js +15 -14
  192. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  193. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +7 -12
  194. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  195. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +25 -23
  196. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  197. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +8 -16
  198. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  199. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +6 -11
  200. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  201. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +17 -21
  202. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  203. package/lib/module/ui/screens/karma/KarmaRulesScreen.js +6 -11
  204. package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  205. package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
  206. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +0 -11
  207. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  208. package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +1 -1
  211. package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/ui/components/QuickActions.d.ts.map +1 -1
  213. package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
  215. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +2 -2
  216. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  217. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +2 -2
  218. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  219. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +2 -2
  220. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  221. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/ui/components/theming.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  225. package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
  228. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  231. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/ui/screens/OxyAuthScreen.d.ts.map +1 -1
  236. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
  252. package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
  253. package/lib/typescript/module/ui/components/FollowButton.d.ts +0 -11
  254. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  255. package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +1 -1
  256. package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
  257. package/lib/typescript/module/ui/components/HelperText.d.ts.map +1 -1
  258. package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +1 -1
  259. package/lib/typescript/module/ui/components/QuickActions.d.ts.map +1 -1
  260. package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +1 -1
  261. package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
  262. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +2 -2
  263. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  264. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +2 -2
  265. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  266. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +2 -2
  267. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  268. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  269. package/lib/typescript/module/ui/components/theming.d.ts.map +1 -1
  270. package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  271. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  272. package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
  273. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  274. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
  275. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  276. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
  277. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  278. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  279. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  280. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  281. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  282. package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts.map +1 -1
  283. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  284. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  285. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  286. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
  287. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  288. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  289. package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  290. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  291. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  292. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  293. package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
  294. package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
  295. package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
  296. package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
  297. package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
  298. package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
  299. package/lib/typescript/nativewind-env.d.ts +1 -0
  300. package/package.json +8 -2
  301. package/src/nativewind-env.d.ts +1 -0
  302. package/src/ui/components/Avatar.tsx +3 -3
  303. package/src/ui/components/BottomSheet.tsx +2 -3
  304. package/src/ui/components/BottomSheetRouter.tsx +2 -2
  305. package/src/ui/components/FollowButton.tsx +14 -50
  306. package/src/ui/components/GroupedItem.tsx +8 -15
  307. package/src/ui/components/Header.tsx +7 -15
  308. package/src/ui/components/HelperText.tsx +4 -15
  309. package/src/ui/components/OxyLogo.tsx +2 -2
  310. package/src/ui/components/ProfileCard.tsx +14 -17
  311. package/src/ui/components/QuickActions.tsx +12 -14
  312. package/src/ui/components/SectionTitle.tsx +1 -7
  313. package/src/ui/components/SignInModal.tsx +4 -6
  314. package/src/ui/components/TextField/TextFieldFlat.tsx +4 -4
  315. package/src/ui/components/TextField/TextFieldOutlined.tsx +4 -4
  316. package/src/ui/components/fileManagement/FileDetailsModal.tsx +23 -22
  317. package/src/ui/components/fileManagement/FileViewer.tsx +57 -45
  318. package/src/ui/components/fileManagement/UploadPreview.tsx +23 -28
  319. package/src/ui/components/modals/DeleteAccountModal.tsx +13 -12
  320. package/src/ui/components/theming.tsx +15 -2
  321. package/src/ui/screens/AccountCenterScreen.tsx +10 -13
  322. package/src/ui/screens/AccountOverviewScreen.tsx +39 -39
  323. package/src/ui/screens/AccountSettingsScreen.tsx +15 -19
  324. package/src/ui/screens/AccountSwitcherScreen.tsx +1 -23
  325. package/src/ui/screens/AccountVerificationScreen.tsx +15 -33
  326. package/src/ui/screens/AppInfoScreen.tsx +28 -24
  327. package/src/ui/screens/EditProfileFieldScreen.tsx +24 -26
  328. package/src/ui/screens/FAQScreen.tsx +23 -23
  329. package/src/ui/screens/FeedbackScreen.tsx +47 -38
  330. package/src/ui/screens/FileManagementScreen.tsx +102 -116
  331. package/src/ui/screens/HelpSupportScreen.tsx +12 -8
  332. package/src/ui/screens/HistoryViewScreen.tsx +12 -8
  333. package/src/ui/screens/LanguageSelectorScreen.tsx +8 -11
  334. package/src/ui/screens/LearnMoreUsernamesScreen.tsx +17 -17
  335. package/src/ui/screens/LegalDocumentsScreen.tsx +14 -10
  336. package/src/ui/screens/OxyAuthScreen.tsx +17 -27
  337. package/src/ui/screens/PaymentGatewayScreen.tsx +1 -3
  338. package/src/ui/screens/PremiumSubscriptionScreen.tsx +10 -7
  339. package/src/ui/screens/PrivacySettingsScreen.tsx +63 -65
  340. package/src/ui/screens/ProfileScreen.tsx +54 -58
  341. package/src/ui/screens/SavesCollectionsScreen.tsx +15 -11
  342. package/src/ui/screens/SearchSettingsScreen.tsx +11 -13
  343. package/src/ui/screens/SessionManagementScreen.tsx +12 -12
  344. package/src/ui/screens/UserLinksScreen.tsx +4 -8
  345. package/src/ui/screens/UserListScreen.tsx +34 -46
  346. package/src/ui/screens/WelcomeNewUserScreen.tsx +11 -6
  347. package/src/ui/screens/karma/KarmaAboutScreen.tsx +6 -10
  348. package/src/ui/screens/karma/KarmaCenterScreen.tsx +23 -19
  349. package/src/ui/screens/karma/KarmaFAQScreen.tsx +7 -14
  350. package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +5 -9
  351. package/src/ui/screens/karma/KarmaRewardsScreen.tsx +15 -17
  352. package/src/ui/screens/karma/KarmaRulesScreen.tsx +5 -9
@@ -6,18 +6,7 @@ import {
6
6
  StyleSheet,
7
7
  type TextStyle,
8
8
  } from 'react-native';
9
- import { useThemeColors } from '../styles';
10
-
11
- // Helper function for text color
12
- const getTextColor = (colors: ReturnType<typeof useThemeColors>, disabled?: boolean, type?: 'error' | 'info') => {
13
- if (type === 'error') {
14
- return colors.error;
15
- }
16
- if (disabled) {
17
- return `${colors.secondaryText}80`; // Add opacity
18
- }
19
- return colors.secondaryText;
20
- };
9
+ import { useTheme } from '@oxyhq/bloom/theme';
21
10
 
22
11
  export type HelperTextProps = {
23
12
  /**
@@ -73,7 +62,7 @@ const HelperText = ({
73
62
  maxFontSizeMultiplier = 1.5,
74
63
  ...rest
75
64
  }: HelperTextProps) => {
76
- const colors = useThemeColors(themeProp);
65
+ const { colors } = useTheme();
77
66
  const { current: shown } = React.useRef<Animated.Value>(
78
67
  new Animated.Value(visible ? 1 : 0)
79
68
  );
@@ -109,9 +98,9 @@ const HelperText = ({
109
98
  return colors.error;
110
99
  }
111
100
  if (disabled) {
112
- return `${colors.secondaryText}80`; // Add opacity
101
+ return `${colors.textSecondary}80`; // Add opacity
113
102
  }
114
- return colors.secondaryText;
103
+ return colors.textSecondary;
115
104
  };
116
105
 
117
106
  const textColor = getTextColor();
@@ -1,7 +1,7 @@
1
1
  import type React from 'react';
2
2
  import Svg, { Circle, Path } from 'react-native-svg';
3
3
  import type { ViewStyle } from 'react-native';
4
- import { useThemeColors } from '../styles/theme';
4
+ import { useTheme } from '@oxyhq/bloom/theme';
5
5
 
6
6
  interface OxyLogoProps {
7
7
  width?: number;
@@ -37,7 +37,7 @@ export const OxyLogo: React.FC<OxyLogoProps> = ({
37
37
  theme = 'light'
38
38
  }) => {
39
39
  // Get colors from theme
40
- const themeColors = useThemeColors(theme);
40
+ const { colors: themeColors } = useTheme();
41
41
 
42
42
  // Use theme primary color if no fillColor is provided
43
43
  const primaryColor = fillColor || themeColors.primary;
@@ -1,13 +1,12 @@
1
1
  import type React from 'react';
2
2
  import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
3
3
  import { Ionicons } from '@expo/vector-icons';
4
+ import { useTheme } from '@oxyhq/bloom/theme';
4
5
  import { useI18n } from '../hooks/useI18n';
5
6
  import Avatar from './Avatar';
6
7
  import { useOxy } from '../context/OxyContext';
7
8
  import { useFileDownloadUrl } from '../hooks';
8
9
  import { fontFamilies } from '../styles/fonts';
9
- import { useThemeStyles } from '../hooks/useThemeStyles';
10
- import { useColorScheme } from '../hooks/useColorScheme';
11
10
 
12
11
  interface ProfileCardProps {
13
12
  user: {
@@ -29,24 +28,22 @@ const ProfileCard: React.FC<ProfileCardProps> = ({
29
28
  onClosePress,
30
29
  showCloseButton = false,
31
30
  }) => {
32
- const colorScheme = useColorScheme();
33
- const themeStyles = useThemeStyles(theme, colorScheme);
31
+ const { colors } = useTheme();
34
32
  const { oxyServices } = useOxy();
35
33
  const { t } = useI18n();
36
- const textColor = themeStyles.textColor;
37
- const secondaryBackgroundColor = themeStyles.secondaryBackgroundColor;
38
- const primaryColor = '#0066CC';
39
34
 
40
35
  const avatarUrl = useFileDownloadUrl(oxyServices, user?.avatar, { variant: 'thumb' }).url || undefined;
41
36
 
42
37
  return (
43
38
  <View style={styles.headerSection}>
44
- <View style={[
45
- styles.profileCard,
46
- styles.firstGroupedItem,
47
- styles.lastGroupedItem,
48
- { backgroundColor: secondaryBackgroundColor }
49
- ]}>
39
+ <View
40
+ className="bg-secondary"
41
+ style={[
42
+ styles.profileCard,
43
+ styles.firstGroupedItem,
44
+ styles.lastGroupedItem,
45
+ ]}
46
+ >
50
47
  <View style={styles.userProfile}>
51
48
  <Avatar
52
49
  uri={user?.avatar ? avatarUrl : undefined}
@@ -55,9 +52,9 @@ const ProfileCard: React.FC<ProfileCardProps> = ({
55
52
  theme={theme}
56
53
  />
57
54
  <View style={styles.userInfo}>
58
- <Text style={[styles.userName, { color: textColor }]}>{user.username}</Text>
55
+ <Text className="text-foreground" style={styles.userName}>{user.username}</Text>
59
56
  {user.email && (
60
- <Text style={[styles.userEmail, { color: themeStyles.isDarkTheme ? '#BBBBBB' : '#666666' }]}>
57
+ <Text className="text-muted-foreground" style={styles.userEmail}>
61
58
  {user.email}
62
59
  </Text>
63
60
  )}
@@ -66,7 +63,7 @@ const ProfileCard: React.FC<ProfileCardProps> = ({
66
63
  style={styles.editProfileButton}
67
64
  onPress={onEditPress}
68
65
  >
69
- <Text style={[styles.editProfileText, { color: primaryColor }]}>
66
+ <Text className="text-primary" style={styles.editProfileText}>
70
67
  {t('editProfile.title') || 'Edit Profile'}
71
68
  </Text>
72
69
  </TouchableOpacity>
@@ -75,7 +72,7 @@ const ProfileCard: React.FC<ProfileCardProps> = ({
75
72
  </View>
76
73
  {showCloseButton && onClosePress && (
77
74
  <TouchableOpacity style={styles.closeButton} onPress={onClosePress}>
78
- <Ionicons name="close" size={24} color={textColor} />
75
+ <Ionicons name="close" size={24} color={colors.text} />
79
76
  </TouchableOpacity>
80
77
  )}
81
78
  </View>
@@ -1,8 +1,7 @@
1
1
  import type React from 'react';
2
2
  import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
3
3
  import { Ionicons } from '@expo/vector-icons';
4
- import { useThemeStyles } from '../hooks/useThemeStyles';
5
- import { useColorScheme } from '../hooks/useColorScheme';
4
+ import { useTheme } from '@oxyhq/bloom/theme';
6
5
 
7
6
  interface QuickAction {
8
7
  id: string;
@@ -18,31 +17,30 @@ interface QuickActionsProps {
18
17
  }
19
18
 
20
19
  const QuickActions: React.FC<QuickActionsProps> = ({ actions, theme }) => {
21
- const colorScheme = useColorScheme();
22
- const themeStyles = useThemeStyles(theme, colorScheme);
23
- const textColor = themeStyles.textColor;
24
- const secondaryBackgroundColor = themeStyles.secondaryBackgroundColor;
20
+ const { isDark } = useTheme();
25
21
 
26
22
  return (
27
- <View style={[
28
- styles.quickActionsContainer,
29
- styles.firstGroupedItem,
30
- styles.lastGroupedItem,
31
- { backgroundColor: secondaryBackgroundColor }
32
- ]}>
23
+ <View
24
+ className="bg-secondary"
25
+ style={[
26
+ styles.quickActionsContainer,
27
+ styles.firstGroupedItem,
28
+ styles.lastGroupedItem,
29
+ ]}
30
+ >
33
31
  <View style={styles.quickActionsRow}>
34
32
  {actions.map((action) => (
35
33
  <View key={action.id} style={styles.quickActionItem}>
36
34
  <TouchableOpacity
37
35
  style={[
38
36
  styles.quickActionCircle,
39
- { backgroundColor: themeStyles.isDarkTheme ? 'rgba(255,255,255,0.08)' : 'rgba(0,0,0,0.03)' }
37
+ { backgroundColor: isDark ? 'rgba(255,255,255,0.08)' : 'rgba(0,0,0,0.03)' }
40
38
  ]}
41
39
  onPress={action.onPress}
42
40
  >
43
41
  <Ionicons name={action.icon as React.ComponentProps<typeof Ionicons>['name']} size={24} color={action.iconColor} />
44
42
  </TouchableOpacity>
45
- <Text style={[styles.quickActionText, { color: textColor }]}>{action.title}</Text>
43
+ <Text className="text-foreground" style={styles.quickActionText}>{action.title}</Text>
46
44
  </View>
47
45
  ))}
48
46
  </View>
@@ -1,9 +1,6 @@
1
1
  import type React from 'react';
2
2
  import { Text, StyleSheet, type StyleProp, type TextStyle } from 'react-native';
3
3
  import { fontFamilies } from '../styles/fonts';
4
- import { useColorScheme } from '../hooks/useColorScheme';
5
- import { normalizeColorScheme } from '../utils/themeUtils';
6
- import { useThemeStyles } from '../hooks/useThemeStyles';
7
4
 
8
5
  interface SectionTitleProps {
9
6
  title: string;
@@ -12,11 +9,8 @@ interface SectionTitleProps {
12
9
  }
13
10
 
14
11
  const SectionTitle: React.FC<SectionTitleProps> = ({ title, theme, style }) => {
15
- const colorScheme = normalizeColorScheme(useColorScheme(), theme);
16
- const themeStyles = useThemeStyles(theme || colorScheme, colorScheme);
17
-
18
12
  return (
19
- <Text style={[styles.sectionTitle, { color: themeStyles.textColor }, style]}>
13
+ <Text className="text-foreground" style={[styles.sectionTitle, style]}>
20
14
  {title}
21
15
  </Text>
22
16
  );
@@ -358,8 +358,8 @@ const SignInModal: React.FC = () => {
358
358
  {/* Header */}
359
359
  <View style={styles.header}>
360
360
  <OxyLogo width={56} height={56} />
361
- <Text style={[styles.title, { color: theme.colors.text }]}>Sign in with Oxy</Text>
362
- <Text style={[styles.subtitle, { color: theme.colors.textSecondary }]}>
361
+ <Text className="text-foreground" style={styles.title}>Sign in with Oxy</Text>
362
+ <Text className="text-muted-foreground" style={styles.subtitle}>
363
363
  Scan with Oxy Accounts app or use the button below
364
364
  </Text>
365
365
  </View>
@@ -367,13 +367,13 @@ const SignInModal: React.FC = () => {
367
367
  {isLoading ? (
368
368
  <View style={styles.loadingContainer}>
369
369
  <Loading size="large" />
370
- <Text style={[styles.loadingText, { color: theme.colors.textSecondary }]}>
370
+ <Text className="text-muted-foreground" style={styles.loadingText}>
371
371
  Preparing sign in...
372
372
  </Text>
373
373
  </View>
374
374
  ) : error ? (
375
375
  <View style={styles.errorContainer}>
376
- <Text style={[styles.errorText, { color: theme.colors.error }]}>{error}</Text>
376
+ <Text className="text-destructive" style={styles.errorText}>{error}</Text>
377
377
  <Button onPress={handleRefresh}>Try Again</Button>
378
378
  </View>
379
379
  ) : (
@@ -462,13 +462,11 @@ const styles = StyleSheet.create({
462
462
  fontSize: 28,
463
463
  fontWeight: 'bold',
464
464
  marginTop: 16,
465
- color: 'white',
466
465
  },
467
466
  subtitle: {
468
467
  fontSize: 15,
469
468
  marginTop: 8,
470
469
  textAlign: 'center',
471
- color: 'rgba(255, 255, 255, 0.7)',
472
470
  },
473
471
  qrContainer: {
474
472
  padding: 20,
@@ -8,7 +8,7 @@ import {
8
8
  View,
9
9
  Animated,
10
10
  } from 'react-native';
11
- import { useThemeColors } from '../../hooks/useThemeColors';
11
+ import { useTheme } from '@oxyhq/bloom/theme';
12
12
 
13
13
  import { Underline } from './Addons/Underline';
14
14
  import { AdornmentSide, AdornmentType, InputMode } from './Adornment/enums';
@@ -158,17 +158,17 @@ const TextInputFlat = ({
158
158
  theme,
159
159
  });
160
160
 
161
- const themeColors = useThemeColors();
161
+ const { colors: bloomColors } = useTheme();
162
162
 
163
163
  const containerStyle = {
164
- backgroundColor: themeColors.inputBackground,
164
+ backgroundColor: bloomColors.backgroundSecondary,
165
165
  borderTopLeftRadius: theme.roundness,
166
166
  borderTopRightRadius: theme.roundness,
167
167
  };
168
168
 
169
169
  // Override text color with theme color (unless custom textColor prop is provided)
170
170
  // If disabled, keep the original inputTextColor which handles opacity correctly
171
- const finalInputTextColor = textColor ?? (disabled ? inputTextColor : themeColors.text);
171
+ const finalInputTextColor = textColor ?? (disabled ? inputTextColor : bloomColors.text);
172
172
 
173
173
  const labelScale = MINIMIZED_LABEL_FONT_SIZE / fontSize;
174
174
  const fontScale = MAXIMIZED_LABEL_FONT_SIZE / fontSize;
@@ -10,7 +10,7 @@ import {
10
10
  type ColorValue,
11
11
  type LayoutChangeEvent,
12
12
  } from 'react-native';
13
- import { useThemeColors } from '../../hooks/useThemeColors';
13
+ import { useTheme } from '@oxyhq/bloom/theme';
14
14
 
15
15
  import { Outline } from './Addons/Outline';
16
16
  import { AdornmentType, AdornmentSide } from './Adornment/enums';
@@ -89,7 +89,7 @@ const TextInputOutlined = ({
89
89
  const { INPUT_PADDING_HORIZONTAL, MIN_HEIGHT, ADORNMENT_OFFSET, MIN_WIDTH } =
90
90
  getConstants(isV3);
91
91
 
92
- const themeColors = useThemeColors();
92
+ const { colors: bloomColors } = useTheme();
93
93
 
94
94
  const {
95
95
  fontSize: fontSizeStyle,
@@ -101,7 +101,7 @@ const TextInputOutlined = ({
101
101
  ...viewStyle
102
102
  } = (StyleSheet.flatten(style) || {}) as TextStyle;
103
103
 
104
- const backgroundColor = styleBackgroundColor ?? themeColors.background;
104
+ const backgroundColor = styleBackgroundColor ?? bloomColors.background;
105
105
  const fontSize = fontSizeStyle || MAXIMIZED_LABEL_FONT_SIZE;
106
106
  // Always set a minimum lineHeight to prevent text cutoff
107
107
  // Use at least 1.4x fontSize for better text spacing
@@ -127,7 +127,7 @@ const TextInputOutlined = ({
127
127
 
128
128
  // Override text color with theme color (unless custom textColor prop is provided)
129
129
  // If disabled, keep the original inputTextColor which handles opacity correctly
130
- const finalInputTextColor = textColor ?? (disabled ? inputTextColor : themeColors.text);
130
+ const finalInputTextColor = textColor ?? (disabled ? inputTextColor : bloomColors.text);
131
131
 
132
132
  const densePaddingTop = label ? LABEL_PADDING_TOP_DENSE : 0;
133
133
  const paddingTop = label ? LABEL_PADDING_TOP : 0;
@@ -1,10 +1,10 @@
1
1
  import type React from 'react';
2
2
  import { View, Text, TouchableOpacity, Modal, ScrollView } from 'react-native';
3
3
  import { Ionicons } from '@expo/vector-icons';
4
+ import { useTheme } from '@oxyhq/bloom/theme';
4
5
  import type { FileMetadata } from '@oxyhq/core';
5
6
  import { formatFileSize, getFileIcon } from '../../utils/fileManagement';
6
7
  import { fileManagementStyles } from './styles';
7
- import type { ThemeStyles } from '../../hooks/useThemeStyles';
8
8
 
9
9
  interface FileDetailsModalProps {
10
10
  visible: boolean;
@@ -12,8 +12,9 @@ interface FileDetailsModalProps {
12
12
  onClose: () => void;
13
13
  onDownload: (fileId: string, filename: string) => void;
14
14
  onDelete: (fileId: string, filename: string) => void;
15
- themeStyles: ThemeStyles;
16
15
  isOwner: boolean;
16
+ /** @deprecated No longer used. Colors are sourced from useTheme() internally. */
17
+ themeStyles?: unknown;
17
18
  }
18
19
 
19
20
  export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
@@ -22,11 +23,9 @@ export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
22
23
  onClose,
23
24
  onDownload,
24
25
  onDelete,
25
- themeStyles,
26
26
  isOwner,
27
27
  }) => {
28
- const backgroundColor = themeStyles.backgroundColor;
29
- const borderColor = themeStyles.borderColor;
28
+ const { colors } = useTheme();
30
29
 
31
30
  if (!file) return null;
32
31
 
@@ -37,66 +36,66 @@ export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
37
36
  presentationStyle="pageSheet"
38
37
  onRequestClose={onClose}
39
38
  >
40
- <View style={[fileManagementStyles.modalContainer, { backgroundColor }]}>
41
- <View style={[fileManagementStyles.modalHeader, { borderBottomColor: borderColor }]}>
39
+ <View className="bg-background" style={fileManagementStyles.modalContainer}>
40
+ <View className="border-b border-border" style={fileManagementStyles.modalHeader}>
42
41
  <TouchableOpacity
43
42
  style={fileManagementStyles.modalCloseButton}
44
43
  onPress={onClose}
45
44
  >
46
- <Ionicons name="close" size={24} color={themeStyles.textColor} />
45
+ <Ionicons name="close" size={24} color={colors.text} />
47
46
  </TouchableOpacity>
48
- <Text style={[fileManagementStyles.modalTitle, { color: themeStyles.textColor }]}>File Details</Text>
47
+ <Text className="text-foreground" style={fileManagementStyles.modalTitle}>File Details</Text>
49
48
  <View style={fileManagementStyles.modalPlaceholder} />
50
49
  </View>
51
50
 
52
51
  <ScrollView style={fileManagementStyles.modalContent}>
53
- <View style={[fileManagementStyles.fileDetailCard, { backgroundColor: themeStyles.secondaryBackgroundColor, borderColor }]}>
52
+ <View className="bg-secondary border-border" style={fileManagementStyles.fileDetailCard}>
54
53
  <View style={fileManagementStyles.fileDetailIcon}>
55
54
  <Ionicons
56
55
  name={getFileIcon(file.contentType) as React.ComponentProps<typeof Ionicons>['name']}
57
56
  size={64}
58
- color={themeStyles.primaryColor}
57
+ color={colors.primary}
59
58
  />
60
59
  </View>
61
60
 
62
- <Text style={[fileManagementStyles.fileDetailName, { color: themeStyles.textColor }]}>
61
+ <Text className="text-foreground" style={fileManagementStyles.fileDetailName}>
63
62
  {file.filename}
64
63
  </Text>
65
64
 
66
65
  <View style={fileManagementStyles.fileDetailInfo}>
67
66
  <View style={fileManagementStyles.detailRow}>
68
- <Text style={[fileManagementStyles.detailLabel, { color: themeStyles.isDarkTheme ? '#BBBBBB' : '#666666' }]}>
67
+ <Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
69
68
  Size:
70
69
  </Text>
71
- <Text style={[fileManagementStyles.detailValue, { color: themeStyles.textColor }]}>
70
+ <Text className="text-foreground" style={fileManagementStyles.detailValue}>
72
71
  {formatFileSize(file.length)}
73
72
  </Text>
74
73
  </View>
75
74
 
76
75
  <View style={fileManagementStyles.detailRow}>
77
- <Text style={[fileManagementStyles.detailLabel, { color: themeStyles.isDarkTheme ? '#BBBBBB' : '#666666' }]}>
76
+ <Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
78
77
  Type:
79
78
  </Text>
80
- <Text style={[fileManagementStyles.detailValue, { color: themeStyles.textColor }]}>
79
+ <Text className="text-foreground" style={fileManagementStyles.detailValue}>
81
80
  {file.contentType}
82
81
  </Text>
83
82
  </View>
84
83
 
85
84
  <View style={fileManagementStyles.detailRow}>
86
- <Text style={[fileManagementStyles.detailLabel, { color: themeStyles.isDarkTheme ? '#BBBBBB' : '#666666' }]}>
85
+ <Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
87
86
  Uploaded:
88
87
  </Text>
89
- <Text style={[fileManagementStyles.detailValue, { color: themeStyles.textColor }]}>
88
+ <Text className="text-foreground" style={fileManagementStyles.detailValue}>
90
89
  {new Date(file.uploadDate).toLocaleString()}
91
90
  </Text>
92
91
  </View>
93
92
 
94
93
  {file.metadata?.description && (
95
94
  <View style={fileManagementStyles.detailRow}>
96
- <Text style={[fileManagementStyles.detailLabel, { color: themeStyles.isDarkTheme ? '#BBBBBB' : '#666666' }]}>
95
+ <Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
97
96
  Description:
98
97
  </Text>
99
- <Text style={[fileManagementStyles.detailValue, { color: themeStyles.textColor }]}>
98
+ <Text className="text-foreground" style={fileManagementStyles.detailValue}>
100
99
  {file.metadata.description}
101
100
  </Text>
102
101
  </View>
@@ -105,7 +104,8 @@ export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
105
104
 
106
105
  <View style={fileManagementStyles.modalActions}>
107
106
  <TouchableOpacity
108
- style={[fileManagementStyles.modalActionButton, { backgroundColor: themeStyles.primaryColor }]}
107
+ className="bg-primary"
108
+ style={fileManagementStyles.modalActionButton}
109
109
  onPress={() => {
110
110
  onDownload(file.id, file.filename);
111
111
  onClose();
@@ -117,7 +117,8 @@ export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
117
117
 
118
118
  {isOwner && (
119
119
  <TouchableOpacity
120
- style={[fileManagementStyles.modalActionButton, { backgroundColor: themeStyles.dangerColor }]}
120
+ className="bg-destructive"
121
+ style={fileManagementStyles.modalActionButton}
121
122
  onPress={() => {
122
123
  onClose();
123
124
  onDelete(file.id, file.filename);