@oxyhq/services 6.9.13 → 6.9.15

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 (1336) hide show
  1. package/lib/commonjs/assets/assets/icons/OxyServices.d.ts +28 -0
  2. package/lib/commonjs/assets/assets/icons/OxyServices.js +53 -0
  3. package/lib/commonjs/assets/assets/illustrations/HighFive.d.ts +7 -0
  4. package/lib/commonjs/assets/assets/illustrations/HighFive.js +41 -0
  5. package/lib/commonjs/assets/icons/OxyServices.js +52 -13
  6. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
  7. package/lib/commonjs/assets/illustrations/HighFive.js +57 -18
  8. package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -1
  9. package/lib/commonjs/index.js +190 -200
  10. package/lib/commonjs/index.js.map +1 -1
  11. package/lib/commonjs/lib/sonner-safe.js.map +1 -0
  12. package/lib/commonjs/lib/sonner.js +16 -5
  13. package/lib/commonjs/lib/sonner.js.map +1 -1
  14. package/lib/commonjs/lib/sonner.native.js +45 -8
  15. package/lib/commonjs/lib/sonner.native.js.map +1 -1
  16. package/lib/commonjs/lib/sonner.web.js +45 -8
  17. package/lib/commonjs/lib/sonner.web.js.map +1 -1
  18. package/lib/commonjs/ui/client.js +88 -66
  19. package/lib/commonjs/ui/client.js.map +1 -1
  20. package/lib/commonjs/ui/components/ActivityIndicator.js +26 -0
  21. package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -0
  22. package/lib/commonjs/ui/components/Avatar.js +27 -39
  23. package/lib/commonjs/ui/components/Avatar.js.map +1 -0
  24. package/lib/commonjs/ui/components/BottomSheet.js +20 -0
  25. package/lib/commonjs/ui/components/BottomSheet.js.map +1 -0
  26. package/lib/commonjs/ui/components/BottomSheetRouter.js +103 -65
  27. package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -0
  28. package/lib/commonjs/ui/components/CrossFadeIcon.js +30 -0
  29. package/lib/commonjs/ui/components/CrossFadeIcon.js.map +1 -0
  30. package/lib/commonjs/ui/components/EmptyState.js +13 -10
  31. package/lib/commonjs/ui/components/EmptyState.js.map +1 -1
  32. package/lib/commonjs/ui/components/FollowButton.js +81 -52
  33. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  34. package/lib/commonjs/ui/components/FontLoader.js +52 -17
  35. package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
  36. package/lib/commonjs/ui/components/GroupedItem.js +29 -27
  37. package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
  38. package/lib/commonjs/ui/components/GroupedSection.js +11 -10
  39. package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
  40. package/lib/commonjs/ui/components/Header.js +34 -0
  41. package/lib/commonjs/ui/components/Header.js.map +1 -0
  42. package/lib/commonjs/ui/components/HelperText.js +26 -0
  43. package/lib/commonjs/ui/components/HelperText.js.map +1 -0
  44. package/lib/commonjs/ui/components/Icon.js +12 -12
  45. package/lib/commonjs/ui/components/Icon.js.map +1 -1
  46. package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -0
  47. package/lib/commonjs/ui/components/IconButton/utils.js +8 -4
  48. package/lib/commonjs/ui/components/IconButton/utils.js.map +1 -1
  49. package/lib/commonjs/ui/components/LoadingState.js +14 -11
  50. package/lib/commonjs/ui/components/LoadingState.js.map +1 -1
  51. package/lib/commonjs/ui/components/OxyLogo.js +53 -14
  52. package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
  53. package/lib/commonjs/ui/components/OxyPayButton.js +19 -17
  54. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
  55. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
  56. package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
  57. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  58. package/lib/commonjs/ui/components/ProfileCard.js +35 -31
  59. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -0
  60. package/lib/commonjs/ui/components/QuickActions.js +16 -16
  61. package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
  62. package/lib/commonjs/ui/components/Section.js +15 -12
  63. package/lib/commonjs/ui/components/Section.js.map +1 -1
  64. package/lib/commonjs/ui/components/SectionTitle.js +13 -14
  65. package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
  66. package/lib/commonjs/ui/components/SettingRow.js.map +1 -0
  67. package/lib/commonjs/ui/components/SignInModal.js +132 -115
  68. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  69. package/lib/commonjs/ui/components/StepBasedScreen.js +85 -71
  70. package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
  71. package/lib/commonjs/ui/components/Surface.js +79 -37
  72. package/lib/commonjs/ui/components/Surface.js.map +1 -1
  73. package/lib/commonjs/ui/components/TextField/Addons/Underline.js +6 -8
  74. package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +1 -1
  75. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +74 -29
  76. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
  77. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +27 -23
  78. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -1
  79. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +31 -27
  80. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
  81. package/lib/commonjs/ui/components/TextField/Adornment/enums.js +11 -11
  82. package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +1 -1
  83. package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +1 -0
  84. package/lib/commonjs/ui/components/TextField/Adornment/utils.js +1 -1
  85. package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -1
  86. package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +23 -21
  87. package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +1 -1
  88. package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +37 -10
  89. package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +2 -1
  90. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +106 -65
  91. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
  92. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +33 -0
  93. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +1 -0
  94. package/lib/commonjs/ui/components/TextField/constants.js +35 -25
  95. package/lib/commonjs/ui/components/TextField/constants.js.map +1 -1
  96. package/lib/commonjs/ui/components/TextField/helpers.js +44 -43
  97. package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -1
  98. package/lib/commonjs/ui/components/TextField/types.js.map +1 -0
  99. package/lib/commonjs/ui/components/TextField.js +76 -35
  100. package/lib/commonjs/ui/components/TextField.js.map +1 -1
  101. package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +1 -1
  102. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +64 -30
  103. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
  104. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +68 -26
  105. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
  106. package/lib/commonjs/ui/components/TouchableRipple/utils.js +10 -6
  107. package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +1 -1
  108. package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +1 -0
  109. package/lib/commonjs/ui/components/Typography/types.js +3 -3
  110. package/lib/commonjs/ui/components/Typography/types.js.map +1 -1
  111. package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
  112. package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +1 -1
  113. package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
  114. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +1 -1
  115. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -0
  116. package/lib/commonjs/ui/components/feedback/index.js +10 -0
  117. package/lib/commonjs/ui/components/feedback/index.js.map +1 -1
  118. package/lib/commonjs/ui/components/feedback/types.js.map +1 -1
  119. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +5 -5
  120. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -1
  121. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +13 -14
  122. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  123. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +77 -66
  124. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  125. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +127 -118
  126. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  127. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
  128. package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -0
  129. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +20 -0
  130. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  131. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -0
  132. package/lib/commonjs/ui/components/icon/index.js +12 -7
  133. package/lib/commonjs/ui/components/icon/index.js.map +1 -1
  134. package/lib/commonjs/ui/components/index.js +62 -54
  135. package/lib/commonjs/ui/components/index.js.map +1 -1
  136. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +22 -21
  137. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +1 -0
  138. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +52 -41
  139. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  140. package/lib/commonjs/ui/components/modals/index.js +8 -3
  141. package/lib/commonjs/ui/components/modals/index.js.map +1 -1
  142. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +89 -70
  143. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  144. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  145. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
  146. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  147. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  148. package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
  149. package/lib/commonjs/ui/components/payment/index.js +15 -0
  150. package/lib/commonjs/ui/components/payment/index.js.map +1 -1
  151. package/lib/commonjs/ui/components/payment/paymentStyles.js +10 -10
  152. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
  153. package/lib/commonjs/ui/components/payment/types.js.map +1 -1
  154. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +59 -27
  155. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  156. package/lib/commonjs/ui/components/styles/overlay.js +4 -6
  157. package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
  158. package/lib/commonjs/ui/components/styles/shadow.js +7 -7
  159. package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
  160. package/lib/commonjs/ui/components/theming.js +4 -6
  161. package/lib/commonjs/ui/components/theming.js.map +1 -1
  162. package/lib/commonjs/ui/components/types.js.map +1 -1
  163. package/lib/commonjs/ui/components/utils/forwardRef.js +43 -3
  164. package/lib/commonjs/ui/components/utils/forwardRef.js.map +1 -1
  165. package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -1
  166. package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
  167. package/lib/commonjs/ui/components/utils/splitStyles.js +1 -7
  168. package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -1
  169. package/lib/commonjs/ui/constants/iconColors.js +12 -16
  170. package/lib/commonjs/ui/constants/iconColors.js.map +1 -0
  171. package/lib/commonjs/ui/constants/spacing.js.map +1 -1
  172. package/lib/commonjs/ui/constants/theme.js +8 -9
  173. package/lib/commonjs/ui/constants/theme.js.map +1 -1
  174. package/lib/commonjs/ui/context/OxyContext.js +1 -0
  175. package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
  176. package/lib/commonjs/ui/context/ThemeContext.js +27 -4
  177. package/lib/commonjs/ui/context/ThemeContext.js.map +2 -1
  178. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +27 -0
  179. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
  180. package/lib/commonjs/ui/hooks/index.js +27 -26
  181. package/lib/commonjs/ui/hooks/index.js.map +1 -1
  182. package/lib/commonjs/ui/hooks/mutations/index.js +31 -22
  183. package/lib/commonjs/ui/hooks/mutations/index.js.map +1 -1
  184. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
  185. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +83 -106
  186. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  187. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +45 -53
  188. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  189. package/lib/commonjs/ui/hooks/queries/index.js +50 -39
  190. package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
  191. package/lib/commonjs/ui/hooks/queries/queryKeys.js +6 -0
  192. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
  193. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +33 -39
  194. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
  195. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +11 -12
  196. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  197. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +28 -32
  198. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
  199. package/lib/commonjs/ui/hooks/queryClient.js +10 -17
  200. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
  201. package/lib/commonjs/ui/hooks/useAssets.js +13 -26
  202. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
  203. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
  204. package/lib/commonjs/ui/hooks/useAuth.js +23 -28
  205. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
  206. package/lib/commonjs/ui/hooks/useAvatarPicker.js +3 -0
  207. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
  208. package/lib/commonjs/ui/hooks/useColorScheme.js +6 -8
  209. package/lib/commonjs/ui/hooks/useColorScheme.js.map +1 -1
  210. package/lib/commonjs/ui/hooks/useDeviceManagement.js +10 -10
  211. package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -1
  212. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +7 -7
  213. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
  214. package/lib/commonjs/ui/hooks/useFileFiltering.js +7 -9
  215. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
  216. package/lib/commonjs/ui/hooks/useFollow.js +67 -75
  217. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
  218. package/lib/commonjs/ui/hooks/useFollow.types.js +5 -0
  219. package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
  220. package/lib/commonjs/ui/hooks/useI18n.js +1 -1
  221. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
  222. package/lib/commonjs/ui/hooks/useLanguageManagement.js +16 -17
  223. package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
  224. package/lib/commonjs/ui/hooks/useProfileEditing.js +1 -1
  225. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
  226. package/lib/commonjs/ui/hooks/useQueryClient.js +2 -2
  227. package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -1
  228. package/lib/commonjs/ui/hooks/useSessionManagement.js +40 -44
  229. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
  230. package/lib/commonjs/ui/hooks/useSessionSocket.js +34 -39
  231. package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
  232. package/lib/commonjs/ui/hooks/useSettingToggle.js +16 -22
  233. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
  234. package/lib/commonjs/ui/hooks/useStorage.js +6 -6
  235. package/lib/commonjs/ui/hooks/useStorage.js.map +1 -1
  236. package/lib/commonjs/ui/hooks/useThemeColors.js +1 -1
  237. package/lib/commonjs/ui/hooks/useThemeColors.js.map +1 -1
  238. package/lib/commonjs/ui/hooks/useThemeStyles.js +12 -13
  239. package/lib/commonjs/ui/hooks/useThemeStyles.js.map +1 -1
  240. package/lib/commonjs/ui/hooks/useWebSSO.js +11 -19
  241. package/lib/commonjs/ui/hooks/useWebSSO.js.map +1 -1
  242. package/lib/commonjs/ui/index.js +61 -51
  243. package/lib/commonjs/ui/index.js.map +1 -1
  244. package/lib/commonjs/ui/isFrontend.js +2 -2
  245. package/lib/commonjs/ui/isFrontend.js.map +1 -1
  246. package/lib/commonjs/ui/navigation/bottomSheetManager.js +1 -1
  247. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
  248. package/lib/commonjs/ui/navigation/routes.js +6 -12
  249. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  250. package/lib/commonjs/ui/screens/AccountCenterScreen.js +75 -66
  251. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  252. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +164 -133
  253. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -0
  254. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +150 -133
  255. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  256. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  257. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +83 -44
  258. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  259. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
  260. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +19 -0
  261. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  262. package/lib/commonjs/ui/screens/FAQScreen.js +61 -54
  263. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
  264. package/lib/commonjs/ui/screens/FeedbackScreen.js +155 -137
  265. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  266. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
  267. package/lib/commonjs/ui/screens/FollowersListScreen.js +9 -6
  268. package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -1
  269. package/lib/commonjs/ui/screens/FollowingListScreen.js +9 -6
  270. package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -1
  271. package/lib/commonjs/ui/screens/HelpSupportScreen.js +75 -36
  272. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  273. package/lib/commonjs/ui/screens/HistoryViewScreen.js +79 -43
  274. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  275. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +82 -50
  276. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  277. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +35 -31
  278. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  279. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +23 -0
  280. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
  281. package/lib/commonjs/ui/screens/OxyAuthScreen.js +120 -107
  282. package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
  283. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +63 -69
  284. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  285. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +241 -205
  286. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  287. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +114 -81
  288. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  289. package/lib/commonjs/ui/screens/ProfileScreen.js +128 -102
  290. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  291. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +31 -0
  292. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
  293. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +69 -32
  294. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  295. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -0
  296. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  297. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  298. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +120 -85
  299. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  300. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  301. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +91 -72
  302. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
  303. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +80 -45
  304. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  305. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  306. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
  307. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +29 -29
  308. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  309. package/lib/commonjs/ui/server.js +47 -58
  310. package/lib/commonjs/ui/server.js.map +1 -1
  311. package/lib/commonjs/ui/stores/accountStore.js +1 -1
  312. package/lib/commonjs/ui/stores/accountStore.js.map +1 -0
  313. package/lib/commonjs/ui/stores/assetStore.js +13 -16
  314. package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
  315. package/lib/commonjs/ui/stores/authStore.js +5 -6
  316. package/lib/commonjs/ui/stores/authStore.js.map +1 -1
  317. package/lib/commonjs/ui/stores/fileStore.js.map +1 -1
  318. package/lib/commonjs/ui/stores/followStore.js +3 -10
  319. package/lib/commonjs/ui/stores/followStore.js.map +1 -1
  320. package/lib/commonjs/ui/styles/authStyles.js +12 -12
  321. package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
  322. package/lib/commonjs/ui/styles/fonts.js +18 -19
  323. package/lib/commonjs/ui/styles/fonts.js.map +1 -1
  324. package/lib/commonjs/ui/styles/index.js.map +1 -0
  325. package/lib/commonjs/ui/styles/spacing.js +11 -0
  326. package/lib/commonjs/ui/styles/spacing.js.map +1 -0
  327. package/lib/commonjs/ui/styles/theme.js +11 -12
  328. package/lib/commonjs/ui/styles/theme.js.map +1 -1
  329. package/lib/commonjs/ui/types/fileManagement.js.map +1 -1
  330. package/lib/commonjs/ui/types/navigation.js.map +1 -1
  331. package/lib/commonjs/ui/utils/avatarUtils.js +11 -16
  332. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
  333. package/lib/commonjs/ui/utils/colorUtils.js +17 -0
  334. package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
  335. package/lib/commonjs/ui/utils/confirmAction.js +1 -1
  336. package/lib/commonjs/ui/utils/confirmAction.js.map +1 -1
  337. package/lib/commonjs/ui/utils/errorHandlers.js +1 -0
  338. package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
  339. package/lib/commonjs/ui/utils/fileManagement.js +22 -38
  340. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
  341. package/lib/commonjs/ui/utils/iconNames.js.map +1 -0
  342. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
  343. package/lib/commonjs/ui/utils/storageHelpers.js +7 -12
  344. package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
  345. package/lib/commonjs/ui/utils/themeUtils.js +15 -0
  346. package/lib/commonjs/ui/utils/themeUtils.js.map +1 -0
  347. package/lib/commonjs/ui/utils/userUtils.js +6 -9
  348. package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
  349. package/lib/commonjs/utils/hookUtils.js +60 -79
  350. package/lib/commonjs/utils/hookUtils.js.map +1 -1
  351. package/lib/module/assets/assets/icons/OxyServices.d.ts +28 -0
  352. package/lib/module/assets/assets/icons/OxyServices.js +53 -0
  353. package/lib/module/assets/assets/illustrations/HighFive.d.ts +7 -0
  354. package/lib/module/assets/assets/illustrations/HighFive.js +41 -0
  355. package/lib/module/assets/icons/OxyServices.js +12 -0
  356. package/lib/module/assets/icons/OxyServices.js.map +1 -0
  357. package/lib/module/assets/illustrations/HighFive.js +15 -0
  358. package/lib/module/assets/illustrations/HighFive.js.map +1 -0
  359. package/lib/module/index.js +406 -34
  360. package/lib/module/index.js.map +1 -1
  361. package/lib/module/lib/sonner-safe.js +7 -8
  362. package/lib/module/lib/sonner-safe.js.map +1 -1
  363. package/lib/module/lib/sonner.js +17 -1
  364. package/lib/module/lib/sonner.js.map +1 -1
  365. package/lib/module/lib/sonner.native.js +45 -0
  366. package/lib/module/lib/sonner.native.js.map +1 -1
  367. package/lib/module/lib/sonner.web.js +48 -6
  368. package/lib/module/lib/sonner.web.js.map +1 -1
  369. package/lib/module/ui/client.js +165 -25
  370. package/lib/module/ui/client.js.map +1 -1
  371. package/lib/module/ui/components/ActivityIndicator.js +69 -27
  372. package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
  373. package/lib/module/ui/components/AutoHeightScrollView.js +13 -9
  374. package/lib/module/ui/components/AutoHeightScrollView.js.map +1 -1
  375. package/lib/module/ui/components/Avatar.js +8 -0
  376. package/lib/module/ui/components/Avatar.js.map +1 -1
  377. package/lib/module/ui/components/BottomSheet.js +99 -0
  378. package/lib/module/ui/components/BottomSheet.js.map +1 -0
  379. package/lib/module/ui/components/BottomSheetRouter.js +105 -61
  380. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
  381. package/lib/module/ui/components/CrossFadeIcon.js +60 -16
  382. package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
  383. package/lib/module/ui/components/EmptyState.js +15 -7
  384. package/lib/module/ui/components/EmptyState.js.map +1 -1
  385. package/lib/module/ui/components/FollowButton.js +84 -50
  386. package/lib/module/ui/components/FollowButton.js.map +1 -0
  387. package/lib/module/ui/components/FontLoader.js +57 -17
  388. package/lib/module/ui/components/FontLoader.js.map +1 -1
  389. package/lib/module/ui/components/GroupedItem.js +31 -27
  390. package/lib/module/ui/components/GroupedItem.js.map +1 -1
  391. package/lib/module/ui/components/GroupedSection.js +13 -9
  392. package/lib/module/ui/components/GroupedSection.js.map +1 -1
  393. package/lib/module/ui/components/Header.js +102 -57
  394. package/lib/module/ui/components/Header.js.map +1 -1
  395. package/lib/module/ui/components/HelperText.js +55 -13
  396. package/lib/module/ui/components/HelperText.js.map +1 -1
  397. package/lib/module/ui/components/Icon.js +19 -13
  398. package/lib/module/ui/components/Icon.js.map +1 -0
  399. package/lib/module/ui/components/IconButton/IconButton.js +31 -24
  400. package/lib/module/ui/components/IconButton/IconButton.js.map +1 -0
  401. package/lib/module/ui/components/IconButton/utils.js +14 -4
  402. package/lib/module/ui/components/IconButton/utils.js.map +1 -1
  403. package/lib/module/ui/components/LoadingState.js +12 -0
  404. package/lib/module/ui/components/LoadingState.js.map +1 -0
  405. package/lib/module/ui/components/OxyLogo.js +13 -0
  406. package/lib/module/ui/components/OxyLogo.js.map +1 -1
  407. package/lib/module/ui/components/OxyPayButton.js +14 -0
  408. package/lib/module/ui/components/OxyPayButton.js.map +1 -1
  409. package/lib/module/ui/components/OxyProvider.js +39 -48
  410. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  411. package/lib/module/ui/components/OxySignInButton.js +42 -37
  412. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  413. package/lib/module/ui/components/ProfileCard.js +37 -29
  414. package/lib/module/ui/components/ProfileCard.js.map +1 -1
  415. package/lib/module/ui/components/QuickActions.js +18 -15
  416. package/lib/module/ui/components/QuickActions.js.map +1 -1
  417. package/lib/module/ui/components/Section.js +16 -0
  418. package/lib/module/ui/components/Section.js.map +1 -1
  419. package/lib/module/ui/components/SectionTitle.js +15 -12
  420. package/lib/module/ui/components/SectionTitle.js.map +1 -1
  421. package/lib/module/ui/components/SettingRow.js +17 -0
  422. package/lib/module/ui/components/SettingRow.js.map +1 -1
  423. package/lib/module/ui/components/SignInModal.js +142 -115
  424. package/lib/module/ui/components/SignInModal.js.map +1 -1
  425. package/lib/module/ui/components/StepBasedScreen.js +43 -0
  426. package/lib/module/ui/components/StepBasedScreen.js.map +1 -0
  427. package/lib/module/ui/components/Surface.js +82 -34
  428. package/lib/module/ui/components/Surface.js.map +1 -1
  429. package/lib/module/ui/components/TextField/Addons/Outline.js +8 -0
  430. package/lib/module/ui/components/TextField/Addons/Outline.js.map +1 -0
  431. package/lib/module/ui/components/TextField/Addons/Underline.js +12 -8
  432. package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
  433. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +62 -0
  434. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -0
  435. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +15 -0
  436. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -0
  437. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +33 -28
  438. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
  439. package/lib/module/ui/components/TextField/Adornment/enums.js +13 -9
  440. package/lib/module/ui/components/TextField/Adornment/enums.js.map +1 -0
  441. package/lib/module/ui/components/TextField/Adornment/types.js +3 -0
  442. package/lib/module/ui/components/TextField/Adornment/types.js.map +1 -0
  443. package/lib/module/ui/components/TextField/Adornment/utils.js +7 -2
  444. package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -1
  445. package/lib/module/ui/components/TextField/Label/InputLabel.js +25 -18
  446. package/lib/module/ui/components/TextField/Label/InputLabel.js.map +1 -0
  447. package/lib/module/ui/components/TextField/TextFieldFlat.js +109 -63
  448. package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
  449. package/lib/module/ui/components/TextField/TextFieldOutlined.js +109 -61
  450. package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
  451. package/lib/module/ui/components/TextField/constants.js +23 -0
  452. package/lib/module/ui/components/TextField/constants.js.map +1 -0
  453. package/lib/module/ui/components/TextField/helpers.js +69 -50
  454. package/lib/module/ui/components/TextField/helpers.js.map +1 -1
  455. package/lib/module/ui/components/TextField/types.js +3 -1
  456. package/lib/module/ui/components/TextField/types.js.map +1 -1
  457. package/lib/module/ui/components/TextField.js +64 -0
  458. package/lib/module/ui/components/TextField.js.map +1 -0
  459. package/lib/module/ui/components/TouchableRipple/Pressable.js +7 -6
  460. package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -1
  461. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +67 -28
  462. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
  463. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +47 -0
  464. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
  465. package/lib/module/ui/components/TouchableRipple/utils.js +16 -6
  466. package/lib/module/ui/components/TouchableRipple/utils.js.map +1 -1
  467. package/lib/module/ui/components/Typography/AnimatedText.js +8 -0
  468. package/lib/module/ui/components/Typography/AnimatedText.js.map +1 -0
  469. package/lib/module/ui/components/Typography/types.js +7 -3
  470. package/lib/module/ui/components/Typography/types.js.map +1 -1
  471. package/lib/module/ui/components/feedback/FormInput.js +20 -12
  472. package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
  473. package/lib/module/ui/components/feedback/ProgressIndicator.js +10 -0
  474. package/lib/module/ui/components/feedback/ProgressIndicator.js.map +1 -0
  475. package/lib/module/ui/components/feedback/constants.js +7 -3
  476. package/lib/module/ui/components/feedback/constants.js.map +1 -1
  477. package/lib/module/ui/components/feedback/feedbackStyles.js +15 -10
  478. package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
  479. package/lib/module/ui/components/feedback/index.js +56 -5
  480. package/lib/module/ui/components/feedback/index.js.map +1 -1
  481. package/lib/module/ui/components/feedback/types.js +3 -0
  482. package/lib/module/ui/components/feedback/types.js.map +1 -0
  483. package/lib/module/ui/components/feedback/useFeedbackForm.js +11 -6
  484. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -1
  485. package/lib/module/ui/components/fileManagement/AnimatedButton.js +10 -0
  486. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  487. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +72 -67
  488. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  489. package/lib/module/ui/components/fileManagement/FileViewer.js +38 -0
  490. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
  491. package/lib/module/ui/components/fileManagement/UploadPreview.js +27 -0
  492. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  493. package/lib/module/ui/components/fileManagement/styles.js +24 -20
  494. package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
  495. package/lib/module/ui/components/icon/FAIRWalletIcon.js +58 -14
  496. package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  497. package/lib/module/ui/components/icon/OxyIcon.js +5 -0
  498. package/lib/module/ui/components/icon/OxyIcon.js.map +1 -0
  499. package/lib/module/ui/components/icon/index.js +23 -2
  500. package/lib/module/ui/components/icon/index.js.map +1 -1
  501. package/lib/module/ui/components/index.js +111 -0
  502. package/lib/module/ui/components/index.js.map +1 -1
  503. package/lib/module/ui/components/internal/GroupedPillButtons.js +11 -0
  504. package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -1
  505. package/lib/module/ui/components/internal/PinInput.js +15 -12
  506. package/lib/module/ui/components/internal/PinInput.js.map +1 -1
  507. package/lib/module/ui/components/modals/DeleteAccountModal.js +48 -40
  508. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  509. package/lib/module/ui/components/modals/index.js +16 -1
  510. package/lib/module/ui/components/modals/index.js.map +1 -1
  511. package/lib/module/ui/components/payment/PaymentDetailsStep.js +77 -69
  512. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  513. package/lib/module/ui/components/payment/PaymentMethodStep.js +25 -17
  514. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  515. package/lib/module/ui/components/payment/PaymentReviewStep.js +13 -0
  516. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
  517. package/lib/module/ui/components/payment/PaymentSuccessStep.js +18 -0
  518. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  519. package/lib/module/ui/components/payment/PaymentSummaryStep.js +29 -0
  520. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  521. package/lib/module/ui/components/payment/constants.js +7 -0
  522. package/lib/module/ui/components/payment/constants.js.map +1 -0
  523. package/lib/module/ui/components/payment/index.js +73 -0
  524. package/lib/module/ui/components/payment/index.js.map +1 -1
  525. package/lib/module/ui/components/payment/paymentStyles.js +9 -0
  526. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
  527. package/lib/module/ui/components/payment/types.js +3 -1
  528. package/lib/module/ui/components/payment/types.js.map +1 -1
  529. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +62 -25
  530. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  531. package/lib/module/ui/components/styles/overlay.js +13 -0
  532. package/lib/module/ui/components/styles/overlay.js.map +1 -1
  533. package/lib/module/ui/components/styles/shadow.js +12 -8
  534. package/lib/module/ui/components/styles/shadow.js.map +1 -1
  535. package/lib/module/ui/components/theming.js +9 -6
  536. package/lib/module/ui/components/theming.js.map +1 -1
  537. package/lib/module/ui/components/types.js +3 -1
  538. package/lib/module/ui/components/types.js.map +1 -1
  539. package/lib/module/ui/components/utils/forwardRef.js +40 -0
  540. package/lib/module/ui/components/utils/forwardRef.js.map +1 -0
  541. package/lib/module/ui/components/utils/hasTouchHandler.js +5 -1
  542. package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -1
  543. package/lib/module/ui/components/utils/roundLayoutSize.js +6 -1
  544. package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -1
  545. package/lib/module/ui/components/utils/splitStyles.js +5 -7
  546. package/lib/module/ui/components/utils/splitStyles.js.map +1 -1
  547. package/lib/module/ui/constants/iconColors.js +16 -14
  548. package/lib/module/ui/constants/iconColors.js.map +1 -1
  549. package/lib/module/ui/constants/spacing.js +24 -25
  550. package/lib/module/ui/constants/spacing.js.map +1 -1
  551. package/lib/module/ui/constants/theme.js +7 -4
  552. package/lib/module/ui/constants/theme.js.map +1 -1
  553. package/lib/module/ui/context/OxyContext.js +17 -0
  554. package/lib/module/ui/context/OxyContext.js.map +1 -0
  555. package/lib/module/ui/context/ThemeContext.js +13 -7
  556. package/lib/module/ui/context/ThemeContext.js.map +1 -1
  557. package/lib/module/ui/context/hooks/useAuthOperations.js +68 -39
  558. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  559. package/lib/module/ui/hooks/index.js +64 -0
  560. package/lib/module/ui/hooks/index.js.map +1 -0
  561. package/lib/module/ui/hooks/mutations/index.js +67 -5
  562. package/lib/module/ui/hooks/mutations/index.js.map +1 -1
  563. package/lib/module/ui/hooks/mutations/mutationFactory.js +7 -0
  564. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
  565. package/lib/module/ui/hooks/mutations/useAccountMutations.js +92 -109
  566. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  567. package/lib/module/ui/hooks/mutations/useServicesMutations.js +54 -54
  568. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  569. package/lib/module/ui/hooks/queries/index.js +114 -0
  570. package/lib/module/ui/hooks/queries/index.js.map +1 -0
  571. package/lib/module/ui/hooks/queries/queryKeys.js +39 -36
  572. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
  573. package/lib/module/ui/hooks/queries/useAccountQueries.js +44 -40
  574. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  575. package/lib/module/ui/hooks/queries/useSecurityQueries.js +17 -12
  576. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  577. package/lib/module/ui/hooks/queries/useServicesQueries.js +37 -33
  578. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  579. package/lib/module/ui/hooks/queryClient.js +17 -17
  580. package/lib/module/ui/hooks/queryClient.js.map +1 -1
  581. package/lib/module/ui/hooks/useAssets.js +19 -26
  582. package/lib/module/ui/hooks/useAssets.js.map +1 -1
  583. package/lib/module/ui/hooks/useAsyncAction.js +20 -16
  584. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
  585. package/lib/module/ui/hooks/useAuth.js +24 -20
  586. package/lib/module/ui/hooks/useAuth.js.map +1 -1
  587. package/lib/module/ui/hooks/useAvatarPicker.js +16 -13
  588. package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
  589. package/lib/module/ui/hooks/useColorScheme.js +3 -0
  590. package/lib/module/ui/hooks/useColorScheme.js.map +1 -1
  591. package/lib/module/ui/hooks/useDeviceManagement.js +16 -11
  592. package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
  593. package/lib/module/ui/hooks/useFileDownloadUrl.js +15 -9
  594. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
  595. package/lib/module/ui/hooks/useFileFiltering.js +9 -0
  596. package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
  597. package/lib/module/ui/hooks/useFollow.js +75 -77
  598. package/lib/module/ui/hooks/useFollow.js.map +1 -1
  599. package/lib/module/ui/hooks/useFollow.types.js +6 -0
  600. package/lib/module/ui/hooks/useFollow.types.js.map +1 -1
  601. package/lib/module/ui/hooks/useI18n.js +7 -0
  602. package/lib/module/ui/hooks/useI18n.js.map +1 -0
  603. package/lib/module/ui/hooks/useLanguageManagement.js +22 -18
  604. package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
  605. package/lib/module/ui/hooks/useProfileEditing.js +9 -0
  606. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
  607. package/lib/module/ui/hooks/useQueryClient.js +5 -0
  608. package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
  609. package/lib/module/ui/hooks/useSessionManagement.js +46 -45
  610. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
  611. package/lib/module/ui/hooks/useSessionSocket.js +15 -0
  612. package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
  613. package/lib/module/ui/hooks/useSettingToggle.js +14 -0
  614. package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
  615. package/lib/module/ui/hooks/useStorage.js +12 -7
  616. package/lib/module/ui/hooks/useStorage.js.map +1 -0
  617. package/lib/module/ui/hooks/useThemeColors.js +14 -10
  618. package/lib/module/ui/hooks/useThemeColors.js.map +1 -0
  619. package/lib/module/ui/hooks/useThemeStyles.js +18 -14
  620. package/lib/module/ui/hooks/useThemeStyles.js.map +1 -1
  621. package/lib/module/ui/hooks/useWebSSO.js +12 -16
  622. package/lib/module/ui/hooks/useWebSSO.js.map +1 -1
  623. package/lib/module/ui/index.js +74 -46
  624. package/lib/module/ui/index.js.map +1 -1
  625. package/lib/module/ui/isFrontend.js +4 -1
  626. package/lib/module/ui/isFrontend.js.map +1 -1
  627. package/lib/module/ui/navigation/bottomSheetManager.js +17 -0
  628. package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
  629. package/lib/module/ui/navigation/routes.js +8 -14
  630. package/lib/module/ui/navigation/routes.js.map +1 -1
  631. package/lib/module/ui/screens/AccountCenterScreen.js +71 -65
  632. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  633. package/lib/module/ui/screens/AccountOverviewScreen.js +167 -131
  634. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  635. package/lib/module/ui/screens/AccountSettingsScreen.js +88 -0
  636. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
  637. package/lib/module/ui/screens/AccountSwitcherScreen.js +88 -0
  638. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -0
  639. package/lib/module/ui/screens/AccountVerificationScreen.js +86 -42
  640. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  641. package/lib/module/ui/screens/AppInfoScreen.js +79 -76
  642. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  643. package/lib/module/ui/screens/EditProfileFieldScreen.js +114 -89
  644. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  645. package/lib/module/ui/screens/FAQScreen.js +38 -0
  646. package/lib/module/ui/screens/FAQScreen.js.map +1 -0
  647. package/lib/module/ui/screens/FeedbackScreen.js +58 -0
  648. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
  649. package/lib/module/ui/screens/FileManagementScreen.js +149 -0
  650. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
  651. package/lib/module/ui/screens/FollowersListScreen.js +8 -0
  652. package/lib/module/ui/screens/FollowersListScreen.js.map +1 -1
  653. package/lib/module/ui/screens/FollowingListScreen.js +12 -4
  654. package/lib/module/ui/screens/FollowingListScreen.js.map +1 -1
  655. package/lib/module/ui/screens/HelpSupportScreen.js +45 -0
  656. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  657. package/lib/module/ui/screens/HistoryViewScreen.js +81 -41
  658. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  659. package/lib/module/ui/screens/LanguageSelectorScreen.js +71 -0
  660. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
  661. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +33 -31
  662. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  663. package/lib/module/ui/screens/LegalDocumentsScreen.js +72 -35
  664. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  665. package/lib/module/ui/screens/OxyAuthScreen.js +50 -0
  666. package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -0
  667. package/lib/module/ui/screens/PaymentGatewayScreen.js +28 -0
  668. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
  669. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +186 -205
  670. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  671. package/lib/module/ui/screens/PrivacySettingsScreen.js +56 -0
  672. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
  673. package/lib/module/ui/screens/ProfileScreen.js +102 -101
  674. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  675. package/lib/module/ui/screens/SavesCollectionsScreen.js +55 -0
  676. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
  677. package/lib/module/ui/screens/SearchSettingsScreen.js +39 -0
  678. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
  679. package/lib/module/ui/screens/SessionManagementScreen.js +81 -89
  680. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  681. package/lib/module/ui/screens/UserLinksScreen.js +21 -18
  682. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  683. package/lib/module/ui/screens/UserListScreen.js +69 -0
  684. package/lib/module/ui/screens/UserListScreen.js.map +1 -0
  685. package/lib/module/ui/screens/WelcomeNewUserScreen.js +123 -82
  686. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  687. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +29 -26
  688. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  689. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +74 -72
  690. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  691. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +83 -43
  692. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  693. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +30 -0
  694. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  695. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +81 -80
  696. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  697. package/lib/module/ui/server.js +50 -29
  698. package/lib/module/ui/server.js.map +1 -1
  699. package/lib/module/ui/stores/accountStore.js +7 -0
  700. package/lib/module/ui/stores/accountStore.js.map +1 -0
  701. package/lib/module/ui/stores/assetStore.js +24 -14
  702. package/lib/module/ui/stores/assetStore.js.map +1 -1
  703. package/lib/module/ui/stores/authStore.js +8 -5
  704. package/lib/module/ui/stores/authStore.js.map +1 -1
  705. package/lib/module/ui/stores/fileStore.js +6 -0
  706. package/lib/module/ui/stores/fileStore.js.map +1 -0
  707. package/lib/module/ui/stores/followStore.js +6 -9
  708. package/lib/module/ui/stores/followStore.js.map +1 -1
  709. package/lib/module/ui/styles/authStyles.js +17 -12
  710. package/lib/module/ui/styles/authStyles.js.map +1 -1
  711. package/lib/module/ui/styles/fonts.js +8 -0
  712. package/lib/module/ui/styles/fonts.js.map +1 -0
  713. package/lib/module/ui/styles/index.js +26 -4
  714. package/lib/module/ui/styles/index.js.map +1 -1
  715. package/lib/module/ui/styles/spacing.js +54 -0
  716. package/lib/module/ui/styles/spacing.js.map +1 -1
  717. package/lib/module/ui/styles/theme.js +19 -13
  718. package/lib/module/ui/styles/theme.js.map +1 -1
  719. package/lib/module/ui/types/fileManagement.js +3 -1
  720. package/lib/module/ui/types/fileManagement.js.map +1 -0
  721. package/lib/module/ui/types/navigation.js +3 -1
  722. package/lib/module/ui/types/navigation.js.map +1 -1
  723. package/lib/module/ui/utils/avatarUtils.js +5 -0
  724. package/lib/module/ui/utils/avatarUtils.js.map +1 -0
  725. package/lib/module/ui/utils/colorUtils.js +44 -0
  726. package/lib/module/ui/utils/colorUtils.js.map +1 -0
  727. package/lib/module/ui/utils/confirmAction.js +7 -0
  728. package/lib/module/ui/utils/confirmAction.js.map +1 -1
  729. package/lib/module/ui/utils/errorHandlers.js +16 -18
  730. package/lib/module/ui/utils/errorHandlers.js.map +1 -1
  731. package/lib/module/ui/utils/fileManagement.js +6 -0
  732. package/lib/module/ui/utils/fileManagement.js.map +1 -0
  733. package/lib/module/ui/utils/iconNames.js +24 -20
  734. package/lib/module/ui/utils/iconNames.js.map +1 -1
  735. package/lib/module/ui/utils/sessionHelpers.js +17 -15
  736. package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
  737. package/lib/module/ui/utils/storageHelpers.js +12 -10
  738. package/lib/module/ui/utils/storageHelpers.js.map +1 -1
  739. package/lib/module/ui/utils/themeUtils.js +35 -2
  740. package/lib/module/ui/utils/themeUtils.js.map +1 -0
  741. package/lib/module/ui/utils/userUtils.js +10 -6
  742. package/lib/module/ui/utils/userUtils.js.map +1 -1
  743. package/lib/module/utils/hookUtils.js +82 -83
  744. package/lib/module/utils/hookUtils.js.map +1 -1
  745. package/lib/typescript/assets/icons/OxyServices.d.ts +28 -0
  746. package/lib/typescript/assets/illustrations/HighFive.d.ts +7 -0
  747. package/lib/typescript/index.d.ts +46 -0
  748. package/lib/typescript/lib/sonner-safe.d.ts +8 -0
  749. package/lib/typescript/lib/sonner.d.ts +11 -0
  750. package/lib/typescript/lib/sonner.native.d.ts +14 -0
  751. package/lib/typescript/lib/sonner.web.d.ts +14 -0
  752. package/lib/typescript/ui/client.d.ts +30 -0
  753. package/lib/typescript/ui/components/ActivityIndicator.d.ts +44 -0
  754. package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +22 -0
  755. package/lib/typescript/ui/components/Avatar.d.ts +60 -0
  756. package/lib/typescript/ui/components/BottomSheet.d.ts +28 -0
  757. package/lib/typescript/ui/components/BottomSheetRouter.d.ts +8 -0
  758. package/lib/typescript/ui/components/CrossFadeIcon.d.ts +26 -0
  759. package/lib/typescript/ui/components/EmptyState.d.ts +7 -0
  760. package/lib/typescript/ui/components/FollowButton.d.ts +28 -0
  761. package/lib/typescript/ui/components/FontLoader.d.ts +14 -0
  762. package/lib/typescript/ui/components/GroupedItem.d.ts +23 -0
  763. package/lib/typescript/ui/components/GroupedSection.d.ts +29 -0
  764. package/lib/typescript/ui/components/Header.d.ts +37 -0
  765. package/lib/typescript/ui/components/HelperText.d.ts +46 -0
  766. package/lib/typescript/ui/components/Icon.d.ts +59 -0
  767. package/lib/typescript/ui/components/IconButton/IconButton.d.ts +98 -0
  768. package/lib/typescript/ui/components/IconButton/utils.d.ts +18 -0
  769. package/lib/typescript/ui/components/LoadingState.d.ts +8 -0
  770. package/lib/typescript/ui/components/OxyLogo.d.ts +28 -0
  771. package/lib/typescript/ui/components/OxyPayButton.d.ts +28 -0
  772. package/lib/typescript/ui/components/OxyProvider.d.ts +37 -0
  773. package/lib/typescript/ui/components/OxySignInButton.d.ts +64 -0
  774. package/lib/typescript/ui/components/ProfileCard.d.ts +17 -0
  775. package/lib/typescript/ui/components/QuickActions.d.ts +14 -0
  776. package/lib/typescript/ui/components/Section.d.ts +11 -0
  777. package/lib/typescript/ui/components/SectionTitle.d.ts +9 -0
  778. package/lib/typescript/ui/components/SettingRow.d.ts +19 -0
  779. package/lib/typescript/ui/components/SignInModal.d.ts +17 -0
  780. package/lib/typescript/ui/components/StepBasedScreen.d.ts +25 -0
  781. package/lib/typescript/ui/components/Surface.d.ts +75 -0
  782. package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +15 -0
  783. package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +18 -0
  784. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +44 -0
  785. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +72 -0
  786. package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +77 -0
  787. package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +12 -0
  788. package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +11 -0
  789. package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +11 -0
  790. package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +4 -0
  791. package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +3 -0
  792. package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +3 -0
  793. package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +3 -0
  794. package/lib/typescript/ui/components/TextField/constants.d.ts +31 -0
  795. package/lib/typescript/ui/components/TextField/helpers.d.ts +96 -0
  796. package/lib/typescript/ui/components/TextField/types.d.ts +155 -0
  797. package/lib/typescript/ui/components/TextField.d.ts +191 -0
  798. package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +12 -0
  799. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +61 -0
  800. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +24 -0
  801. package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +10 -0
  802. package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +34 -0
  803. package/lib/typescript/ui/components/Typography/types.d.ts +18 -0
  804. package/lib/typescript/ui/components/feedback/FormInput.d.ts +19 -0
  805. package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts +10 -0
  806. package/lib/typescript/ui/components/feedback/constants.d.ts +4 -0
  807. package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts +279 -0
  808. package/lib/typescript/ui/components/feedback/index.d.ts +6 -0
  809. package/lib/typescript/ui/components/feedback/types.d.ts +45 -0
  810. package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts +8 -0
  811. package/lib/typescript/ui/components/fileManagement/AnimatedButton.d.ts +15 -0
  812. package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +14 -0
  813. package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +17 -0
  814. package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +20 -0
  815. package/lib/typescript/ui/components/fileManagement/styles.d.ts +859 -0
  816. package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +8 -0
  817. package/lib/typescript/ui/components/icon/OxyIcon.d.ts +9 -0
  818. package/lib/typescript/ui/components/icon/index.d.ts +3 -0
  819. package/lib/typescript/ui/components/index.d.ts +16 -0
  820. package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +23 -0
  821. package/lib/typescript/ui/components/internal/PinInput.d.ts +22 -0
  822. package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts +18 -0
  823. package/lib/typescript/ui/components/modals/index.d.ts +1 -0
  824. package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts +20 -0
  825. package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts +13 -0
  826. package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts +15 -0
  827. package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts +9 -0
  828. package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts +14 -0
  829. package/lib/typescript/ui/components/payment/constants.d.ts +6 -0
  830. package/lib/typescript/ui/components/payment/index.d.ts +8 -0
  831. package/lib/typescript/ui/components/payment/paymentStyles.d.ts +395 -0
  832. package/lib/typescript/ui/components/payment/types.d.ts +39 -0
  833. package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +26 -0
  834. package/lib/typescript/ui/components/styles/overlay.d.ts +3 -0
  835. package/lib/typescript/ui/components/styles/shadow.d.ts +2 -0
  836. package/lib/typescript/ui/components/theming.d.ts +7 -0
  837. package/lib/typescript/ui/components/types.d.ts +80 -0
  838. package/lib/typescript/ui/components/utils/forwardRef.d.ts +11 -0
  839. package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +5 -0
  840. package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +1 -0
  841. package/lib/typescript/ui/components/utils/splitStyles.d.ts +19 -0
  842. package/lib/typescript/ui/constants/iconColors.d.ts +129 -0
  843. package/lib/typescript/ui/constants/spacing.d.ts +32 -0
  844. package/lib/typescript/ui/constants/theme.d.ts +96 -0
  845. package/lib/typescript/ui/context/OxyContext.d.ts +75 -0
  846. package/lib/typescript/ui/context/ThemeContext.d.ts +18 -0
  847. package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +39 -0
  848. package/lib/typescript/ui/hooks/index.d.ts +6 -0
  849. package/lib/typescript/ui/hooks/mutations/index.d.ts +8 -0
  850. package/lib/typescript/ui/hooks/mutations/mutationFactory.d.ts +75 -0
  851. package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +42 -0
  852. package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +22 -0
  853. package/lib/typescript/ui/hooks/queries/index.d.ts +10 -0
  854. package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +64 -0
  855. package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +42 -0
  856. package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +14 -0
  857. package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +30 -0
  858. package/lib/typescript/ui/hooks/queryClient.d.ts +18 -0
  859. package/lib/typescript/ui/hooks/useAssets.d.ts +34 -0
  860. package/lib/typescript/ui/hooks/useAsyncAction.d.ts +50 -0
  861. package/lib/typescript/ui/hooks/useAuth.d.ts +77 -0
  862. package/lib/typescript/ui/hooks/useAvatarPicker.d.ts +24 -0
  863. package/lib/typescript/ui/hooks/useColorScheme.d.ts +7 -0
  864. package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +26 -0
  865. package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +21 -0
  866. package/lib/typescript/ui/hooks/useFileFiltering.d.ts +28 -0
  867. package/lib/typescript/ui/hooks/useFollow.d.ts +92 -0
  868. package/lib/typescript/ui/hooks/useFollow.types.d.ts +32 -0
  869. package/lib/typescript/ui/hooks/useI18n.d.ts +4 -0
  870. package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +24 -0
  871. package/lib/typescript/ui/hooks/useProfileEditing.d.ts +35 -0
  872. package/lib/typescript/ui/hooks/useQueryClient.d.ts +6 -0
  873. package/lib/typescript/ui/hooks/useSessionManagement.d.ts +40 -0
  874. package/lib/typescript/ui/hooks/useSessionSocket.d.ts +14 -0
  875. package/lib/typescript/ui/hooks/useSettingToggle.d.ts +56 -0
  876. package/lib/typescript/ui/hooks/useStorage.d.ts +15 -0
  877. package/lib/typescript/ui/hooks/useThemeColors.d.ts +93 -0
  878. package/lib/typescript/ui/hooks/useThemeStyles.d.ts +44 -0
  879. package/lib/typescript/ui/hooks/useWebSSO.d.ts +57 -0
  880. package/lib/typescript/ui/index.d.ts +23 -0
  881. package/lib/typescript/ui/isFrontend.d.ts +2 -0
  882. package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +26 -0
  883. package/lib/typescript/ui/navigation/routes.d.ts +5 -0
  884. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +4 -0
  885. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +4 -0
  886. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +7 -0
  887. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +4 -0
  888. package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +4 -0
  889. package/lib/typescript/ui/screens/AppInfoScreen.d.ts +4 -0
  890. package/lib/typescript/ui/screens/EditProfileFieldScreen.d.ts +12 -0
  891. package/lib/typescript/ui/screens/FAQScreen.d.ts +4 -0
  892. package/lib/typescript/ui/screens/FeedbackScreen.d.ts +4 -0
  893. package/lib/typescript/ui/screens/FileManagementScreen.d.ts +4 -0
  894. package/lib/typescript/ui/screens/FollowersListScreen.d.ts +8 -0
  895. package/lib/typescript/ui/screens/FollowingListScreen.d.ts +8 -0
  896. package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +4 -0
  897. package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +4 -0
  898. package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +6 -0
  899. package/lib/typescript/ui/screens/LearnMoreUsernamesScreen.d.ts +4 -0
  900. package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +4 -0
  901. package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +16 -0
  902. package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +14 -0
  903. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +4 -0
  904. package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +4 -0
  905. package/lib/typescript/ui/screens/ProfileScreen.d.ts +8 -0
  906. package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +4 -0
  907. package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +4 -0
  908. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +4 -0
  909. package/lib/typescript/ui/screens/UserLinksScreen.d.ts +14 -0
  910. package/lib/typescript/ui/screens/UserListScreen.d.ts +10 -0
  911. package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +12 -0
  912. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +4 -0
  913. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +4 -0
  914. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +4 -0
  915. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +4 -0
  916. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +4 -0
  917. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +4 -0
  918. package/lib/typescript/ui/server.d.ts +40 -0
  919. package/lib/typescript/ui/stores/accountStore.d.ts +26 -0
  920. package/lib/typescript/ui/stores/assetStore.d.ts +53 -0
  921. package/lib/typescript/ui/stores/authStore.d.ts +16 -0
  922. package/lib/typescript/ui/stores/fileStore.d.ts +30 -0
  923. package/lib/typescript/ui/stores/followStore.d.ts +24 -0
  924. package/lib/typescript/ui/styles/authStyles.d.ts +331 -0
  925. package/lib/typescript/ui/styles/fonts.d.ts +20 -0
  926. package/lib/typescript/ui/styles/index.d.ts +4 -0
  927. package/lib/typescript/ui/styles/spacing.d.ts +48 -0
  928. package/lib/typescript/ui/styles/theme.d.ts +67 -0
  929. package/lib/typescript/ui/types/fileManagement.d.ts +40 -0
  930. package/lib/typescript/ui/types/navigation.d.ts +36 -0
  931. package/lib/typescript/ui/utils/avatarUtils.d.ts +22 -0
  932. package/lib/typescript/ui/utils/colorUtils.d.ts +9 -0
  933. package/lib/typescript/ui/utils/confirmAction.d.ts +6 -0
  934. package/lib/typescript/ui/utils/errorHandlers.d.ts +34 -0
  935. package/lib/typescript/ui/utils/fileManagement.d.ts +86 -0
  936. package/lib/typescript/ui/utils/iconNames.d.ts +111 -0
  937. package/lib/typescript/ui/utils/sessionHelpers.d.ts +64 -0
  938. package/lib/typescript/ui/utils/storageHelpers.d.ts +27 -0
  939. package/lib/typescript/ui/utils/themeUtils.d.ts +10 -0
  940. package/lib/typescript/ui/utils/userUtils.d.ts +28 -0
  941. package/lib/typescript/utils/hookUtils.d.ts +101 -0
  942. package/package.json +3 -3
  943. package/src/assets/icons/OxyServices.d.ts +28 -0
  944. package/src/assets/icons/OxyServices.js +53 -0
  945. package/src/assets/illustrations/HighFive.d.ts +7 -0
  946. package/src/assets/illustrations/HighFive.js +41 -0
  947. package/src/index.d.ts +46 -0
  948. package/src/index.js +127 -0
  949. package/src/lib/sonner-safe.d.ts +8 -0
  950. package/src/lib/sonner-safe.js +28 -0
  951. package/src/lib/sonner.d.ts +11 -0
  952. package/src/lib/sonner.js +16 -0
  953. package/src/lib/sonner.native.d.ts +14 -0
  954. package/src/lib/sonner.native.js +46 -0
  955. package/src/lib/sonner.web.d.ts +14 -0
  956. package/src/lib/sonner.web.js +46 -0
  957. package/src/ui/client.d.ts +30 -0
  958. package/src/ui/client.js +64 -0
  959. package/src/ui/components/ActivityIndicator.d.ts +44 -0
  960. package/src/ui/components/ActivityIndicator.js +184 -0
  961. package/src/ui/components/AutoHeightScrollView.d.ts +22 -0
  962. package/src/ui/components/AutoHeightScrollView.js +33 -0
  963. package/src/ui/components/Avatar.d.ts +60 -0
  964. package/src/ui/components/Avatar.js +146 -0
  965. package/src/ui/components/BottomSheet.d.ts +28 -0
  966. package/src/ui/components/BottomSheet.js +374 -0
  967. package/src/ui/components/BottomSheetRouter.d.ts +8 -0
  968. package/src/ui/components/BottomSheetRouter.js +211 -0
  969. package/src/ui/components/CrossFadeIcon.d.ts +26 -0
  970. package/src/ui/components/CrossFadeIcon.js +111 -0
  971. package/src/ui/components/EmptyState.d.ts +7 -0
  972. package/src/ui/components/EmptyState.js +27 -0
  973. package/src/ui/components/FollowButton.d.ts +28 -0
  974. package/src/ui/components/FollowButton.js +197 -0
  975. package/src/ui/components/FontLoader.d.ts +14 -0
  976. package/src/ui/components/FontLoader.js +185 -0
  977. package/src/ui/components/GroupedItem.d.ts +23 -0
  978. package/src/ui/components/GroupedItem.js +84 -0
  979. package/src/ui/components/GroupedSection.d.ts +29 -0
  980. package/src/ui/components/GroupedSection.js +13 -0
  981. package/src/ui/components/Header.d.ts +37 -0
  982. package/src/ui/components/Header.js +400 -0
  983. package/src/ui/components/HelperText.d.ts +46 -0
  984. package/src/ui/components/HelperText.js +119 -0
  985. package/src/ui/components/Icon.d.ts +59 -0
  986. package/src/ui/components/Icon.js +108 -0
  987. package/src/ui/components/IconButton/IconButton.d.ts +98 -0
  988. package/src/ui/components/IconButton/IconButton.js +90 -0
  989. package/src/ui/components/IconButton/utils.d.ts +18 -0
  990. package/src/ui/components/IconButton/utils.js +119 -0
  991. package/src/ui/components/LoadingState.d.ts +8 -0
  992. package/src/ui/components/LoadingState.js +29 -0
  993. package/src/ui/components/OxyLogo.d.ts +28 -0
  994. package/src/ui/components/OxyLogo.js +53 -0
  995. package/src/ui/components/OxyPayButton.d.ts +28 -0
  996. package/src/ui/components/OxyPayButton.js +76 -0
  997. package/src/ui/components/OxyProvider.d.ts +37 -0
  998. package/src/ui/components/OxyProvider.js +197 -0
  999. package/src/ui/components/OxySignInButton.d.ts +64 -0
  1000. package/src/ui/components/OxySignInButton.js +145 -0
  1001. package/src/ui/components/ProfileCard.d.ts +17 -0
  1002. package/src/ui/components/ProfileCard.js +82 -0
  1003. package/src/ui/components/QuickActions.d.ts +14 -0
  1004. package/src/ui/components/QuickActions.js +62 -0
  1005. package/src/ui/components/Section.d.ts +11 -0
  1006. package/src/ui/components/Section.js +24 -0
  1007. package/src/ui/components/SectionTitle.d.ts +9 -0
  1008. package/src/ui/components/SectionTitle.js +21 -0
  1009. package/src/ui/components/SettingRow.d.ts +19 -0
  1010. package/src/ui/components/SettingRow.js +38 -0
  1011. package/src/ui/components/SignInModal.d.ts +17 -0
  1012. package/src/ui/components/SignInModal.js +428 -0
  1013. package/src/ui/components/StepBasedScreen.d.ts +25 -0
  1014. package/src/ui/components/StepBasedScreen.js +372 -0
  1015. package/src/ui/components/Surface.d.ts +75 -0
  1016. package/src/ui/components/Surface.js +239 -0
  1017. package/src/ui/components/TextField/Addons/Outline.d.ts +15 -0
  1018. package/src/ui/components/TextField/Addons/Outline.js +30 -0
  1019. package/src/ui/components/TextField/Addons/Underline.d.ts +18 -0
  1020. package/src/ui/components/TextField/Addons/Underline.js +45 -0
  1021. package/src/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +44 -0
  1022. package/src/ui/components/TextField/Adornment/TextFieldAdornment.js +132 -0
  1023. package/src/ui/components/TextField/Adornment/TextFieldAffix.d.ts +72 -0
  1024. package/src/ui/components/TextField/Adornment/TextFieldAffix.js +88 -0
  1025. package/src/ui/components/TextField/Adornment/TextFieldIcon.d.ts +77 -0
  1026. package/src/ui/components/TextField/Adornment/TextFieldIcon.js +91 -0
  1027. package/src/ui/components/TextField/Adornment/enums.d.ts +12 -0
  1028. package/src/ui/components/TextField/Adornment/enums.js +18 -0
  1029. package/src/ui/components/TextField/Adornment/types.d.ts +11 -0
  1030. package/src/ui/components/TextField/Adornment/types.js +2 -0
  1031. package/src/ui/components/TextField/Adornment/utils.d.ts +11 -0
  1032. package/src/ui/components/TextField/Adornment/utils.js +50 -0
  1033. package/src/ui/components/TextField/Label/InputLabel.d.ts +4 -0
  1034. package/src/ui/components/TextField/Label/InputLabel.js +125 -0
  1035. package/src/ui/components/TextField/Label/LabelBackground.d.ts +3 -0
  1036. package/src/ui/components/TextField/Label/LabelBackground.js +71 -0
  1037. package/src/ui/components/TextField/TextFieldFlat.d.ts +3 -0
  1038. package/src/ui/components/TextField/TextFieldFlat.js +347 -0
  1039. package/src/ui/components/TextField/TextFieldOutlined.d.ts +3 -0
  1040. package/src/ui/components/TextField/TextFieldOutlined.js +313 -0
  1041. package/src/ui/components/TextField/constants.d.ts +31 -0
  1042. package/src/ui/components/TextField/constants.js +40 -0
  1043. package/src/ui/components/TextField/helpers.d.ts +96 -0
  1044. package/src/ui/components/TextField/helpers.js +388 -0
  1045. package/src/ui/components/TextField/types.d.ts +155 -0
  1046. package/src/ui/components/TextField/types.js +2 -0
  1047. package/src/ui/components/TextField.d.ts +191 -0
  1048. package/src/ui/components/TextField.js +291 -0
  1049. package/src/ui/components/TouchableRipple/Pressable.d.ts +12 -0
  1050. package/src/ui/components/TouchableRipple/Pressable.js +5 -0
  1051. package/src/ui/components/TouchableRipple/TouchableRipple.d.ts +61 -0
  1052. package/src/ui/components/TouchableRipple/TouchableRipple.js +246 -0
  1053. package/src/ui/components/TouchableRipple/TouchableRipple.native.d.ts +24 -0
  1054. package/src/ui/components/TouchableRipple/TouchableRipple.native.js +99 -0
  1055. package/src/ui/components/TouchableRipple/utils.d.ts +10 -0
  1056. package/src/ui/components/TouchableRipple/utils.js +40 -0
  1057. package/src/ui/components/Typography/AnimatedText.d.ts +34 -0
  1058. package/src/ui/components/Typography/AnimatedText.js +49 -0
  1059. package/src/ui/components/Typography/types.d.ts +18 -0
  1060. package/src/ui/components/Typography/types.js +22 -0
  1061. package/src/ui/components/feedback/FormInput.d.ts +19 -0
  1062. package/src/ui/components/feedback/FormInput.js +26 -0
  1063. package/src/ui/components/feedback/ProgressIndicator.d.ts +10 -0
  1064. package/src/ui/components/feedback/ProgressIndicator.js +16 -0
  1065. package/src/ui/components/feedback/constants.d.ts +4 -0
  1066. package/src/ui/components/feedback/constants.js +21 -0
  1067. package/src/ui/components/feedback/feedbackStyles.d.ts +279 -0
  1068. package/src/ui/components/feedback/feedbackStyles.js +250 -0
  1069. package/src/ui/components/feedback/index.d.ts +6 -0
  1070. package/src/ui/components/feedback/index.js +18 -0
  1071. package/src/ui/components/feedback/types.d.ts +45 -0
  1072. package/src/ui/components/feedback/types.js +2 -0
  1073. package/src/ui/components/feedback/useFeedbackForm.d.ts +8 -0
  1074. package/src/ui/components/feedback/useFeedbackForm.js +42 -0
  1075. package/src/ui/components/fileManagement/AnimatedButton.d.ts +15 -0
  1076. package/src/ui/components/fileManagement/AnimatedButton.js +29 -0
  1077. package/src/ui/components/fileManagement/FileDetailsModal.d.ts +14 -0
  1078. package/src/ui/components/fileManagement/FileDetailsModal.js +22 -0
  1079. package/src/ui/components/fileManagement/FileViewer.d.ts +17 -0
  1080. package/src/ui/components/fileManagement/FileViewer.js +138 -0
  1081. package/src/ui/components/fileManagement/UploadPreview.d.ts +20 -0
  1082. package/src/ui/components/fileManagement/UploadPreview.js +35 -0
  1083. package/src/ui/components/fileManagement/styles.d.ts +859 -0
  1084. package/src/ui/components/fileManagement/styles.js +861 -0
  1085. package/src/ui/components/icon/FAIRWalletIcon.d.ts +8 -0
  1086. package/src/ui/components/icon/FAIRWalletIcon.js +54 -0
  1087. package/src/ui/components/icon/OxyIcon.d.ts +9 -0
  1088. package/src/ui/components/icon/OxyIcon.js +9 -0
  1089. package/src/ui/components/icon/index.d.ts +3 -0
  1090. package/src/ui/components/icon/index.js +10 -0
  1091. package/src/ui/components/index.d.ts +16 -0
  1092. package/src/ui/components/index.js +42 -0
  1093. package/src/ui/components/internal/GroupedPillButtons.d.ts +23 -0
  1094. package/src/ui/components/internal/GroupedPillButtons.js +149 -0
  1095. package/src/ui/components/internal/PinInput.d.ts +22 -0
  1096. package/src/ui/components/internal/PinInput.js +76 -0
  1097. package/src/ui/components/modals/DeleteAccountModal.d.ts +18 -0
  1098. package/src/ui/components/modals/DeleteAccountModal.js +154 -0
  1099. package/src/ui/components/modals/index.d.ts +1 -0
  1100. package/src/ui/components/modals/index.js +8 -0
  1101. package/src/ui/components/payment/PaymentDetailsStep.d.ts +20 -0
  1102. package/src/ui/components/payment/PaymentDetailsStep.js +65 -0
  1103. package/src/ui/components/payment/PaymentMethodStep.d.ts +13 -0
  1104. package/src/ui/components/payment/PaymentMethodStep.js +54 -0
  1105. package/src/ui/components/payment/PaymentReviewStep.d.ts +15 -0
  1106. package/src/ui/components/payment/PaymentReviewStep.js +88 -0
  1107. package/src/ui/components/payment/PaymentSuccessStep.d.ts +9 -0
  1108. package/src/ui/components/payment/PaymentSuccessStep.js +35 -0
  1109. package/src/ui/components/payment/PaymentSummaryStep.d.ts +14 -0
  1110. package/src/ui/components/payment/PaymentSummaryStep.js +60 -0
  1111. package/src/ui/components/payment/constants.d.ts +6 -0
  1112. package/src/ui/components/payment/constants.js +38 -0
  1113. package/src/ui/components/payment/index.d.ts +8 -0
  1114. package/src/ui/components/payment/index.js +24 -0
  1115. package/src/ui/components/payment/paymentStyles.d.ts +395 -0
  1116. package/src/ui/components/payment/paymentStyles.js +399 -0
  1117. package/src/ui/components/payment/types.d.ts +39 -0
  1118. package/src/ui/components/payment/types.js +2 -0
  1119. package/src/ui/components/photogrid/JustifiedPhotoGrid.d.ts +26 -0
  1120. package/src/ui/components/photogrid/JustifiedPhotoGrid.js +122 -0
  1121. package/src/ui/components/styles/overlay.d.ts +3 -0
  1122. package/src/ui/components/styles/overlay.js +81 -0
  1123. package/src/ui/components/styles/shadow.d.ts +2 -0
  1124. package/src/ui/components/styles/shadow.js +123 -0
  1125. package/src/ui/components/theming.d.ts +7 -0
  1126. package/src/ui/components/theming.js +111 -0
  1127. package/src/ui/components/types.d.ts +80 -0
  1128. package/src/ui/components/types.js +2 -0
  1129. package/src/ui/components/utils/forwardRef.d.ts +11 -0
  1130. package/src/ui/components/utils/forwardRef.js +46 -0
  1131. package/src/ui/components/utils/hasTouchHandler.d.ts +5 -0
  1132. package/src/ui/components/utils/hasTouchHandler.js +14 -0
  1133. package/src/ui/components/utils/roundLayoutSize.d.ts +1 -0
  1134. package/src/ui/components/utils/roundLayoutSize.js +5 -0
  1135. package/src/ui/components/utils/splitStyles.d.ts +19 -0
  1136. package/src/ui/components/utils/splitStyles.js +40 -0
  1137. package/src/ui/constants/iconColors.d.ts +129 -0
  1138. package/src/ui/constants/iconColors.js +76 -0
  1139. package/src/ui/constants/spacing.d.ts +32 -0
  1140. package/src/ui/constants/spacing.js +40 -0
  1141. package/src/ui/constants/theme.d.ts +96 -0
  1142. package/src/ui/constants/theme.js +118 -0
  1143. package/src/ui/context/OxyContext.d.ts +75 -0
  1144. package/src/ui/context/OxyContext.js +522 -0
  1145. package/src/ui/context/ThemeContext.d.ts +18 -0
  1146. package/src/ui/context/ThemeContext.js +25 -0
  1147. package/src/ui/context/hooks/useAuthOperations.d.ts +39 -0
  1148. package/src/ui/context/hooks/useAuthOperations.js +318 -0
  1149. package/src/ui/hooks/index.d.ts +6 -0
  1150. package/src/ui/hooks/index.js +19 -0
  1151. package/src/ui/hooks/mutations/index.d.ts +8 -0
  1152. package/src/ui/hooks/mutations/index.js +23 -0
  1153. package/src/ui/hooks/mutations/mutationFactory.d.ts +75 -0
  1154. package/src/ui/hooks/mutations/mutationFactory.js +126 -0
  1155. package/src/ui/hooks/mutations/useAccountMutations.d.ts +42 -0
  1156. package/src/ui/hooks/mutations/useAccountMutations.js +274 -0
  1157. package/src/ui/hooks/mutations/useServicesMutations.d.ts +22 -0
  1158. package/src/ui/hooks/mutations/useServicesMutations.js +149 -0
  1159. package/src/ui/hooks/queries/index.d.ts +10 -0
  1160. package/src/ui/hooks/queries/index.js +35 -0
  1161. package/src/ui/hooks/queries/queryKeys.d.ts +64 -0
  1162. package/src/ui/hooks/queries/queryKeys.js +82 -0
  1163. package/src/ui/hooks/queries/useAccountQueries.d.ts +42 -0
  1164. package/src/ui/hooks/queries/useAccountQueries.js +141 -0
  1165. package/src/ui/hooks/queries/useSecurityQueries.d.ts +14 -0
  1166. package/src/ui/hooks/queries/useSecurityQueries.js +45 -0
  1167. package/src/ui/hooks/queries/useServicesQueries.d.ts +30 -0
  1168. package/src/ui/hooks/queries/useServicesQueries.js +113 -0
  1169. package/src/ui/hooks/queryClient.d.ts +18 -0
  1170. package/src/ui/hooks/queryClient.js +111 -0
  1171. package/src/ui/hooks/useAssets.d.ts +34 -0
  1172. package/src/ui/hooks/useAssets.js +204 -0
  1173. package/src/ui/hooks/useAsyncAction.d.ts +50 -0
  1174. package/src/ui/hooks/useAsyncAction.js +77 -0
  1175. package/src/ui/hooks/useAuth.d.ts +77 -0
  1176. package/src/ui/hooks/useAuth.js +135 -0
  1177. package/src/ui/hooks/useAvatarPicker.d.ts +24 -0
  1178. package/src/ui/hooks/useAvatarPicker.js +44 -0
  1179. package/src/ui/hooks/useColorScheme.d.ts +7 -0
  1180. package/src/ui/hooks/useColorScheme.js +23 -0
  1181. package/src/ui/hooks/useDeviceManagement.d.ts +26 -0
  1182. package/src/ui/hooks/useDeviceManagement.js +69 -0
  1183. package/src/ui/hooks/useFileDownloadUrl.d.ts +21 -0
  1184. package/src/ui/hooks/useFileDownloadUrl.js +104 -0
  1185. package/src/ui/hooks/useFileFiltering.d.ts +28 -0
  1186. package/src/ui/hooks/useFileFiltering.js +80 -0
  1187. package/src/ui/hooks/useFollow.d.ts +92 -0
  1188. package/src/ui/hooks/useFollow.js +216 -0
  1189. package/src/ui/hooks/useFollow.types.d.ts +32 -0
  1190. package/src/ui/hooks/useFollow.types.js +4 -0
  1191. package/src/ui/hooks/useI18n.d.ts +4 -0
  1192. package/src/ui/hooks/useI18n.js +13 -0
  1193. package/src/ui/hooks/useLanguageManagement.d.ts +24 -0
  1194. package/src/ui/hooks/useLanguageManagement.js +108 -0
  1195. package/src/ui/hooks/useProfileEditing.d.ts +35 -0
  1196. package/src/ui/hooks/useProfileEditing.js +101 -0
  1197. package/src/ui/hooks/useQueryClient.d.ts +6 -0
  1198. package/src/ui/hooks/useQueryClient.js +16 -0
  1199. package/src/ui/hooks/useSessionManagement.d.ts +40 -0
  1200. package/src/ui/hooks/useSessionManagement.js +312 -0
  1201. package/src/ui/hooks/useSessionSocket.d.ts +14 -0
  1202. package/src/ui/hooks/useSessionSocket.js +209 -0
  1203. package/src/ui/hooks/useSettingToggle.d.ts +56 -0
  1204. package/src/ui/hooks/useSettingToggle.js +97 -0
  1205. package/src/ui/hooks/useStorage.d.ts +15 -0
  1206. package/src/ui/hooks/useStorage.js +40 -0
  1207. package/src/ui/hooks/useThemeColors.d.ts +93 -0
  1208. package/src/ui/hooks/useThemeColors.js +27 -0
  1209. package/src/ui/hooks/useThemeStyles.d.ts +44 -0
  1210. package/src/ui/hooks/useThemeStyles.js +63 -0
  1211. package/src/ui/hooks/useWebSSO.d.ts +57 -0
  1212. package/src/ui/hooks/useWebSSO.js +146 -0
  1213. package/src/ui/index.d.ts +23 -0
  1214. package/src/ui/index.js +97 -0
  1215. package/src/ui/isFrontend.d.ts +2 -0
  1216. package/src/ui/isFrontend.js +6 -0
  1217. package/src/ui/navigation/bottomSheetManager.d.ts +26 -0
  1218. package/src/ui/navigation/bottomSheetManager.js +68 -0
  1219. package/src/ui/navigation/routes.d.ts +5 -0
  1220. package/src/ui/navigation/routes.js +75 -0
  1221. package/src/ui/screens/AccountCenterScreen.d.ts +4 -0
  1222. package/src/ui/screens/AccountCenterScreen.js +202 -0
  1223. package/src/ui/screens/AccountOverviewScreen.d.ts +4 -0
  1224. package/src/ui/screens/AccountOverviewScreen.js +648 -0
  1225. package/src/ui/screens/AccountSettingsScreen.d.ts +7 -0
  1226. package/src/ui/screens/AccountSettingsScreen.js +480 -0
  1227. package/src/ui/screens/AccountSwitcherScreen.d.ts +4 -0
  1228. package/src/ui/screens/AccountSwitcherScreen.js +482 -0
  1229. package/src/ui/screens/AccountVerificationScreen.d.ts +4 -0
  1230. package/src/ui/screens/AccountVerificationScreen.js +164 -0
  1231. package/src/ui/screens/AppInfoScreen.d.ts +4 -0
  1232. package/src/ui/screens/AppInfoScreen.js +373 -0
  1233. package/src/ui/screens/EditProfileFieldScreen.d.ts +12 -0
  1234. package/src/ui/screens/EditProfileFieldScreen.js +549 -0
  1235. package/src/ui/screens/FAQScreen.d.ts +4 -0
  1236. package/src/ui/screens/FAQScreen.js +182 -0
  1237. package/src/ui/screens/FeedbackScreen.d.ts +4 -0
  1238. package/src/ui/screens/FeedbackScreen.js +160 -0
  1239. package/src/ui/screens/FileManagementScreen.d.ts +4 -0
  1240. package/src/ui/screens/FileManagementScreen.js +1473 -0
  1241. package/src/ui/screens/FollowersListScreen.d.ts +8 -0
  1242. package/src/ui/screens/FollowersListScreen.js +11 -0
  1243. package/src/ui/screens/FollowingListScreen.d.ts +8 -0
  1244. package/src/ui/screens/FollowingListScreen.js +11 -0
  1245. package/src/ui/screens/HelpSupportScreen.d.ts +4 -0
  1246. package/src/ui/screens/HelpSupportScreen.js +140 -0
  1247. package/src/ui/screens/HistoryViewScreen.d.ts +4 -0
  1248. package/src/ui/screens/HistoryViewScreen.js +225 -0
  1249. package/src/ui/screens/LanguageSelectorScreen.d.ts +6 -0
  1250. package/src/ui/screens/LanguageSelectorScreen.js +178 -0
  1251. package/src/ui/screens/LearnMoreUsernamesScreen.d.ts +4 -0
  1252. package/src/ui/screens/LearnMoreUsernamesScreen.js +150 -0
  1253. package/src/ui/screens/LegalDocumentsScreen.d.ts +4 -0
  1254. package/src/ui/screens/LegalDocumentsScreen.js +185 -0
  1255. package/src/ui/screens/OxyAuthScreen.d.ts +16 -0
  1256. package/src/ui/screens/OxyAuthScreen.js +431 -0
  1257. package/src/ui/screens/PaymentGatewayScreen.d.ts +14 -0
  1258. package/src/ui/screens/PaymentGatewayScreen.js +171 -0
  1259. package/src/ui/screens/PremiumSubscriptionScreen.d.ts +4 -0
  1260. package/src/ui/screens/PremiumSubscriptionScreen.js +1080 -0
  1261. package/src/ui/screens/PrivacySettingsScreen.d.ts +4 -0
  1262. package/src/ui/screens/PrivacySettingsScreen.js +252 -0
  1263. package/src/ui/screens/ProfileScreen.d.ts +8 -0
  1264. package/src/ui/screens/ProfileScreen.js +254 -0
  1265. package/src/ui/screens/SavesCollectionsScreen.d.ts +4 -0
  1266. package/src/ui/screens/SavesCollectionsScreen.js +150 -0
  1267. package/src/ui/screens/SearchSettingsScreen.d.ts +4 -0
  1268. package/src/ui/screens/SearchSettingsScreen.js +109 -0
  1269. package/src/ui/screens/SessionManagementScreen.d.ts +4 -0
  1270. package/src/ui/screens/SessionManagementScreen.js +320 -0
  1271. package/src/ui/screens/UserLinksScreen.d.ts +14 -0
  1272. package/src/ui/screens/UserLinksScreen.js +57 -0
  1273. package/src/ui/screens/UserListScreen.d.ts +10 -0
  1274. package/src/ui/screens/UserListScreen.js +249 -0
  1275. package/src/ui/screens/WelcomeNewUserScreen.d.ts +12 -0
  1276. package/src/ui/screens/WelcomeNewUserScreen.js +304 -0
  1277. package/src/ui/screens/karma/KarmaAboutScreen.d.ts +4 -0
  1278. package/src/ui/screens/karma/KarmaAboutScreen.js +39 -0
  1279. package/src/ui/screens/karma/KarmaCenterScreen.d.ts +4 -0
  1280. package/src/ui/screens/karma/KarmaCenterScreen.js +159 -0
  1281. package/src/ui/screens/karma/KarmaFAQScreen.d.ts +4 -0
  1282. package/src/ui/screens/karma/KarmaFAQScreen.js +143 -0
  1283. package/src/ui/screens/karma/KarmaLeaderboardScreen.d.ts +4 -0
  1284. package/src/ui/screens/karma/KarmaLeaderboardScreen.js +56 -0
  1285. package/src/ui/screens/karma/KarmaRewardsScreen.d.ts +4 -0
  1286. package/src/ui/screens/karma/KarmaRewardsScreen.js +460 -0
  1287. package/src/ui/screens/karma/KarmaRulesScreen.d.ts +4 -0
  1288. package/src/ui/screens/karma/KarmaRulesScreen.js +47 -0
  1289. package/src/ui/server.d.ts +40 -0
  1290. package/src/ui/server.js +57 -0
  1291. package/src/ui/stores/accountStore.d.ts +26 -0
  1292. package/src/ui/stores/accountStore.js +196 -0
  1293. package/src/ui/stores/assetStore.d.ts +53 -0
  1294. package/src/ui/stores/assetStore.js +192 -0
  1295. package/src/ui/stores/authStore.d.ts +16 -0
  1296. package/src/ui/stores/authStore.js +47 -0
  1297. package/src/ui/stores/fileStore.d.ts +30 -0
  1298. package/src/ui/stores/fileStore.js +113 -0
  1299. package/src/ui/stores/followStore.d.ts +24 -0
  1300. package/src/ui/stores/followStore.js +154 -0
  1301. package/src/ui/styles/authStyles.d.ts +331 -0
  1302. package/src/ui/styles/authStyles.js +332 -0
  1303. package/src/ui/styles/fonts.d.ts +20 -0
  1304. package/src/ui/styles/fonts.js +72 -0
  1305. package/src/ui/styles/index.d.ts +4 -0
  1306. package/src/ui/styles/index.js +20 -0
  1307. package/src/ui/styles/spacing.d.ts +48 -0
  1308. package/src/ui/styles/spacing.js +63 -0
  1309. package/src/ui/styles/theme.d.ts +67 -0
  1310. package/src/ui/styles/theme.js +114 -0
  1311. package/src/ui/types/fileManagement.d.ts +40 -0
  1312. package/src/ui/types/fileManagement.js +2 -0
  1313. package/src/ui/types/navigation.d.ts +36 -0
  1314. package/src/ui/types/navigation.js +2 -0
  1315. package/src/ui/utils/avatarUtils.d.ts +22 -0
  1316. package/src/ui/utils/avatarUtils.js +52 -0
  1317. package/src/ui/utils/colorUtils.d.ts +9 -0
  1318. package/src/ui/utils/colorUtils.js +19 -0
  1319. package/src/ui/utils/confirmAction.d.ts +6 -0
  1320. package/src/ui/utils/confirmAction.js +22 -0
  1321. package/src/ui/utils/errorHandlers.d.ts +34 -0
  1322. package/src/ui/utils/errorHandlers.js +128 -0
  1323. package/src/ui/utils/fileManagement.d.ts +86 -0
  1324. package/src/ui/utils/fileManagement.js +238 -0
  1325. package/src/ui/utils/iconNames.d.ts +111 -0
  1326. package/src/ui/utils/iconNames.js +124 -0
  1327. package/src/ui/utils/sessionHelpers.d.ts +64 -0
  1328. package/src/ui/utils/sessionHelpers.js +90 -0
  1329. package/src/ui/utils/storageHelpers.d.ts +27 -0
  1330. package/src/ui/utils/storageHelpers.js +114 -0
  1331. package/src/ui/utils/themeUtils.d.ts +10 -0
  1332. package/src/ui/utils/themeUtils.js +17 -0
  1333. package/src/ui/utils/userUtils.d.ts +28 -0
  1334. package/src/ui/utils/userUtils.js +54 -0
  1335. package/src/utils/hookUtils.d.ts +101 -0
  1336. package/src/utils/hookUtils.js +373 -0
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.OxyLogo = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const react_native_svg_1 = __importStar(require("react-native-svg"));
39
+ const theme_1 = require("../styles/theme");
40
+ /**
41
+ * SVG logo component for Oxy
42
+ * This component renders the Oxy logo as an SVG and uses theme colors by default
43
+ */
44
+ const OxyLogo = ({ width = 24, height = 24, style, fillColor, secondaryFillColor, theme = 'light' }) => {
45
+ // Get colors from theme
46
+ const themeColors = (0, theme_1.useThemeColors)(theme);
47
+ // Use theme primary color if no fillColor is provided
48
+ const primaryColor = fillColor || themeColors.primary;
49
+ const innerFillColor = secondaryFillColor || themeColors.background;
50
+ return ((0, jsx_runtime_1.jsxs)(react_native_svg_1.default, { width: width, height: height, viewBox: "0 0 294.84 174.42", style: style, children: [(0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { d: "M241.03 24.83c-3.42-9.32-9.47-19.01-19.05-22.86-6.33-2.55-13.1-2.6-19.49-.26-.52.19-2.22 1.12-2.54 1.12-.22 0-3.3-1.39-4.05-1.61-15.97-4.57-30.37 9.5-39.44 20.8-1.15 1.43-2.29 2.92-3.27 4.48-.35.28-.56-.8-.69-1.06C146.04 12.12 135.23-.4 118.95 1 106.2 2.09 97.86 12.26 96.36 24.5 89.8 16.6 81.31 9.75 71.2 7.08c-15.67-4.13-33.09-.39-45.34 10.17C-3.79 42.81-5.21 97.16 7.9 131.37c9.4 24.5 28.9 43.2 56.85 40.1 11.33-1.25 21.77-5.76 29.87-13.81.13-.03 1.58 1.62 1.9 1.91 2.63 2.38 5.97 4.23 9.43 5.07 17.29 4.17 30.59-11.83 39.99-23.82.21-.05.29.13.41.26 1.22 1.26 2.48 3.38 3.67 4.83 4.4 5.34 10.34 11.44 16.49 14.67 6.58 3.46 14.76 4.48 21.74 1.59 6.43 11.54 20.66 15.21 32.49 9.8 15.49-7.08 28.86-30.53 36.97-45.03 9.26-16.56 18.94-34.11 26.22-51.62 7.51-18.09 19.12-51.35 2.09-67.08-13.19-12.18-31.47-2.47-40.24 9.94l-4.77 6.65z", fill: primaryColor }), (0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { d: "M241.03 24.83l4.77-6.65c8.77-12.41 27.04-22.12 40.24-9.94 17.03 15.73 5.42 48.99-2.09 67.08-7.27 17.51-16.96 35.06-26.22 51.62-8.11 14.5-21.48 37.95-36.97 45.03-11.83 5.41-26.07 1.74-32.49-9.8-6.98 2.89-15.16 1.87-21.74-1.59-6.15-3.23-12.09-9.34-16.49-14.67-1.19-1.45-2.46-3.56-3.67-4.83-.12-.13-.2-.3-.41-.26-9.4 11.99-22.7 28-39.99 23.82-3.46-.84-6.8-2.69-9.43-5.07-.32-.29-1.77-1.94-1.9-1.91-8.1 8.04-18.53 12.55-29.87 13.81-27.95 3.09-47.46-15.6-56.85-40.1C-5.21 97.16-3.79 42.81 25.86 17.24 38.11 6.68 55.52 2.94 71.2 7.07c10.11 2.67 18.6 9.52 25.16 17.42 1.5-12.24 9.84-22.4 22.59-23.5 16.29-1.4 27.1 11.12 33.56 24.44.13.26.34 1.34.69 1.06.98-1.56 2.12-3.05 3.27-4.48 9.07-11.31 23.46-25.37 39.44-20.8.75.22 3.83 1.61 4.05 1.61.32 0 2.02-.93 2.54-1.12 6.4-2.33 13.16-2.28 19.49.26 9.58 3.85 15.64 13.54 19.05 22.86zm-6.67 48c-.88-9.38-1.79-18.77-3.55-28.03s-6.28-28.62-17.53-29.63-15.8 12.97-16.25 22.08c-.74 15.27 4.07 34.76 8.66 49.33 1.38 4.37 3 10.74 6.08 14.08 2.11 2.28 5.31 4.24 8.25 5.17-7.02 9.48-14.5 19.44-18.34 30.74-2.02 5.96-3.84 17.45 2.68 21.32 9.11 5.41 18.68-5.84 23.72-12.25 5.64-7.18 10.62-15.76 15.13-23.7 7.64-13.46 15.57-27.88 22.11-41.89 6.55-14.02 15.36-34.93 14.36-50.48-.25-3.85-2.02-10.44-6.3-11.53-8.54-2.18-17.65 11.65-21.44 17.8-7.07 11.49-12.42 24.19-17.22 36.77l-.37.21zm-83.67-14.84c-.11.08-.3-.27-.36-.38-.89-1.66-1.61-4.13-2.39-5.94-3.05-7.11-6.55-15.22-10.16-22.01s-11.12-16.46-20.3-12.96-6.07 17.71-4.28 24.7c3.59 13.98 9.21 27.75 14.81 41.02-5.93 11.33-11.94 22.65-17.47 34.19-3.8 7.92-10.58 22.31-4.93 30.54 6.13 8.92 18.44-3.44 22.73-8.57l19.09-23.41.39.27c6.19 10.08 12.58 21.57 21.85 29.14 6.31 5.16 15.72 6.95 17.45-3.38 1.09-6.53-3.31-16.75-5.87-22.86-4.2-10-9.25-19.64-14.62-29.05l-.13-.52c1.51-2.98 3.38-5.75 5.03-8.65 4-7.06 7.7-14.28 11.61-21.39 4.97-9.05 14.77-23.79 13.86-34.3-.31-3.61-2.31-8.51-6.42-8.92-8.41-.84-18.76 11.28-23.48 17.35-6.12 7.86-11.53 16.49-16.43 25.15zM55 20.71c-28.18 1.93-38.49 35.65-39.8 59.2-1.68 30.16 10.02 82.97 50.53 76.2 32.13-5.37 37.37-46.47 34.97-72.86S88.19 18.44 55 20.71zm140.7 93.28c.31.07.32-.1.47-.28 1-1.16 1.69-3.21 2.78-4.4l.06-.37c-3.26-4.14-4.87-9.22-6.52-14.16-1.44-4.32-2.5-8.78-3.91-13.09-.07-.2-.12-.7-.38-.7-1.27 2.82-3.17 5.34-4.31 8.21 4.29 8.08 8.46 16.26 11.81 24.79z", fill: primaryColor }), (0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { d: "M55 20.71c33.19-2.27 43.33 36.41 45.7 62.54s-2.84 67.49-34.97 72.86c-40.5 6.77-52.21-46.03-50.53-76.2 1.31-23.56 11.62-57.27 39.8-59.2zm.99 38.66c-4.57.62-7.12 6.56-8.21 10.46-3.47 12.39-1.15 36.95 5.85 47.99 4 6.3 10.59 7.71 14.1.13 5.48-11.82 4.06-35.72-.36-47.87-1.84-5.06-5-11.57-11.38-10.7zM150.69 57.99c4.9-8.66 10.31-17.29 16.43-25.15 4.73-6.07 15.07-18.19 23.48-17.35 4.11.41 6.1 5.31 6.42 8.92.91 10.52-8.89 25.26-13.86 34.3-3.9 7.11-7.61 14.33-11.61 21.39-1.64 2.9-3.52 5.67-5.03 8.65l.13.52c5.37 9.41 10.42 19.05 14.62 29.05 2.57 6.11 6.97 16.33 5.87 22.86-1.73 10.33-11.14 8.54-17.45 3.38-9.27-7.57-15.67-19.07-21.85-29.14l-.39-.27-19.09 23.41c-4.29 5.13-16.6 17.49-22.73 8.57-5.66-8.23 1.13-22.63 4.93-30.54 5.53-11.54 11.54-22.86 17.47-34.19-5.61-13.27-11.22-27.03-14.81-41.02-1.8-6.99-4.69-21.27 4.28-24.7s16.55 5.88 20.3 12.96 7.11 14.9 10.16 22.01c.78 1.81 1.5 4.29 2.39 5.94.06.11.25.46.36.38zM234.36 72.83l.37-.21c4.8-12.59 10.15-25.29 17.22-36.77 3.79-6.16 12.9-19.98 21.44-17.8 4.28 1.09 6.06 7.68 6.3 11.53.99 15.56-7.82 36.47-14.36 50.48-6.54 14.01-14.47 28.42-22.11 41.89-4.51 7.95-9.49 16.53-15.13 23.7-5.03 6.41-14.61 17.66-23.72 12.25-6.52-3.87-4.71-15.36-2.68-21.32 3.84-11.31 11.32-21.27 18.34-30.74-2.94-.93-6.15-2.89-8.25-5.17-3.09-3.34-4.71-9.71-6.08-14.08-4.59-14.57-9.4-34.06-8.66-49.33.44-9.11 4.77-23.11 16.25-22.08s15.83 20.68 17.53 29.63 2.67 18.65 3.55 28.03z", fill: innerFillColor }), (0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { d: "M195.7 113.99c-3.35-8.52-7.52-16.71-11.81-24.79 1.14-2.87 3.04-5.39 4.31-8.21.25 0 .31.5.38.7 1.41 4.31 2.47 8.77 3.91 13.09 1.65 4.94 3.26 10.02 6.52 14.16l-.06.37c-1.09 1.19-1.78 3.24-2.78 4.4-.15.17-.16.35-.47.28z", fill: primaryColor }), (0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { d: "M55.99 59.37c6.38-.87 9.53 5.65 11.38 10.7 4.42 12.14 5.84 36.05.36 47.87-3.51 7.58-10.1 6.17-14.1-.13-7-11.03-9.32-35.6-5.85-47.99 1.09-3.9 3.64-9.84 8.21-10.46z", fill: primaryColor })] }));
51
+ };
52
+ exports.OxyLogo = OxyLogo;
53
+ exports.default = exports.OxyLogo;
@@ -0,0 +1,28 @@
1
+ import type React from 'react';
2
+ import { type ViewStyle, type TextStyle, type StyleProp } from 'react-native';
3
+ import type { PaymentItem, PaymentGatewayResult } from '../screens/PaymentGatewayScreen';
4
+ export interface OxyPayButtonProps {
5
+ style?: StyleProp<ViewStyle>;
6
+ textStyle?: StyleProp<TextStyle>;
7
+ text?: string;
8
+ disabled?: boolean;
9
+ amount: number | string;
10
+ currency?: string;
11
+ paymentItems?: PaymentItem[];
12
+ description?: string;
13
+ onPaymentResult?: (result: PaymentGatewayResult) => void;
14
+ /**
15
+ * Button background color. If not provided, uses variant ('white' or 'black').
16
+ */
17
+ color?: string;
18
+ /**
19
+ * Button color variant: 'white' (default) or 'black'. Ignored if color is set.
20
+ */
21
+ variant?: 'white' | 'black';
22
+ }
23
+ /**
24
+ * A pre-styled button for OxyPay payments that opens the Payment Gateway
25
+ * - Only black or white by default, but can be customized with the color prop.
26
+ */
27
+ declare const OxyPayButton: React.FC<OxyPayButtonProps>;
28
+ export default OxyPayButton;
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const react_1 = require("react");
8
+ const react_native_1 = require("react-native");
9
+ const fonts_1 = require("../styles/fonts");
10
+ const OxyLogo_1 = __importDefault(require("./OxyLogo"));
11
+ /**
12
+ * A pre-styled button for OxyPay payments that opens the Payment Gateway
13
+ * - Only black or white by default, but can be customized with the color prop.
14
+ */
15
+ const OxyPayButton = ({ style, textStyle, text = 'Pay', disabled = false, amount, currency = 'FAIR', paymentItems, description, onPaymentResult, color, variant = 'white', }) => {
16
+ const [buttonHeight, setButtonHeight] = (0, react_1.useState)(52);
17
+ const handlePress = () => {
18
+ console.warn('OxyPayButton: The bottom sheet payment flow has been removed. Provide a custom onPress handler.');
19
+ };
20
+ // Determine background and text color
21
+ const backgroundColor = color || (variant === 'black' ? '#111' : '#fff');
22
+ const textColor = variant === 'black' || (color && isColorDark(color)) ? '#fff' : '#1b1f0a';
23
+ // Responsive sizing
24
+ const logoWidth = Math.round(buttonHeight * 0.5); // 50% of button height
25
+ const logoHeight = Math.round(buttonHeight * 0.25); // 25% of button height
26
+ const fontSize = Math.round(buttonHeight * 0.35); // 35% of button height
27
+ const handleLayout = (e) => {
28
+ const h = e.nativeEvent.layout.height;
29
+ if (h && Math.abs(h - buttonHeight) > 1)
30
+ setButtonHeight(h);
31
+ };
32
+ return ((0, jsx_runtime_1.jsx)(react_native_1.TouchableOpacity, { style: [styles.button, { backgroundColor, borderColor: textColor, borderWidth: 1 }, disabled && styles.buttonDisabled, style], onPress: handlePress, disabled: disabled, activeOpacity: 0.85, onLayout: handleLayout, children: (0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.buttonContent, children: [(0, jsx_runtime_1.jsx)(OxyLogo_1.default, { width: logoWidth, height: logoHeight, style: { marginRight: logoWidth * 0.12, marginTop: (fontSize - logoHeight) / 2 }, fillColor: textColor }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.text, { color: textColor, fontSize }, textStyle], children: text })] }) }));
33
+ };
34
+ // Helper to determine if a color is dark (simple luminance check)
35
+ function isColorDark(hex) {
36
+ let c = hex.replace('#', '');
37
+ if (c.length === 3)
38
+ c = c.split('').map(x => x + x).join('');
39
+ if (c.length !== 6)
40
+ return false;
41
+ const r = Number.parseInt(c.substr(0, 2), 16);
42
+ const g = Number.parseInt(c.substr(2, 2), 16);
43
+ const b = Number.parseInt(c.substr(4, 2), 16);
44
+ // Perceived luminance
45
+ return (0.299 * r + 0.587 * g + 0.114 * b) < 150;
46
+ }
47
+ const styles = react_native_1.StyleSheet.create({
48
+ button: {
49
+ padding: 14,
50
+ borderRadius: 35,
51
+ alignItems: 'center',
52
+ justifyContent: 'center',
53
+ flexDirection: 'row',
54
+ minHeight: 52,
55
+ },
56
+ buttonDisabled: {
57
+ opacity: 0.6,
58
+ },
59
+ buttonContent: {
60
+ flexDirection: 'row',
61
+ alignItems: 'center',
62
+ justifyContent: 'center',
63
+ },
64
+ oxyLogo: {
65
+ // marginRight is set dynamically
66
+ },
67
+ centeredItem: {
68
+ justifyContent: 'center',
69
+ alignItems: 'center',
70
+ },
71
+ text: {
72
+ fontFamily: fonts_1.fontFamilies.inter,
73
+ fontWeight: '700',
74
+ },
75
+ });
76
+ exports.default = OxyPayButton;
@@ -0,0 +1,37 @@
1
+ import { type FC } from 'react';
2
+ import type { OxyProviderProps } from '../types/navigation';
3
+ /**
4
+ * OxyProvider - Universal provider for Expo apps (native + web)
5
+ *
6
+ * Provides authentication, session management, query client, and UI overlays.
7
+ * Does NOT wrap in SafeAreaProvider or GestureHandlerRootView — those are the
8
+ * consuming app's responsibility.
9
+ *
10
+ * Usage:
11
+ * ```tsx
12
+ * import { OxyProvider, useAuth } from '@oxyhq/services';
13
+ *
14
+ * function App() {
15
+ * return (
16
+ * <SafeAreaProvider>
17
+ * <GestureHandlerRootView style={{ flex: 1 }}>
18
+ * <OxyProvider baseURL="https://api.oxy.so">
19
+ * <YourApp />
20
+ * </OxyProvider>
21
+ * </GestureHandlerRootView>
22
+ * </SafeAreaProvider>
23
+ * );
24
+ * }
25
+ *
26
+ * function MyComponent() {
27
+ * const { isAuthenticated, user, signIn, signOut } = useAuth();
28
+ *
29
+ * if (!isAuthenticated) {
30
+ * return <OxySignInButton />;
31
+ * }
32
+ * return <Text>Welcome, {user?.username}!</Text>;
33
+ * }
34
+ * ```
35
+ */
36
+ declare const OxyProvider: FC<OxyProviderProps>;
37
+ export default OxyProvider;
@@ -0,0 +1,197 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_1 = require("react");
5
+ const react_native_1 = require("react-native");
6
+ const OxyContext_1 = require("../context/OxyContext");
7
+ const react_query_1 = require("@tanstack/react-query");
8
+ const FontLoader_1 = require("./FontLoader");
9
+ const sonner_1 = require("../../lib/sonner");
10
+ const queryClient_1 = require("../hooks/queryClient");
11
+ const storageHelpers_1 = require("../utils/storageHelpers");
12
+ // Initialize fonts automatically
13
+ (0, FontLoader_1.setupFonts)();
14
+ // Detect if running on web
15
+ const isWeb = react_native_1.Platform.OS === 'web';
16
+ // Conditionally import components
17
+ let KeyboardProvider = ({ children }) => (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children });
18
+ let BottomSheetRouter = null;
19
+ let SignInModal = null;
20
+ // KeyboardProvider only on native
21
+ if (!isWeb) {
22
+ try {
23
+ KeyboardProvider = require('react-native-keyboard-controller').KeyboardProvider;
24
+ }
25
+ catch {
26
+ // KeyboardProvider not available
27
+ }
28
+ }
29
+ // BottomSheetRouter works on all platforms
30
+ try {
31
+ BottomSheetRouter = require('./BottomSheetRouter').default;
32
+ }
33
+ catch (error) {
34
+ if (__DEV__) {
35
+ console.error('[OxyProvider] Failed to load BottomSheetRouter:', error);
36
+ }
37
+ }
38
+ // SignInModal works on all platforms
39
+ try {
40
+ SignInModal = require('./SignInModal').default;
41
+ }
42
+ catch {
43
+ // SignInModal not available
44
+ }
45
+ if (__DEV__ && !BottomSheetRouter) {
46
+ console.warn('[OxyProvider] BottomSheetRouter is null — bottom sheet navigation will not work. Check that BottomSheetRouter.tsx and its dependencies are importable.');
47
+ }
48
+ /**
49
+ * OxyProvider - Universal provider for Expo apps (native + web)
50
+ *
51
+ * Provides authentication, session management, query client, and UI overlays.
52
+ * Does NOT wrap in SafeAreaProvider or GestureHandlerRootView — those are the
53
+ * consuming app's responsibility.
54
+ *
55
+ * Usage:
56
+ * ```tsx
57
+ * import { OxyProvider, useAuth } from '@oxyhq/services';
58
+ *
59
+ * function App() {
60
+ * return (
61
+ * <SafeAreaProvider>
62
+ * <GestureHandlerRootView style={{ flex: 1 }}>
63
+ * <OxyProvider baseURL="https://api.oxy.so">
64
+ * <YourApp />
65
+ * </OxyProvider>
66
+ * </GestureHandlerRootView>
67
+ * </SafeAreaProvider>
68
+ * );
69
+ * }
70
+ *
71
+ * function MyComponent() {
72
+ * const { isAuthenticated, user, signIn, signOut } = useAuth();
73
+ *
74
+ * if (!isAuthenticated) {
75
+ * return <OxySignInButton />;
76
+ * }
77
+ * return <Text>Welcome, {user?.username}!</Text>;
78
+ * }
79
+ * ```
80
+ */
81
+ const OxyProvider = ({ oxyServices, children, onAuthStateChange, storageKeyPrefix, baseURL, authWebUrl, authRedirectUri, queryClient: providedQueryClient, }) => {
82
+ // Simple storage initialization for query persistence
83
+ const storageRef = (0, react_1.useRef)(null);
84
+ const queryClientRef = (0, react_1.useRef)(null);
85
+ // Initialize immediately if provided via prop to avoid a null-render frame
86
+ const [queryClient, setQueryClient] = (0, react_1.useState)(() => {
87
+ if (providedQueryClient) {
88
+ queryClientRef.current = providedQueryClient;
89
+ return providedQueryClient;
90
+ }
91
+ return null;
92
+ });
93
+ (0, react_1.useEffect)(() => {
94
+ if (providedQueryClient) {
95
+ queryClientRef.current = providedQueryClient;
96
+ setQueryClient(providedQueryClient);
97
+ return;
98
+ }
99
+ // Initialize storage and create query client
100
+ let mounted = true;
101
+ (0, storageHelpers_1.createPlatformStorage)()
102
+ .then((storage) => {
103
+ if (mounted && !queryClientRef.current) {
104
+ storageRef.current = storage;
105
+ const client = (0, queryClient_1.createQueryClient)(storage);
106
+ queryClientRef.current = client;
107
+ setQueryClient(client);
108
+ }
109
+ })
110
+ .catch((error) => {
111
+ // If storage fails, create query client without persistence
112
+ if (mounted && !queryClientRef.current) {
113
+ if (__DEV__) {
114
+ console.warn('[OxyProvider] Failed to initialize storage for query persistence', error);
115
+ }
116
+ const client = (0, queryClient_1.createQueryClient)(null);
117
+ queryClientRef.current = client;
118
+ setQueryClient(client);
119
+ }
120
+ });
121
+ return () => {
122
+ mounted = false;
123
+ };
124
+ }, [providedQueryClient]);
125
+ // Hook React Query focus manager into app state (native) or visibility (web)
126
+ (0, react_1.useEffect)(() => {
127
+ if (isWeb) {
128
+ // Web: use document visibility
129
+ const handleVisibilityChange = () => {
130
+ react_query_1.focusManager.setFocused(document.visibilityState === 'visible');
131
+ };
132
+ document.addEventListener('visibilitychange', handleVisibilityChange);
133
+ return () => {
134
+ document.removeEventListener('visibilitychange', handleVisibilityChange);
135
+ };
136
+ }
137
+ // Native: use AppState
138
+ const subscription = react_native_1.AppState.addEventListener('change', (state) => {
139
+ react_query_1.focusManager.setFocused(state === 'active');
140
+ });
141
+ return () => {
142
+ subscription.remove();
143
+ };
144
+ }, []);
145
+ // Setup network status monitoring for offline detection
146
+ (0, react_1.useEffect)(() => {
147
+ let cleanup;
148
+ const setupNetworkMonitoring = async () => {
149
+ try {
150
+ if (isWeb) {
151
+ // Web: use navigator.onLine
152
+ react_query_1.onlineManager.setOnline(navigator.onLine);
153
+ const handleOnline = () => react_query_1.onlineManager.setOnline(true);
154
+ const handleOffline = () => react_query_1.onlineManager.setOnline(false);
155
+ window.addEventListener('online', handleOnline);
156
+ window.addEventListener('offline', handleOffline);
157
+ cleanup = () => {
158
+ window.removeEventListener('online', handleOnline);
159
+ window.removeEventListener('offline', handleOffline);
160
+ };
161
+ }
162
+ else {
163
+ // Native: try to use NetInfo
164
+ try {
165
+ const NetInfo = await import('@react-native-community/netinfo');
166
+ const state = await NetInfo.default.fetch();
167
+ react_query_1.onlineManager.setOnline(state.isConnected ?? true);
168
+ const unsubscribe = NetInfo.default.addEventListener((state) => {
169
+ react_query_1.onlineManager.setOnline(state.isConnected ?? true);
170
+ });
171
+ cleanup = () => unsubscribe();
172
+ }
173
+ catch {
174
+ // NetInfo not available, default to online
175
+ react_query_1.onlineManager.setOnline(true);
176
+ }
177
+ }
178
+ }
179
+ catch (error) {
180
+ // Default to online if detection fails
181
+ react_query_1.onlineManager.setOnline(true);
182
+ }
183
+ };
184
+ setupNetworkMonitoring();
185
+ return () => {
186
+ cleanup?.();
187
+ };
188
+ }, []);
189
+ // Ensure we have a valid QueryClient
190
+ if (!queryClient) {
191
+ return null;
192
+ }
193
+ // Core content: QueryClient + OxyContext + UI overlays
194
+ const coreContent = ((0, jsx_runtime_1.jsx)(react_query_1.QueryClientProvider, { client: queryClient, children: (0, jsx_runtime_1.jsxs)(OxyContext_1.OxyContextProvider, { oxyServices: oxyServices, baseURL: baseURL, authWebUrl: authWebUrl, authRedirectUri: authRedirectUri, storageKeyPrefix: storageKeyPrefix, onAuthStateChange: onAuthStateChange, children: [children, BottomSheetRouter && (0, jsx_runtime_1.jsx)(BottomSheetRouter, {}), SignInModal && (0, jsx_runtime_1.jsx)(SignInModal, {}), (0, jsx_runtime_1.jsx)(sonner_1.Toaster, {})] }) }));
195
+ return ((0, jsx_runtime_1.jsx)(KeyboardProvider, { children: coreContent }));
196
+ };
197
+ exports.default = OxyProvider;
@@ -0,0 +1,64 @@
1
+ import type React from 'react';
2
+ import { type ViewStyle, type TextStyle, type StyleProp } from 'react-native';
3
+ export interface OxySignInButtonProps {
4
+ /**
5
+ * Controls the appearance of the button
6
+ * @default 'default'
7
+ */
8
+ variant?: 'default' | 'outline' | 'contained';
9
+ /**
10
+ * Optional function to handle button press
11
+ * If not provided, the button will use the showBottomSheet method from OxyContext
12
+ */
13
+ onPress?: () => void;
14
+ /**
15
+ * Additional styles for the button container
16
+ */
17
+ style?: StyleProp<ViewStyle>;
18
+ /**
19
+ * Additional styles for the button text
20
+ */
21
+ textStyle?: StyleProp<TextStyle>;
22
+ /**
23
+ * Custom button text
24
+ * @default 'Sign in with Oxy'
25
+ */
26
+ text?: string;
27
+ /**
28
+ * Whether to disable the button
29
+ * @default false
30
+ */
31
+ disabled?: boolean;
32
+ /**
33
+ * Whether to show the button even if user is already authenticated
34
+ * @default false
35
+ */
36
+ showWhenAuthenticated?: boolean;
37
+ }
38
+ /**
39
+ * A pre-styled button component for signing in with Oxy identity
40
+ *
41
+ * This component opens the Oxy Auth flow which allows users to authenticate
42
+ * using their Oxy Accounts identity (via QR code or deep link).
43
+ *
44
+ * @example
45
+ * ```tsx
46
+ * // Basic usage
47
+ * <OxySignInButton />
48
+ *
49
+ * // Custom styling
50
+ * <OxySignInButton
51
+ * variant="contained"
52
+ * style={{ marginTop: 20 }}
53
+ * text="Login with Oxy"
54
+ * />
55
+ *
56
+ * // Custom handler
57
+ * <OxySignInButton onPress={() => {
58
+ * // Custom authentication flow
59
+ * console.log('Custom auth flow initiated');
60
+ * }} />
61
+ * ```
62
+ */
63
+ export declare const OxySignInButton: React.FC<OxySignInButtonProps>;
64
+ export default OxySignInButton;
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OxySignInButton = void 0;
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
+ const react_1 = require("react");
9
+ const react_native_1 = require("react-native");
10
+ const authStore_1 = require("../stores/authStore");
11
+ const shallow_1 = require("zustand/react/shallow");
12
+ const fonts_1 = require("../styles/fonts");
13
+ const OxyLogo_1 = __importDefault(require("./OxyLogo"));
14
+ const SignInModal_1 = require("./SignInModal");
15
+ /**
16
+ * A pre-styled button component for signing in with Oxy identity
17
+ *
18
+ * This component opens the Oxy Auth flow which allows users to authenticate
19
+ * using their Oxy Accounts identity (via QR code or deep link).
20
+ *
21
+ * @example
22
+ * ```tsx
23
+ * // Basic usage
24
+ * <OxySignInButton />
25
+ *
26
+ * // Custom styling
27
+ * <OxySignInButton
28
+ * variant="contained"
29
+ * style={{ marginTop: 20 }}
30
+ * text="Login with Oxy"
31
+ * />
32
+ *
33
+ * // Custom handler
34
+ * <OxySignInButton onPress={() => {
35
+ * // Custom authentication flow
36
+ * console.log('Custom auth flow initiated');
37
+ * }} />
38
+ * ```
39
+ */
40
+ const OxySignInButton = ({ variant = 'default', onPress, style, textStyle, text = 'Sign in with Oxy', disabled = false, showWhenAuthenticated = false, }) => {
41
+ const { isAuthenticated, isLoading } = (0, authStore_1.useAuthStore)((0, shallow_1.useShallow)((state) => ({ isAuthenticated: state.isAuthenticated, isLoading: state.isLoading })));
42
+ const [isModalOpen, setIsModalOpen] = (0, react_1.useState)(false);
43
+ // Subscribe to modal close events
44
+ (0, react_1.useEffect)(() => {
45
+ return (0, SignInModal_1.subscribeToSignInModal)(setIsModalOpen);
46
+ }, []);
47
+ // Handle button press - opens full-screen sign-in modal with QR code and auth options
48
+ const handlePress = (0, react_1.useCallback)(() => {
49
+ if (onPress) {
50
+ onPress();
51
+ return;
52
+ }
53
+ setIsModalOpen(true);
54
+ // Show the full-screen sign-in modal on all platforms
55
+ (0, SignInModal_1.showSignInModal)();
56
+ }, [onPress]);
57
+ // Don't show the button if already authenticated (unless explicitly overridden)
58
+ if (isAuthenticated && !showWhenAuthenticated)
59
+ return null;
60
+ const isButtonDisabled = disabled || isLoading || isModalOpen;
61
+ // Determine the button style based on the variant
62
+ const getButtonStyle = () => {
63
+ switch (variant) {
64
+ case 'outline':
65
+ return [styles.buttonOutline, style];
66
+ case 'contained':
67
+ return [styles.buttonContained, style];
68
+ default:
69
+ return [styles.buttonDefault, style];
70
+ }
71
+ };
72
+ // Determine the text style based on the variant
73
+ const getTextStyle = () => {
74
+ switch (variant) {
75
+ case 'outline':
76
+ return [styles.textOutline, textStyle];
77
+ case 'contained':
78
+ return [styles.textContained, textStyle];
79
+ default:
80
+ return [styles.textDefault, textStyle];
81
+ }
82
+ };
83
+ return ((0, jsx_runtime_1.jsx)(react_native_1.TouchableOpacity, { style: [styles.button, getButtonStyle(), isButtonDisabled && styles.buttonDisabled], onPress: handlePress, disabled: isButtonDisabled, children: (0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.buttonContent, children: [(0, jsx_runtime_1.jsx)(OxyLogo_1.default, { width: 20, height: 20, fillColor: variant === 'contained' ? 'white' : '#d169e5', secondaryFillColor: variant === 'contained' ? '#d169e5' : undefined, style: isButtonDisabled ? { opacity: 0.6 } : undefined }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.text, getTextStyle(), isButtonDisabled && styles.textDisabled], children: isLoading || isModalOpen ? 'Signing in...' : text })] }) }));
84
+ };
85
+ exports.OxySignInButton = OxySignInButton;
86
+ const styles = react_native_1.StyleSheet.create({
87
+ button: {
88
+ padding: 14,
89
+ borderRadius: 35,
90
+ alignItems: 'center',
91
+ justifyContent: 'center',
92
+ },
93
+ buttonDefault: {
94
+ backgroundColor: '#FFFFFF',
95
+ borderWidth: 1,
96
+ borderColor: '#DDDDDD',
97
+ ...react_native_1.Platform.select({
98
+ web: {
99
+ boxShadow: '0 2px 4px rgba(0,0,0,0.1)',
100
+ },
101
+ default: {
102
+ shadowColor: '#000000',
103
+ shadowOffset: { width: 0, height: 2 },
104
+ shadowOpacity: 0.1,
105
+ shadowRadius: 4,
106
+ elevation: 2,
107
+ }
108
+ }),
109
+ },
110
+ buttonOutline: {
111
+ backgroundColor: 'transparent',
112
+ borderWidth: 1,
113
+ borderColor: '#d169e5',
114
+ },
115
+ buttonContained: {
116
+ backgroundColor: '#d169e5',
117
+ },
118
+ buttonDisabled: {
119
+ opacity: 0.6,
120
+ },
121
+ buttonContent: {
122
+ flexDirection: 'row',
123
+ alignItems: 'center',
124
+ justifyContent: 'center',
125
+ },
126
+ text: {
127
+ fontFamily: fonts_1.fontFamilies.interSemiBold,
128
+ fontWeight: react_native_1.Platform.OS === 'web' ? '600' : undefined,
129
+ fontSize: 16,
130
+ marginLeft: 10,
131
+ },
132
+ textDefault: {
133
+ color: '#333333',
134
+ },
135
+ textOutline: {
136
+ color: '#d169e5',
137
+ },
138
+ textContained: {
139
+ color: '#FFFFFF',
140
+ },
141
+ textDisabled: {
142
+ color: '#888888',
143
+ },
144
+ });
145
+ exports.default = exports.OxySignInButton;
@@ -0,0 +1,17 @@
1
+ import type React from 'react';
2
+ interface ProfileCardProps {
3
+ user: {
4
+ username: string;
5
+ email?: string;
6
+ name?: {
7
+ full?: string;
8
+ };
9
+ avatar?: string;
10
+ };
11
+ theme: 'light' | 'dark';
12
+ onEditPress?: () => void;
13
+ onClosePress?: () => void;
14
+ showCloseButton?: boolean;
15
+ }
16
+ declare const ProfileCard: React.FC<ProfileCardProps>;
17
+ export default ProfileCard;