@oxyhq/services 6.9.0 → 6.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (558) hide show
  1. package/lib/commonjs/ui/components/ActivityIndicator.js +4 -4
  2. package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -1
  3. package/lib/commonjs/ui/components/BottomSheet.js +6 -6
  4. package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
  5. package/lib/commonjs/ui/components/BottomSheetRouter.js +70 -3
  6. package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
  7. package/lib/commonjs/ui/components/CrossFadeIcon.js +1 -1
  8. package/lib/commonjs/ui/components/CrossFadeIcon.js.map +1 -1
  9. package/lib/commonjs/ui/components/FollowButton.js +3 -5
  10. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  11. package/lib/commonjs/ui/components/FontLoader.js +1 -1
  12. package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
  13. package/lib/commonjs/ui/components/GroupedItem.js +1 -4
  14. package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
  15. package/lib/commonjs/ui/components/GroupedSection.js +1 -2
  16. package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
  17. package/lib/commonjs/ui/components/Header.js.map +1 -1
  18. package/lib/commonjs/ui/components/HelperText.js +2 -2
  19. package/lib/commonjs/ui/components/HelperText.js.map +1 -1
  20. package/lib/commonjs/ui/components/Icon.js +5 -5
  21. package/lib/commonjs/ui/components/Icon.js.map +1 -1
  22. package/lib/commonjs/ui/components/IconButton/IconButton.js +0 -2
  23. package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -1
  24. package/lib/commonjs/ui/components/OxyProvider.js +17 -11
  25. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  26. package/lib/commonjs/ui/components/SignInModal.js +1 -1
  27. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  28. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +6 -8
  29. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
  30. package/lib/commonjs/ui/components/TextField/Adornment/utils.js +3 -3
  31. package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -1
  32. package/lib/commonjs/ui/components/TextField/helpers.js +2 -3
  33. package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -1
  34. package/lib/commonjs/ui/components/TextField.js +6 -9
  35. package/lib/commonjs/ui/components/TextField.js.map +1 -1
  36. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +3 -3
  37. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
  38. package/lib/commonjs/ui/components/Typography/AnimatedText.js +12 -15
  39. package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +1 -1
  40. package/lib/commonjs/ui/components/feedback/FormInput.js +1 -1
  41. package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
  42. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +1 -2
  43. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -1
  44. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +0 -2
  45. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  46. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +1 -2
  47. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  48. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +0 -2
  49. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  50. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +15 -18
  51. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +1 -1
  52. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +3 -4
  53. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  54. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +1 -2
  55. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  56. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +1 -2
  57. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  58. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +1 -2
  59. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
  60. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +1 -2
  61. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  62. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +1 -2
  63. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  64. package/lib/commonjs/ui/components/payment/paymentStyles.js +2 -2
  65. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
  66. package/lib/commonjs/ui/components/styles/overlay.js +4 -4
  67. package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
  68. package/lib/commonjs/ui/components/styles/shadow.js +58 -63
  69. package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
  70. package/lib/commonjs/ui/components/theming.js +7 -7
  71. package/lib/commonjs/ui/components/theming.js.map +1 -1
  72. package/lib/commonjs/ui/context/OxyContext.js +1 -2
  73. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  74. package/lib/commonjs/ui/context/ThemeContext.js.map +1 -1
  75. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  76. package/lib/commonjs/ui/hooks/useAssets.js +11 -27
  77. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
  78. package/lib/commonjs/ui/hooks/useFileFiltering.js +1 -1
  79. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
  80. package/lib/commonjs/ui/index.js +19 -19
  81. package/lib/commonjs/ui/index.js.map +1 -1
  82. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +1 -1
  83. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  84. package/lib/commonjs/ui/screens/FAQScreen.js +1 -2
  85. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
  86. package/lib/commonjs/ui/screens/FeedbackScreen.js +2 -3
  87. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  88. package/lib/commonjs/ui/screens/FileManagementScreen.js +9 -9
  89. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  90. package/lib/commonjs/ui/screens/FollowersListScreen.js +0 -1
  91. package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -1
  92. package/lib/commonjs/ui/screens/FollowingListScreen.js +0 -1
  93. package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -1
  94. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +3 -4
  95. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  96. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -3
  97. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  98. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +10 -11
  99. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  100. package/lib/commonjs/ui/screens/ProfileScreen.js +1 -1
  101. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  102. package/lib/commonjs/ui/screens/UserListScreen.js +1 -2
  103. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  104. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -2
  105. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  106. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +5 -5
  107. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  108. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +1 -1
  109. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  110. package/lib/commonjs/ui/stores/followStore.js +2 -2
  111. package/lib/commonjs/ui/stores/followStore.js.map +1 -1
  112. package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
  113. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
  114. package/lib/commonjs/ui/utils/fileManagement.js +2 -2
  115. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
  116. package/lib/commonjs/ui/utils/userUtils.js +1 -1
  117. package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
  118. package/lib/module/ui/components/ActivityIndicator.js +4 -4
  119. package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
  120. package/lib/module/ui/components/BottomSheet.js +7 -7
  121. package/lib/module/ui/components/BottomSheet.js.map +1 -1
  122. package/lib/module/ui/components/BottomSheetRouter.js +72 -5
  123. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
  124. package/lib/module/ui/components/CrossFadeIcon.js +1 -1
  125. package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
  126. package/lib/module/ui/components/ErrorBoundary.js.map +1 -1
  127. package/lib/module/ui/components/FollowButton.js +3 -5
  128. package/lib/module/ui/components/FollowButton.js.map +1 -1
  129. package/lib/module/ui/components/FontLoader.js +1 -1
  130. package/lib/module/ui/components/FontLoader.js.map +1 -1
  131. package/lib/module/ui/components/GroupedItem.js +1 -2
  132. package/lib/module/ui/components/GroupedItem.js.map +1 -1
  133. package/lib/module/ui/components/GroupedSection.js +1 -1
  134. package/lib/module/ui/components/GroupedSection.js.map +1 -1
  135. package/lib/module/ui/components/Header.js.map +1 -1
  136. package/lib/module/ui/components/HelperText.js +2 -2
  137. package/lib/module/ui/components/HelperText.js.map +1 -1
  138. package/lib/module/ui/components/Icon.js +5 -4
  139. package/lib/module/ui/components/Icon.js.map +1 -1
  140. package/lib/module/ui/components/IconButton/IconButton.js +0 -1
  141. package/lib/module/ui/components/IconButton/IconButton.js.map +1 -1
  142. package/lib/module/ui/components/OxyProvider.js +18 -12
  143. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  144. package/lib/module/ui/components/SignInModal.js +1 -1
  145. package/lib/module/ui/components/SignInModal.js.map +1 -1
  146. package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
  147. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +6 -8
  148. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
  149. package/lib/module/ui/components/TextField/Adornment/utils.js +3 -3
  150. package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -1
  151. package/lib/module/ui/components/TextField/helpers.js +2 -3
  152. package/lib/module/ui/components/TextField/helpers.js.map +1 -1
  153. package/lib/module/ui/components/TextField.js +6 -9
  154. package/lib/module/ui/components/TextField.js.map +1 -1
  155. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +3 -3
  156. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
  157. package/lib/module/ui/components/Typography/AnimatedText.js +12 -14
  158. package/lib/module/ui/components/Typography/AnimatedText.js.map +1 -1
  159. package/lib/module/ui/components/feedback/FormInput.js +1 -1
  160. package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
  161. package/lib/module/ui/components/fileManagement/AnimatedButton.js +1 -1
  162. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -1
  163. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +0 -1
  164. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  165. package/lib/module/ui/components/fileManagement/FileViewer.js +1 -1
  166. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  167. package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -1
  168. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  169. package/lib/module/ui/components/internal/GroupedPillButtons.js +15 -18
  170. package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -1
  171. package/lib/module/ui/components/modals/DeleteAccountModal.js +3 -3
  172. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  173. package/lib/module/ui/components/payment/PaymentDetailsStep.js +1 -1
  174. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  175. package/lib/module/ui/components/payment/PaymentMethodStep.js +1 -1
  176. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  177. package/lib/module/ui/components/payment/PaymentReviewStep.js +1 -1
  178. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
  179. package/lib/module/ui/components/payment/PaymentSuccessStep.js +1 -1
  180. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  181. package/lib/module/ui/components/payment/PaymentSummaryStep.js +1 -1
  182. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  183. package/lib/module/ui/components/payment/paymentStyles.js +2 -2
  184. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
  185. package/lib/module/ui/components/styles/overlay.js +4 -4
  186. package/lib/module/ui/components/styles/overlay.js.map +1 -1
  187. package/lib/module/ui/components/styles/shadow.js +58 -63
  188. package/lib/module/ui/components/styles/shadow.js.map +1 -1
  189. package/lib/module/ui/components/theming.js +7 -7
  190. package/lib/module/ui/components/theming.js.map +1 -1
  191. package/lib/module/ui/context/OxyContext.js +1 -1
  192. package/lib/module/ui/context/OxyContext.js.map +1 -1
  193. package/lib/module/ui/context/ThemeContext.js.map +1 -1
  194. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  195. package/lib/module/ui/hooks/useAssets.js +11 -27
  196. package/lib/module/ui/hooks/useAssets.js.map +1 -1
  197. package/lib/module/ui/hooks/useFileFiltering.js +1 -1
  198. package/lib/module/ui/hooks/useFileFiltering.js.map +1 -1
  199. package/lib/module/ui/index.js +19 -1
  200. package/lib/module/ui/index.js.map +1 -1
  201. package/lib/module/ui/screens/AccountSwitcherScreen.js +1 -1
  202. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
  203. package/lib/module/ui/screens/FAQScreen.js +1 -1
  204. package/lib/module/ui/screens/FAQScreen.js.map +1 -1
  205. package/lib/module/ui/screens/FeedbackScreen.js +2 -2
  206. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  207. package/lib/module/ui/screens/FileManagementScreen.js +9 -9
  208. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  209. package/lib/module/ui/screens/FollowersListScreen.js +0 -1
  210. package/lib/module/ui/screens/FollowersListScreen.js.map +1 -1
  211. package/lib/module/ui/screens/FollowingListScreen.js +0 -1
  212. package/lib/module/ui/screens/FollowingListScreen.js.map +1 -1
  213. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +3 -3
  214. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  215. package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -2
  216. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  217. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +10 -11
  218. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  219. package/lib/module/ui/screens/ProfileScreen.js +1 -1
  220. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  221. package/lib/module/ui/screens/UserListScreen.js +1 -1
  222. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  223. package/lib/module/ui/screens/WelcomeNewUserScreen.js +2 -2
  224. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  225. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +5 -5
  226. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  227. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +1 -1
  228. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  229. package/lib/module/ui/stores/followStore.js +2 -2
  230. package/lib/module/ui/stores/followStore.js.map +1 -1
  231. package/lib/module/ui/utils/avatarUtils.js +1 -1
  232. package/lib/module/ui/utils/avatarUtils.js.map +1 -1
  233. package/lib/module/ui/utils/fileManagement.js +2 -2
  234. package/lib/module/ui/utils/fileManagement.js.map +1 -1
  235. package/lib/module/ui/utils/userUtils.js +1 -1
  236. package/lib/module/ui/utils/userUtils.js.map +1 -1
  237. package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts +1 -1
  238. package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts +1 -1
  240. package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts +1 -1
  243. package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts +1 -1
  245. package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/ui/components/FontLoader.d.ts +1 -1
  248. package/lib/typescript/commonjs/ui/components/FontLoader.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts +1 -1
  250. package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts +1 -1
  252. package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts.map +1 -1
  253. package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
  254. package/lib/typescript/commonjs/ui/components/HelperText.d.ts +1 -1
  255. package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/ui/components/Icon.d.ts +2 -2
  257. package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts +3 -3
  259. package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts +1 -1
  262. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/ui/components/Surface.d.ts +1 -1
  264. package/lib/typescript/commonjs/ui/components/Surface.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts +2 -2
  266. package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts +1 -1
  268. package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +1 -1
  270. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts +1 -1
  271. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +1 -1
  272. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts +1 -1
  273. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +1 -1
  274. package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts +1 -1
  275. package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts.map +1 -1
  276. package/lib/typescript/commonjs/ui/components/TextField/types.d.ts +1 -1
  277. package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +1 -1
  278. package/lib/typescript/commonjs/ui/components/TextField.d.ts +3 -3
  279. package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +1 -1
  280. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts +1 -1
  281. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +2 -2
  283. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
  284. package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts +2 -2
  285. package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts.map +1 -1
  286. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +1 -1
  287. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
  288. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
  289. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  290. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +1 -1
  291. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  292. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +1 -1
  293. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  294. package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts.map +1 -1
  295. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +1 -1
  296. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  297. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +1 -1
  298. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  299. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +1 -1
  300. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  301. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +1 -1
  302. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  303. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +1 -1
  304. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  305. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +1 -1
  306. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  307. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -1
  308. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +1 -1
  309. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +1 -1
  310. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -1
  311. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  312. package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts +1 -1
  313. package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts.map +1 -1
  314. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +1 -1
  315. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
  316. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
  317. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +2 -2
  318. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -1
  319. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -1
  320. package/lib/typescript/commonjs/ui/index.d.ts +19 -1
  321. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
  322. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +1 -1
  323. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -1
  324. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +1 -1
  325. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
  326. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +1 -1
  327. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +1 -1
  328. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +1 -1
  329. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +1 -1
  330. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +1 -1
  331. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  332. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +1 -1
  333. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  334. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  335. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +1 -1
  336. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  337. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +1 -1
  338. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  339. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +1 -1
  340. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -1
  341. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +1 -1
  342. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -1
  343. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +1 -1
  344. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
  345. package/lib/typescript/module/ui/components/ActivityIndicator.d.ts +1 -1
  346. package/lib/typescript/module/ui/components/ActivityIndicator.d.ts.map +1 -1
  347. package/lib/typescript/module/ui/components/BottomSheet.d.ts +1 -1
  348. package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
  349. package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
  350. package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts +1 -1
  351. package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts.map +1 -1
  352. package/lib/typescript/module/ui/components/ErrorBoundary.d.ts +1 -1
  353. package/lib/typescript/module/ui/components/ErrorBoundary.d.ts.map +1 -1
  354. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  355. package/lib/typescript/module/ui/components/FontLoader.d.ts +1 -1
  356. package/lib/typescript/module/ui/components/FontLoader.d.ts.map +1 -1
  357. package/lib/typescript/module/ui/components/GroupedItem.d.ts +1 -1
  358. package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +1 -1
  359. package/lib/typescript/module/ui/components/GroupedSection.d.ts +1 -1
  360. package/lib/typescript/module/ui/components/GroupedSection.d.ts.map +1 -1
  361. package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
  362. package/lib/typescript/module/ui/components/HelperText.d.ts +1 -1
  363. package/lib/typescript/module/ui/components/HelperText.d.ts.map +1 -1
  364. package/lib/typescript/module/ui/components/Icon.d.ts +2 -2
  365. package/lib/typescript/module/ui/components/Icon.d.ts.map +1 -1
  366. package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts +3 -3
  367. package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +1 -1
  368. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  369. package/lib/typescript/module/ui/components/SignInModal.d.ts +1 -1
  370. package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
  371. package/lib/typescript/module/ui/components/Surface.d.ts +1 -1
  372. package/lib/typescript/module/ui/components/Surface.d.ts.map +1 -1
  373. package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +2 -2
  374. package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts.map +1 -1
  375. package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts +1 -1
  376. package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts.map +1 -1
  377. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +1 -1
  378. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts +1 -1
  379. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +1 -1
  380. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts +1 -1
  381. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +1 -1
  382. package/lib/typescript/module/ui/components/TextField/helpers.d.ts +1 -1
  383. package/lib/typescript/module/ui/components/TextField/helpers.d.ts.map +1 -1
  384. package/lib/typescript/module/ui/components/TextField/types.d.ts +1 -1
  385. package/lib/typescript/module/ui/components/TextField/types.d.ts.map +1 -1
  386. package/lib/typescript/module/ui/components/TextField.d.ts +3 -3
  387. package/lib/typescript/module/ui/components/TextField.d.ts.map +1 -1
  388. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts +1 -1
  389. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts.map +1 -1
  390. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +2 -2
  391. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
  392. package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts +2 -2
  393. package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts.map +1 -1
  394. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +1 -1
  395. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
  396. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
  397. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  398. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +1 -1
  399. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  400. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +1 -1
  401. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  402. package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts.map +1 -1
  403. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +1 -1
  404. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  405. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +1 -1
  406. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  407. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +1 -1
  408. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  409. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +1 -1
  410. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  411. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +1 -1
  412. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  413. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +1 -1
  414. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  415. package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -1
  416. package/lib/typescript/module/ui/components/styles/shadow.d.ts +1 -1
  417. package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +1 -1
  418. package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -1
  419. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  420. package/lib/typescript/module/ui/context/ThemeContext.d.ts +1 -1
  421. package/lib/typescript/module/ui/context/ThemeContext.d.ts.map +1 -1
  422. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +1 -1
  423. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
  424. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
  425. package/lib/typescript/module/ui/hooks/useAssets.d.ts +2 -2
  426. package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -1
  427. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -1
  428. package/lib/typescript/module/ui/index.d.ts +19 -1
  429. package/lib/typescript/module/ui/index.d.ts.map +1 -1
  430. package/lib/typescript/module/ui/screens/FAQScreen.d.ts +1 -1
  431. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
  432. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +1 -1
  433. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
  434. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +1 -1
  435. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -1
  436. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +1 -1
  437. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +1 -1
  438. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +1 -1
  439. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  440. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +1 -1
  441. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  442. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  443. package/lib/typescript/module/ui/screens/UserListScreen.d.ts +1 -1
  444. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  445. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +1 -1
  446. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  447. package/lib/typescript/module/ui/stores/assetStore.d.ts +1 -1
  448. package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -1
  449. package/lib/typescript/module/ui/utils/avatarUtils.d.ts +1 -1
  450. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -1
  451. package/lib/typescript/module/ui/utils/fileManagement.d.ts +1 -1
  452. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
  453. package/lib/typescript/types/expo-crypto.d.ts +1 -1
  454. package/lib/typescript/types/expo-secure-store.d.ts +4 -4
  455. package/package.json +1 -1
  456. package/src/types/expo-crypto.d.ts +1 -1
  457. package/src/types/expo-secure-store.d.ts +4 -4
  458. package/src/ui/components/ActivityIndicator.tsx +6 -6
  459. package/src/ui/components/BottomSheet.tsx +11 -12
  460. package/src/ui/components/BottomSheetRouter.tsx +69 -7
  461. package/src/ui/components/CrossFadeIcon.tsx +2 -2
  462. package/src/ui/components/ErrorBoundary.tsx +1 -1
  463. package/src/ui/components/FollowButton.tsx +3 -5
  464. package/src/ui/components/FontLoader.tsx +2 -1
  465. package/src/ui/components/GroupedItem.tsx +3 -3
  466. package/src/ui/components/GroupedSection.tsx +2 -1
  467. package/src/ui/components/Header.tsx +1 -1
  468. package/src/ui/components/HelperText.tsx +5 -5
  469. package/src/ui/components/Icon.tsx +5 -5
  470. package/src/ui/components/IconButton/IconButton.tsx +8 -8
  471. package/src/ui/components/OxyProvider.tsx +16 -10
  472. package/src/ui/components/SignInModal.tsx +2 -1
  473. package/src/ui/components/Surface.tsx +4 -4
  474. package/src/ui/components/TextField/Addons/Outline.tsx +4 -4
  475. package/src/ui/components/TextField/Addons/Underline.tsx +1 -1
  476. package/src/ui/components/TextField/Adornment/TextFieldAdornment.tsx +5 -8
  477. package/src/ui/components/TextField/Adornment/TextFieldAffix.tsx +6 -6
  478. package/src/ui/components/TextField/Adornment/TextFieldIcon.tsx +4 -4
  479. package/src/ui/components/TextField/Adornment/utils.ts +3 -3
  480. package/src/ui/components/TextField/Label/InputLabel.tsx +1 -1
  481. package/src/ui/components/TextField/TextFieldFlat.tsx +3 -3
  482. package/src/ui/components/TextField/TextFieldOutlined.tsx +5 -5
  483. package/src/ui/components/TextField/helpers.tsx +4 -5
  484. package/src/ui/components/TextField/types.tsx +1 -1
  485. package/src/ui/components/TextField.tsx +8 -11
  486. package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +6 -6
  487. package/src/ui/components/TouchableRipple/TouchableRipple.tsx +8 -8
  488. package/src/ui/components/Typography/AnimatedText.tsx +5 -6
  489. package/src/ui/components/feedback/FormInput.tsx +1 -1
  490. package/src/ui/components/fileManagement/AnimatedButton.tsx +2 -1
  491. package/src/ui/components/fileManagement/FileDetailsModal.tsx +1 -1
  492. package/src/ui/components/fileManagement/FileViewer.tsx +2 -1
  493. package/src/ui/components/fileManagement/UploadPreview.tsx +1 -1
  494. package/src/ui/components/internal/GroupedPillButtons.tsx +2 -6
  495. package/src/ui/components/modals/DeleteAccountModal.tsx +4 -3
  496. package/src/ui/components/payment/PaymentDetailsStep.tsx +2 -1
  497. package/src/ui/components/payment/PaymentMethodStep.tsx +2 -1
  498. package/src/ui/components/payment/PaymentReviewStep.tsx +2 -1
  499. package/src/ui/components/payment/PaymentSuccessStep.tsx +2 -1
  500. package/src/ui/components/payment/PaymentSummaryStep.tsx +2 -1
  501. package/src/ui/components/payment/paymentStyles.ts +2 -2
  502. package/src/ui/components/styles/overlay.tsx +6 -6
  503. package/src/ui/components/styles/shadow.tsx +9 -14
  504. package/src/ui/components/theming.tsx +7 -7
  505. package/src/ui/context/OxyContext.tsx +2 -1
  506. package/src/ui/context/ThemeContext.tsx +1 -1
  507. package/src/ui/hooks/mutations/mutationFactory.ts +1 -1
  508. package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
  509. package/src/ui/hooks/useAssets.ts +3 -23
  510. package/src/ui/hooks/useFileFiltering.ts +1 -2
  511. package/src/ui/index.ts +19 -1
  512. package/src/ui/screens/AccountSwitcherScreen.tsx +1 -1
  513. package/src/ui/screens/EditProfileFieldScreen.tsx +1 -1
  514. package/src/ui/screens/FAQScreen.tsx +2 -1
  515. package/src/ui/screens/FeedbackScreen.tsx +3 -2
  516. package/src/ui/screens/FileManagementScreen.tsx +10 -10
  517. package/src/ui/screens/FollowersListScreen.tsx +1 -1
  518. package/src/ui/screens/FollowingListScreen.tsx +1 -1
  519. package/src/ui/screens/LearnMoreUsernamesScreen.tsx +4 -3
  520. package/src/ui/screens/PaymentGatewayScreen.tsx +3 -2
  521. package/src/ui/screens/PremiumSubscriptionScreen.tsx +5 -7
  522. package/src/ui/screens/ProfileScreen.tsx +1 -1
  523. package/src/ui/screens/UserListScreen.tsx +2 -1
  524. package/src/ui/screens/WelcomeNewUserScreen.tsx +3 -2
  525. package/src/ui/screens/karma/KarmaCenterScreen.tsx +5 -5
  526. package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +1 -1
  527. package/src/ui/stores/assetStore.ts +1 -1
  528. package/src/ui/stores/followStore.ts +2 -2
  529. package/src/ui/utils/avatarUtils.ts +2 -2
  530. package/src/ui/utils/fileManagement.ts +4 -4
  531. package/src/ui/utils/userUtils.ts +1 -1
  532. package/lib/commonjs/ui/context/hooks/useDeviceManagement.js +0 -73
  533. package/lib/commonjs/ui/context/hooks/useDeviceManagement.js.map +0 -1
  534. package/lib/commonjs/ui/context/hooks/useLanguageManagement.js +0 -112
  535. package/lib/commonjs/ui/context/hooks/useLanguageManagement.js.map +0 -1
  536. package/lib/commonjs/ui/context/hooks/useSessionManagement.js +0 -279
  537. package/lib/commonjs/ui/context/hooks/useSessionManagement.js.map +0 -1
  538. package/lib/module/ui/context/hooks/useDeviceManagement.js +0 -68
  539. package/lib/module/ui/context/hooks/useDeviceManagement.js.map +0 -1
  540. package/lib/module/ui/context/hooks/useLanguageManagement.js +0 -107
  541. package/lib/module/ui/context/hooks/useLanguageManagement.js.map +0 -1
  542. package/lib/module/ui/context/hooks/useSessionManagement.js +0 -274
  543. package/lib/module/ui/context/hooks/useSessionManagement.js.map +0 -1
  544. package/lib/typescript/commonjs/ui/context/hooks/useDeviceManagement.d.ts +0 -27
  545. package/lib/typescript/commonjs/ui/context/hooks/useDeviceManagement.d.ts.map +0 -1
  546. package/lib/typescript/commonjs/ui/context/hooks/useLanguageManagement.d.ts +0 -25
  547. package/lib/typescript/commonjs/ui/context/hooks/useLanguageManagement.d.ts.map +0 -1
  548. package/lib/typescript/commonjs/ui/context/hooks/useSessionManagement.d.ts +0 -41
  549. package/lib/typescript/commonjs/ui/context/hooks/useSessionManagement.d.ts.map +0 -1
  550. package/lib/typescript/module/ui/context/hooks/useDeviceManagement.d.ts +0 -27
  551. package/lib/typescript/module/ui/context/hooks/useDeviceManagement.d.ts.map +0 -1
  552. package/lib/typescript/module/ui/context/hooks/useLanguageManagement.d.ts +0 -25
  553. package/lib/typescript/module/ui/context/hooks/useLanguageManagement.d.ts.map +0 -1
  554. package/lib/typescript/module/ui/context/hooks/useSessionManagement.d.ts +0 -41
  555. package/lib/typescript/module/ui/context/hooks/useSessionManagement.d.ts.map +0 -1
  556. package/src/ui/context/hooks/useDeviceManagement.ts +0 -108
  557. package/src/ui/context/hooks/useLanguageManagement.ts +0 -152
  558. package/src/ui/context/hooks/useSessionManagement.ts +0 -399
@@ -13,10 +13,10 @@ declare module 'expo-secure-store' {
13
13
  export const AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: 'AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY';
14
14
  export const WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: 'WHEN_PASSCODE_SET_THIS_DEVICE_ONLY';
15
15
 
16
- export async function setItemAsync(key: string, value: string, options?: SecureStoreOptions): Promise<void>;
17
- export async function getItemAsync(key: string, options?: SecureStoreOptions): Promise<string | null>;
18
- export async function deleteItemAsync(key: string, options?: SecureStoreOptions): Promise<void>;
19
- export async function isAvailableAsync(): Promise<boolean>;
16
+ export function setItemAsync(key: string, value: string, options?: SecureStoreOptions): Promise<void>;
17
+ export function getItemAsync(key: string, options?: SecureStoreOptions): Promise<string | null>;
18
+ export function deleteItemAsync(key: string, options?: SecureStoreOptions): Promise<void>;
19
+ export function isAvailableAsync(): Promise<boolean>;
20
20
  }
21
21
 
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyhq/services",
3
- "version": "6.9.0",
3
+ "version": "6.9.1",
4
4
  "description": "OxyHQ Expo/React Native SDK — UI components, screens, and native features",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -9,7 +9,7 @@ declare module 'expo-crypto' {
9
9
  MD4 = 'MD4',
10
10
  }
11
11
 
12
- export async function digestStringAsync(
12
+ export function digestStringAsync(
13
13
  algorithm: CryptoDigestAlgorithm | 'MD5' | 'SHA1' | 'SHA256' | 'SHA384' | 'SHA512',
14
14
  data: string,
15
15
  options?: { encoding?: 'base64' | 'hex' }
@@ -13,10 +13,10 @@ declare module 'expo-secure-store' {
13
13
  export const AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: 'AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY';
14
14
  export const WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: 'WHEN_PASSCODE_SET_THIS_DEVICE_ONLY';
15
15
 
16
- export async function setItemAsync(key: string, value: string, options?: SecureStoreOptions): Promise<void>;
17
- export async function getItemAsync(key: string, options?: SecureStoreOptions): Promise<string | null>;
18
- export async function deleteItemAsync(key: string, options?: SecureStoreOptions): Promise<void>;
19
- export async function isAvailableAsync(): Promise<boolean>;
16
+ export function setItemAsync(key: string, value: string, options?: SecureStoreOptions): Promise<void>;
17
+ export function getItemAsync(key: string, options?: SecureStoreOptions): Promise<string | null>;
18
+ export function deleteItemAsync(key: string, options?: SecureStoreOptions): Promise<void>;
19
+ export function isAvailableAsync(): Promise<boolean>;
20
20
  }
21
21
 
22
22
 
@@ -3,10 +3,10 @@ import {
3
3
  Animated,
4
4
  Easing,
5
5
  Platform,
6
- StyleProp,
6
+ type StyleProp,
7
7
  StyleSheet,
8
8
  View,
9
- ViewStyle,
9
+ type ViewStyle,
10
10
  } from 'react-native';
11
11
 
12
12
  import { useInternalTheme } from './theming';
@@ -94,13 +94,13 @@ const ActivityIndicator = ({
94
94
  // $FlowFixMe
95
95
  Animated.loop(rotation.current).start();
96
96
  }
97
- }, [scale, fade, timer]);
97
+ }, [scale]);
98
98
 
99
- const stopRotation = () => {
99
+ const stopRotation = React.useCallback(() => {
100
100
  if (rotation.current) {
101
101
  rotation.current.stop();
102
102
  }
103
- };
103
+ }, []);
104
104
 
105
105
  React.useEffect(() => {
106
106
  if (rotation.current === undefined) {
@@ -128,7 +128,7 @@ const ActivityIndicator = ({
128
128
  } else {
129
129
  stopRotation();
130
130
  }
131
- }, [animating, fade, hidesWhenStopped, startRotation, scale, timer]);
131
+ }, [animating, hidesWhenStopped, startRotation, stopRotation, scale]);
132
132
 
133
133
  const color = indicatorColor || theme.colors?.primary;
134
134
  const size =
@@ -1,4 +1,5 @@
1
- import React, { forwardRef, useImperativeHandle, useRef, useEffect, useState, useCallback, useMemo } from 'react';
1
+ import type React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useEffect, useState, useCallback, useMemo } from 'react';
2
3
  import {
3
4
  View,
4
5
  StyleSheet,
@@ -8,9 +9,8 @@ import {
8
9
  Platform,
9
10
  type ViewStyle,
10
11
  type StyleProp,
11
- ScrollView,
12
12
  } from 'react-native';
13
- import { Gesture, GestureDetector, GestureHandlerRootView } from 'react-native-gesture-handler';
13
+ import { Gesture, GestureDetector } from 'react-native-gesture-handler';
14
14
  import { useKeyboardHandler } from 'react-native-keyboard-controller';
15
15
  import Animated, {
16
16
  interpolate,
@@ -72,7 +72,7 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
72
72
  const [rendered, setRendered] = useState(false); // keep mounted for exit animation
73
73
  const closeTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
74
74
  const hasClosedRef = useRef(false);
75
- const scrollViewRef = useRef<ScrollView>(null);
75
+ const scrollViewRef = useRef<Animated.ScrollView>(null);
76
76
 
77
77
  const translateY = useSharedValue(SCREEN_HEIGHT);
78
78
  const opacity = useSharedValue(0);
@@ -305,7 +305,7 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
305
305
 
306
306
  return (
307
307
  <Modal visible={rendered} transparent animationType="none" statusBarTranslucent onRequestClose={dismiss}>
308
- <GestureHandlerRootView style={StyleSheet.absoluteFill}>
308
+ <View style={StyleSheet.absoluteFill}>
309
309
  <Animated.View style={[styles.backdrop, backdropStyle]}>
310
310
  {backdropComponent ? (
311
311
  backdropComponent({ onPress: handleBackdropPress })
@@ -324,21 +324,20 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
324
324
 
325
325
  <GestureDetector gesture={nativeGesture}>
326
326
  <Animated.ScrollView
327
- ref={scrollViewRef as any}
327
+ ref={scrollViewRef}
328
328
  style={[
329
329
  styles.scrollView,
330
- Platform.OS === 'web' && {
331
- scrollbarWidth: 'thin' as const,
330
+ Platform.OS === 'web' && ({
331
+ scrollbarWidth: 'thin',
332
332
  scrollbarColor: `${colors.border} transparent`,
333
- } as any,
333
+ } as ViewStyle),
334
334
  ]}
335
335
  contentContainerStyle={dynamicStyles.scrollContent}
336
336
  showsVerticalScrollIndicator={false}
337
337
  keyboardShouldPersistTaps="handled"
338
338
  onScroll={scrollHandler}
339
339
  scrollEventThrottle={16}
340
- // @ts-ignore - Web className
341
- className={Platform.OS === 'web' ? 'bottom-sheet-scrollview' : undefined}
340
+ {...(Platform.OS === 'web' ? { className: 'bottom-sheet-scrollview' } : undefined)}
342
341
  onLayout={() => {
343
342
  if (Platform.OS === 'web') {
344
343
  createWebScrollbarStyle(colors.border);
@@ -350,7 +349,7 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
350
349
  </GestureDetector>
351
350
  </Animated.View>
352
351
  </GestureDetector>
353
- </GestureHandlerRootView>
352
+ </View>
354
353
  </Modal>
355
354
  );
356
355
  });
@@ -1,5 +1,5 @@
1
- import React, { useRef, useEffect, useCallback, useMemo } from 'react';
2
- import { BackHandler, View, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
1
+ import React, { useRef, useEffect, useCallback, useMemo, type ErrorInfo } from 'react';
2
+ import { BackHandler, View, StyleSheet, Text, type StyleProp, type ViewStyle } from 'react-native';
3
3
  import { useStore } from 'zustand';
4
4
  import type { RouteName } from '../navigation/routes';
5
5
  import { getScreenComponent, isValidRoute } from '../navigation/routes';
@@ -16,6 +16,58 @@ import {
16
16
  updateState,
17
17
  } from '../navigation/bottomSheetManager';
18
18
 
19
+ /** Error boundary to catch screen rendering failures (e.g. lazy require() throws) */
20
+ interface ScreenErrorBoundaryState {
21
+ error: Error | null;
22
+ }
23
+
24
+ class ScreenErrorBoundary extends React.Component<
25
+ { screenName: string; children: React.ReactNode },
26
+ ScreenErrorBoundaryState
27
+ > {
28
+ state: ScreenErrorBoundaryState = { error: null };
29
+
30
+ static getDerivedStateFromError(error: Error): ScreenErrorBoundaryState {
31
+ return { error };
32
+ }
33
+
34
+ componentDidCatch(error: Error, info: ErrorInfo): void {
35
+ if (__DEV__) {
36
+ console.error(
37
+ `[BottomSheetRouter] Screen "${this.props.screenName}" crashed:`,
38
+ error,
39
+ info.componentStack,
40
+ );
41
+ }
42
+ }
43
+
44
+ componentDidUpdate(prevProps: { screenName: string }): void {
45
+ if (prevProps.screenName !== this.props.screenName && this.state.error) {
46
+ this.setState({ error: null });
47
+ }
48
+ }
49
+
50
+ render(): React.ReactNode {
51
+ if (this.state.error) {
52
+ return (
53
+ <View style={errorStyles.container}>
54
+ <Text style={errorStyles.title}>Something went wrong</Text>
55
+ {__DEV__ && (
56
+ <Text style={errorStyles.message}>{this.state.error.message}</Text>
57
+ )}
58
+ </View>
59
+ );
60
+ }
61
+ return this.props.children;
62
+ }
63
+ }
64
+
65
+ const errorStyles = StyleSheet.create({
66
+ container: { flex: 1, alignItems: 'center', justifyContent: 'center', padding: 24 },
67
+ title: { fontSize: 16, fontWeight: '600', marginBottom: 8 },
68
+ message: { fontSize: 13, color: '#888', textAlign: 'center' },
69
+ });
70
+
19
71
  export interface BottomSheetRouterProps {
20
72
  onScreenChange?: (screen: RouteName | null) => void;
21
73
  onDismiss?: () => void;
@@ -32,10 +84,16 @@ const BottomSheetRouter: React.FC<BottomSheetRouterProps> = ({ onScreenChange, o
32
84
 
33
85
  const { currentScreen, screenProps, currentStep, isOpen } = useStore(bottomSheetStore);
34
86
 
35
- const ScreenComponent = useMemo(
36
- () => (currentScreen ? getScreenComponent(currentScreen) : null),
37
- [currentScreen]
38
- );
87
+ const ScreenComponent = useMemo(() => {
88
+ if (!currentScreen) return null;
89
+ const component = getScreenComponent(currentScreen);
90
+ if (__DEV__ && !component) {
91
+ console.error(
92
+ `[BottomSheetRouter] getScreenComponent("${currentScreen}") returned undefined — the screen's lazy require() likely failed.`,
93
+ );
94
+ }
95
+ return component ?? null;
96
+ }, [currentScreen]);
39
97
 
40
98
  // Notify screen changes
41
99
  useEffect(() => {
@@ -163,7 +221,11 @@ const BottomSheetRouter: React.FC<BottomSheetRouterProps> = ({ onScreenChange, o
163
221
  onDismiss={handleDismiss}
164
222
  onDismissAttempt={handleDismissAttempt}
165
223
  >
166
- {ScreenComponent && currentScreen && <ScreenComponent {...screenPropsValue} />}
224
+ {ScreenComponent && currentScreen && (
225
+ <ScreenErrorBoundary screenName={currentScreen}>
226
+ <ScreenComponent {...screenPropsValue} />
227
+ </ScreenErrorBoundary>
228
+ )}
167
229
  </BottomSheet>
168
230
  );
169
231
  };
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Animated, StyleSheet, View } from 'react-native';
3
3
 
4
- import Icon, { IconSource, isEqualIcon, isValidIcon } from './Icon';
4
+ import Icon, { type IconSource, isEqualIcon, isValidIcon } from './Icon';
5
5
  import { useInternalTheme } from './theming';
6
6
  import type { ThemeProp } from './types';
7
7
 
@@ -61,7 +61,7 @@ const CrossFadeIcon = ({
61
61
  useNativeDriver: true,
62
62
  }).start();
63
63
  }
64
- }, [currentIcon, previousIcon, fade, scale]);
64
+ }, [currentIcon, previousIcon, scale]);
65
65
 
66
66
  const opacityPrev = fade;
67
67
  const opacityNext = previousIcon
@@ -1,4 +1,4 @@
1
- import React, { Component, ErrorInfo, ReactNode } from 'react';
1
+ import React, { Component, type ErrorInfo, type ReactNode } from 'react';
2
2
  import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';
3
3
 
4
4
  interface Props {
@@ -111,12 +111,11 @@ const FollowButton: React.FC<FollowButtonProps> = ({
111
111
  }
112
112
  }, [disabled, isLoading, toggleFollow, onFollowChange, isFollowing, preventParentActions, scale]);
113
113
 
114
- // Initialize Zustand state with initial value if not already set
114
+ // biome-ignore lint/correctness/useExhaustiveDependencies: intentional mount-only initialization
115
115
  useEffect(() => {
116
116
  if (userId && !isFollowing && initiallyFollowing) {
117
117
  setFollowStatus?.(initiallyFollowing);
118
118
  }
119
- // eslint-disable-next-line react-hooks/exhaustive-deps
120
119
  }, [userId, initiallyFollowing]);
121
120
 
122
121
  // Fetch latest follow status from backend on mount if authenticated
@@ -124,13 +123,12 @@ const FollowButton: React.FC<FollowButtonProps> = ({
124
123
  if (userId && isAuthenticated) {
125
124
  fetchStatus?.();
126
125
  }
127
- // eslint-disable-next-line react-hooks/exhaustive-deps
128
- }, [userId, oxyServices, isAuthenticated]);
126
+ }, [userId, fetchStatus, isAuthenticated]);
129
127
 
130
128
  // Animate button on follow/unfollow
131
129
  useEffect(() => {
132
130
  animationProgress.value = withTiming(isFollowing ? 1 : 0, { duration: 300, easing: Easing.inOut(Easing.ease) });
133
- }, [isFollowing]);
131
+ }, [isFollowing, animationProgress]);
134
132
 
135
133
  // Animated styles for better performance
136
134
  const animatedButtonStyle = useAnimatedStyle(() => {
@@ -1,4 +1,5 @@
1
- import React, { useState, useEffect } from 'react';
1
+ import type React from 'react';
2
+ import { useState, useEffect } from 'react';
2
3
  import { Platform } from 'react-native';
3
4
  import * as Font from 'expo-font';
4
5
 
@@ -1,7 +1,7 @@
1
- import React, { memo, useMemo } from 'react';
1
+ import type React from 'react';
2
+ import { memo, useMemo } from 'react';
2
3
  import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
3
4
  import { Ionicons } from '@expo/vector-icons';
4
- // @ts-ignore - MaterialCommunityIcons is available at runtime
5
5
  import { MaterialCommunityIcons } from '@expo/vector-icons';
6
6
  import { useColorScheme } from '../hooks/useColorScheme';
7
7
  import { darkenColor } from '../utils/colorUtils';
@@ -68,7 +68,7 @@ const GroupedItemComponent = ({
68
68
  <View style={styles.actionIcon}>{customIcon}</View>
69
69
  ) : icon ? (
70
70
  <View style={[styles.iconContainer, { backgroundColor: finalIconColor }]}>
71
- <MaterialCommunityIcons name={icon as any} size={22} color={darkenColor(finalIconColor)} />
71
+ <MaterialCommunityIcons name={icon} size={22} color={darkenColor(finalIconColor)} />
72
72
  </View>
73
73
  ) : null}
74
74
  <View style={styles.actionTextContainer}>
@@ -1,4 +1,5 @@
1
- import React, { memo } from 'react';
1
+ import type React from 'react';
2
+ import { memo } from 'react';
2
3
  import { View } from 'react-native';
3
4
  import { GroupedItem } from './GroupedItem';
4
5
  import { Ionicons } from '@expo/vector-icons';
@@ -19,7 +19,7 @@ import { normalizeColorScheme } from '../utils/themeUtils';
19
19
  import { Colors } from '../constants/theme';
20
20
 
21
21
  // Calculate header height based on platform and variant
22
- export const getHeaderHeight = (variant: HeaderProps['variant'] = 'default', safeAreaTop: number = 0): number => {
22
+ export const getHeaderHeight = (variant: HeaderProps['variant'] = 'default', safeAreaTop = 0): number => {
23
23
  const paddingTop = Platform.OS === 'ios' ? Math.max(safeAreaTop, 50) : 16;
24
24
  const paddingBottom = 12;
25
25
  const contentHeight = variant === 'minimal' ? 36 : 40;
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
2
  import {
3
3
  Animated,
4
- LayoutChangeEvent,
5
- StyleProp,
4
+ type LayoutChangeEvent,
5
+ type StyleProp,
6
6
  StyleSheet,
7
- TextStyle,
7
+ type TextStyle,
8
8
  } from 'react-native';
9
9
  import { useThemeColors } from '../styles';
10
10
 
@@ -14,7 +14,7 @@ const getTextColor = (colors: ReturnType<typeof useThemeColors>, disabled?: bool
14
14
  return colors.error;
15
15
  }
16
16
  if (disabled) {
17
- return colors.secondaryText + '80'; // Add opacity
17
+ return `${colors.secondaryText}80`; // Add opacity
18
18
  }
19
19
  return colors.secondaryText;
20
20
  };
@@ -109,7 +109,7 @@ const HelperText = ({
109
109
  return colors.error;
110
110
  }
111
111
  if (disabled) {
112
- return colors.secondaryText + '80'; // Add opacity
112
+ return `${colors.secondaryText}80`; // Add opacity
113
113
  }
114
114
  return colors.secondaryText;
115
115
  };
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import {
3
3
  I18nManager,
4
4
  Image,
5
- ImageSourcePropType,
5
+ type ImageSourcePropType,
6
6
  Platform,
7
7
  } from 'react-native';
8
8
  import { MaterialCommunityIcons } from '@expo/vector-icons';
@@ -141,14 +141,14 @@ const Icon = ({
141
141
  width: size,
142
142
  height: size,
143
143
  tintColor: color,
144
- resizeMode: `contain`,
144
+ resizeMode: "contain",
145
145
  },
146
146
  ]}
147
147
  {...accessibilityProps}
148
148
  accessibilityIgnoresInvertColors
149
149
  />
150
150
  );
151
- } else if (typeof s === 'string') {
151
+ }if (typeof s === 'string') {
152
152
  // String icons - use MaterialCommunityIcons from @expo/vector-icons
153
153
  // This is the default icon library used by react-native-paper
154
154
  const styleArray = Array.isArray(rest.style)
@@ -171,7 +171,7 @@ const Icon = ({
171
171
  {...accessibilityProps}
172
172
  />
173
173
  );
174
- } else if (typeof s === 'function') {
174
+ }if (typeof s === 'function') {
175
175
  return s({ color: iconColor, size, direction, testID });
176
176
  }
177
177
 
@@ -1,12 +1,12 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import {
3
- GestureResponderEvent,
4
- StyleProp,
3
+ type GestureResponderEvent,
4
+ type StyleProp,
5
5
  StyleSheet,
6
- ViewStyle,
7
- View,
8
- Animated,
9
- ColorValue,
6
+ type ViewStyle,
7
+ type View,
8
+ type Animated,
9
+ type ColorValue,
10
10
  } from 'react-native';
11
11
 
12
12
  import { getIconButtonColor } from './utils';
@@ -15,7 +15,7 @@ import type { $RemoveChildren, ThemeProp } from "../types";
15
15
  import { forwardRef } from '../utils/forwardRef';
16
16
  import ActivityIndicator from '../ActivityIndicator';
17
17
  import CrossFadeIcon from '../CrossFadeIcon';
18
- import Icon, { IconSource } from '../Icon';
18
+ import Icon, { type IconSource } from '../Icon';
19
19
  import Surface from '../Surface';
20
20
  import TouchableRipple from '../TouchableRipple/TouchableRipple';
21
21
 
@@ -1,9 +1,10 @@
1
+ import type React from 'react';
1
2
  import { useEffect, useRef, useState, type FC } from 'react';
2
3
  import { AppState, Platform } from 'react-native';
3
4
  import { GestureHandlerRootView } from 'react-native-gesture-handler';
4
5
  import { SafeAreaProvider } from 'react-native-safe-area-context';
5
6
  import type { OxyProviderProps } from '../types/navigation';
6
- import { OxyContextProvider } from '../context/OxyContext';
7
+ import { OxyContextProvider, type OxyContextProviderProps } from '../context/OxyContext';
7
8
  import { QueryClientProvider, focusManager, onlineManager } from '@tanstack/react-query';
8
9
  import { setupFonts } from './FontLoader';
9
10
  import { Toaster } from '../../lib/sonner';
@@ -17,9 +18,9 @@ setupFonts();
17
18
  const isWeb = Platform.OS === 'web';
18
19
 
19
20
  // Conditionally import components
20
- let KeyboardProvider: any = ({ children }: any) => children;
21
- let BottomSheetRouter: any = null;
22
- let SignInModal: any = null;
21
+ let KeyboardProvider: React.FC<{ children: React.ReactNode }> = ({ children }) => <>{children}</>;
22
+ let BottomSheetRouter: React.ComponentType | null = null;
23
+ let SignInModal: React.ComponentType | null = null;
23
24
 
24
25
  // KeyboardProvider only on native
25
26
  if (!isWeb) {
@@ -33,8 +34,10 @@ if (!isWeb) {
33
34
  // BottomSheetRouter works on all platforms
34
35
  try {
35
36
  BottomSheetRouter = require('./BottomSheetRouter').default;
36
- } catch {
37
- // BottomSheetRouter not available
37
+ } catch (error) {
38
+ if (__DEV__) {
39
+ console.error('[OxyProvider] Failed to load BottomSheetRouter:', error);
40
+ }
38
41
  }
39
42
 
40
43
  // SignInModal works on all platforms
@@ -44,6 +47,10 @@ try {
44
47
  // SignInModal not available
45
48
  }
46
49
 
50
+ if (__DEV__ && !BottomSheetRouter) {
51
+ console.warn('[OxyProvider] BottomSheetRouter is null — bottom sheet navigation will not work. Check that BottomSheetRouter.tsx and its dependencies are importable.');
52
+ }
53
+
47
54
  /**
48
55
  * OxyProvider - Universal provider for Expo apps (native + web)
49
56
  *
@@ -135,7 +142,7 @@ const OxyProvider: FC<OxyProviderProps> = ({
135
142
  return () => {
136
143
  document.removeEventListener('visibilitychange', handleVisibilityChange);
137
144
  };
138
- } else {
145
+ }
139
146
  // Native: use AppState
140
147
  const subscription = AppState.addEventListener('change', (state) => {
141
148
  focusManager.setFocused(state === 'active');
@@ -143,7 +150,6 @@ const OxyProvider: FC<OxyProviderProps> = ({
143
150
  return () => {
144
151
  subscription.remove();
145
152
  };
146
- }
147
153
  }, []);
148
154
 
149
155
  // Setup network status monitoring for offline detection
@@ -204,12 +210,12 @@ const OxyProvider: FC<OxyProviderProps> = ({
204
210
  const coreContent = (
205
211
  <QueryClientProvider client={queryClient}>
206
212
  <OxyContextProvider
207
- oxyServices={oxyServices as any}
213
+ oxyServices={oxyServices as OxyContextProviderProps['oxyServices']}
208
214
  baseURL={baseURL}
209
215
  authWebUrl={authWebUrl}
210
216
  authRedirectUri={authRedirectUri}
211
217
  storageKeyPrefix={storageKeyPrefix}
212
- onAuthStateChange={onAuthStateChange as any}
218
+ onAuthStateChange={onAuthStateChange as OxyContextProviderProps['onAuthStateChange']}
213
219
  >
214
220
  {children}
215
221
  {/* Only render bottom sheet router on native */}
@@ -8,7 +8,8 @@
8
8
  * Animates with fade-in effect.
9
9
  */
10
10
 
11
- import React, { useState, useEffect, useCallback, useRef } from 'react';
11
+ import type React from 'react';
12
+ import { useState, useEffect, useCallback, useRef } from 'react';
12
13
  import {
13
14
  View,
14
15
  Text,
@@ -2,11 +2,11 @@ import * as React from 'react';
2
2
  import {
3
3
  Animated,
4
4
  Platform,
5
- ShadowStyleIOS,
6
- StyleProp,
5
+ type ShadowStyleIOS,
6
+ type StyleProp,
7
7
  StyleSheet,
8
- View,
9
- ViewStyle,
8
+ type View,
9
+ type ViewStyle,
10
10
  } from 'react-native';
11
11
 
12
12
  import { useInternalTheme } from './theming';
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
2
  import {
3
3
  StyleSheet,
4
- ColorValue,
5
- StyleProp,
4
+ type ColorValue,
5
+ type StyleProp,
6
6
  View,
7
- ViewStyle,
7
+ type ViewStyle,
8
8
  } from 'react-native';
9
9
 
10
- import { TextInputLabelProp } from '../types';
10
+ import type { TextInputLabelProp } from '../types';
11
11
 
12
12
  type OutlineProps = {
13
13
  isV3: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Animated, StyleSheet, StyleProp, ViewStyle } from 'react-native';
2
+ import { Animated, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
3
3
 
4
4
  import type { ThemeProp } from '../../types';
5
5
 
@@ -25,7 +25,7 @@ export function getAdornmentConfig({
25
25
  left?: React.ReactNode;
26
26
  right?: React.ReactNode;
27
27
  }): Array<AdornmentConfig> {
28
- let adornmentConfig: any[] = [];
28
+ const adornmentConfig: any[] = [];
29
29
  if (left || right) {
30
30
  [
31
31
  { side: AdornmentSide.Left, adornment: left },
@@ -104,9 +104,8 @@ export function getAdornmentStyleAdjustmentForNativeInput({
104
104
  {}
105
105
  );
106
106
  return allStyleAdjustmentsMerged;
107
- } else {
108
- return [{}];
109
107
  }
108
+ return [{}];
110
109
  }
111
110
 
112
111
  const captalize = (text: string) =>
@@ -181,7 +180,7 @@ const TextFieldAdornment: React.FunctionComponent<TextFieldAdornmentProps> = ({
181
180
  forceFocus={forceFocus}
182
181
  />
183
182
  );
184
- } else if (type === AdornmentType.Affix) {
183
+ }if (type === AdornmentType.Affix) {
185
184
  return (
186
185
  <AffixAdornment
187
186
  {...commonProps}
@@ -194,15 +193,13 @@ const TextFieldAdornment: React.FunctionComponent<TextFieldAdornmentProps> = ({
194
193
  maxFontSizeMultiplier={maxFontSizeMultiplier}
195
194
  />
196
195
  );
197
- } else {
198
- return null;
199
196
  }
197
+ return null;
200
198
  })}
201
199
  </>
202
200
  );
203
- } else {
204
- return null;
205
201
  }
202
+ return null;
206
203
  };
207
204
 
208
205
  export default TextFieldAdornment;