@oxyhq/services 6.9.44 → 6.9.46

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 (342) hide show
  1. package/lib/commonjs/ui/components/OxyPayButton.js +4 -2
  2. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
  3. package/lib/commonjs/ui/components/OxyProvider.js +6 -5
  4. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  5. package/lib/commonjs/ui/components/OxySignInButton.js +83 -82
  6. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  7. package/lib/commonjs/ui/components/SignInModal.js +271 -102
  8. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  9. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +76 -121
  10. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  11. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +24 -15
  12. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  13. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +32 -18
  14. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  15. package/lib/commonjs/ui/components/icon/OxyIcon.js +5 -4
  16. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -1
  17. package/lib/commonjs/ui/components/index.js +0 -35
  18. package/lib/commonjs/ui/components/index.js.map +1 -1
  19. package/lib/commonjs/ui/components/internal/PinInput.js +3 -2
  20. package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -1
  21. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +83 -219
  22. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  23. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +26 -13
  24. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  25. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +50 -28
  26. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  27. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +83 -48
  28. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
  29. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +11 -10
  30. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  31. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +38 -23
  32. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  33. package/lib/commonjs/ui/constants/theme.js +2 -2
  34. package/lib/commonjs/ui/constants/theme.js.map +1 -1
  35. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +4 -3
  36. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
  37. package/lib/commonjs/ui/screens/AccountCenterScreen.js +13 -13
  38. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  39. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +117 -142
  40. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  41. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +112 -78
  42. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  43. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +213 -144
  44. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  45. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +26 -14
  46. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  47. package/lib/commonjs/ui/screens/FeedbackScreen.js +57 -51
  48. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  49. package/lib/commonjs/ui/screens/FileManagementScreen.js +108 -86
  50. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  51. package/lib/commonjs/ui/screens/HistoryViewScreen.js +109 -130
  52. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  53. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +15 -8
  54. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  55. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +60 -54
  56. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  57. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +12 -9
  58. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  59. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +66 -93
  60. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  61. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +159 -190
  62. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  63. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +20 -22
  64. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  65. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +16 -17
  66. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  67. package/lib/commonjs/ui/screens/SessionManagementScreen.js +127 -70
  68. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
  69. package/lib/commonjs/ui/screens/UserLinksScreen.js +13 -29
  70. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  71. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +110 -52
  72. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  73. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +3 -5
  74. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  75. package/lib/commonjs/ui/utils/fileManagement.js +0 -21
  76. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
  77. package/lib/module/ui/components/OxyPayButton.js +4 -2
  78. package/lib/module/ui/components/OxyPayButton.js.map +1 -1
  79. package/lib/module/ui/components/OxyProvider.js +6 -5
  80. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  81. package/lib/module/ui/components/OxySignInButton.js +84 -83
  82. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  83. package/lib/module/ui/components/SignInModal.js +271 -100
  84. package/lib/module/ui/components/SignInModal.js.map +1 -1
  85. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +76 -122
  86. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  87. package/lib/module/ui/components/fileManagement/FileViewer.js +24 -15
  88. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  89. package/lib/module/ui/components/fileManagement/UploadPreview.js +32 -19
  90. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  91. package/lib/module/ui/components/icon/OxyIcon.js +5 -4
  92. package/lib/module/ui/components/icon/OxyIcon.js.map +1 -1
  93. package/lib/module/ui/components/index.js +0 -5
  94. package/lib/module/ui/components/index.js.map +1 -1
  95. package/lib/module/ui/components/internal/PinInput.js +3 -2
  96. package/lib/module/ui/components/internal/PinInput.js.map +1 -1
  97. package/lib/module/ui/components/modals/DeleteAccountModal.js +83 -220
  98. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  99. package/lib/module/ui/components/payment/PaymentDetailsStep.js +26 -13
  100. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  101. package/lib/module/ui/components/payment/PaymentMethodStep.js +49 -26
  102. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  103. package/lib/module/ui/components/payment/PaymentReviewStep.js +84 -48
  104. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
  105. package/lib/module/ui/components/payment/PaymentSuccessStep.js +11 -9
  106. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  107. package/lib/module/ui/components/payment/PaymentSummaryStep.js +38 -22
  108. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  109. package/lib/module/ui/constants/theme.js +2 -2
  110. package/lib/module/ui/constants/theme.js.map +1 -1
  111. package/lib/module/ui/context/hooks/useAuthOperations.js +4 -3
  112. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  113. package/lib/module/ui/screens/AccountCenterScreen.js +12 -13
  114. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  115. package/lib/module/ui/screens/AccountOverviewScreen.js +117 -142
  116. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  117. package/lib/module/ui/screens/AccountSettingsScreen.js +112 -78
  118. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  119. package/lib/module/ui/screens/AccountSwitcherScreen.js +213 -145
  120. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
  121. package/lib/module/ui/screens/AccountVerificationScreen.js +28 -16
  122. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  123. package/lib/module/ui/screens/FeedbackScreen.js +48 -42
  124. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  125. package/lib/module/ui/screens/FileManagementScreen.js +110 -88
  126. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  127. package/lib/module/ui/screens/HistoryViewScreen.js +110 -131
  128. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  129. package/lib/module/ui/screens/LanguageSelectorScreen.js +16 -9
  130. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  131. package/lib/module/ui/screens/LegalDocumentsScreen.js +61 -55
  132. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  133. package/lib/module/ui/screens/PaymentGatewayScreen.js +12 -9
  134. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  135. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +66 -94
  136. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  137. package/lib/module/ui/screens/PrivacySettingsScreen.js +161 -192
  138. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  139. package/lib/module/ui/screens/SavesCollectionsScreen.js +21 -23
  140. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  141. package/lib/module/ui/screens/SearchSettingsScreen.js +17 -18
  142. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  143. package/lib/module/ui/screens/SessionManagementScreen.js +128 -72
  144. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  145. package/lib/module/ui/screens/UserLinksScreen.js +15 -31
  146. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  147. package/lib/module/ui/screens/WelcomeNewUserScreen.js +110 -52
  148. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  149. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +4 -6
  150. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  151. package/lib/module/ui/utils/fileManagement.js +0 -20
  152. package/lib/module/ui/utils/fileManagement.js.map +1 -1
  153. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -1
  154. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  155. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +0 -1
  156. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
  157. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
  158. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +3 -4
  159. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  161. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +2 -3
  162. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  163. package/lib/typescript/commonjs/ui/components/icon/OxyIcon.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/ui/components/index.d.ts +0 -5
  165. package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -1
  166. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +1 -1
  167. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +2 -2
  168. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  169. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  170. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  171. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  172. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  173. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  175. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +1 -1
  176. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -1
  177. package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  179. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  180. package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  182. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  188. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  190. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  191. package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  192. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  193. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  194. package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +0 -4
  196. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
  197. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -1
  198. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  199. package/lib/typescript/module/ui/components/OxySignInButton.d.ts +0 -1
  200. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
  201. package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
  202. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +3 -4
  203. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
  204. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  205. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +2 -3
  206. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  207. package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts.map +1 -1
  208. package/lib/typescript/module/ui/components/index.d.ts +0 -5
  209. package/lib/typescript/module/ui/components/index.d.ts.map +1 -1
  210. package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +1 -1
  211. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +2 -2
  212. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  213. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  214. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  215. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  216. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  217. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  218. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  219. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +1 -1
  220. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -1
  221. package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  222. package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  223. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  224. package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
  225. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  226. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
  227. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  228. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  229. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  230. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  231. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  232. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  233. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  234. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  235. package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  236. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  237. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  238. package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
  239. package/lib/typescript/module/ui/utils/fileManagement.d.ts +0 -4
  240. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
  241. package/package.json +3 -3
  242. package/src/ui/components/OxyPayButton.tsx +5 -3
  243. package/src/ui/components/OxyProvider.tsx +6 -5
  244. package/src/ui/components/OxySignInButton.tsx +82 -81
  245. package/src/ui/components/SignInModal.tsx +186 -42
  246. package/src/ui/components/fileManagement/FileDetailsModal.tsx +69 -99
  247. package/src/ui/components/fileManagement/FileViewer.tsx +25 -15
  248. package/src/ui/components/fileManagement/UploadPreview.tsx +58 -46
  249. package/src/ui/components/icon/OxyIcon.tsx +5 -4
  250. package/src/ui/components/index.ts +0 -5
  251. package/src/ui/components/internal/PinInput.tsx +4 -3
  252. package/src/ui/components/modals/DeleteAccountModal.tsx +79 -221
  253. package/src/ui/components/payment/PaymentDetailsStep.tsx +16 -19
  254. package/src/ui/components/payment/PaymentMethodStep.tsx +33 -35
  255. package/src/ui/components/payment/PaymentReviewStep.tsx +63 -67
  256. package/src/ui/components/payment/PaymentSuccessStep.tsx +4 -12
  257. package/src/ui/components/payment/PaymentSummaryStep.tsx +26 -33
  258. package/src/ui/constants/theme.ts +2 -2
  259. package/src/ui/context/hooks/useAuthOperations.ts +4 -3
  260. package/src/ui/screens/AccountCenterScreen.tsx +36 -139
  261. package/src/ui/screens/AccountOverviewScreen.tsx +107 -163
  262. package/src/ui/screens/AccountSettingsScreen.tsx +142 -156
  263. package/src/ui/screens/AccountSwitcherScreen.tsx +226 -199
  264. package/src/ui/screens/AccountVerificationScreen.tsx +34 -25
  265. package/src/ui/screens/FeedbackScreen.tsx +50 -38
  266. package/src/ui/screens/FileManagementScreen.tsx +88 -88
  267. package/src/ui/screens/HistoryViewScreen.tsx +79 -207
  268. package/src/ui/screens/LanguageSelectorScreen.tsx +19 -7
  269. package/src/ui/screens/LegalDocumentsScreen.tsx +46 -63
  270. package/src/ui/screens/PaymentGatewayScreen.tsx +11 -12
  271. package/src/ui/screens/PremiumSubscriptionScreen.tsx +73 -93
  272. package/src/ui/screens/PrivacySettingsScreen.tsx +81 -193
  273. package/src/ui/screens/SavesCollectionsScreen.tsx +23 -23
  274. package/src/ui/screens/SearchSettingsScreen.tsx +11 -19
  275. package/src/ui/screens/SessionManagementScreen.tsx +130 -76
  276. package/src/ui/screens/UserLinksScreen.tsx +15 -32
  277. package/src/ui/screens/WelcomeNewUserScreen.tsx +46 -20
  278. package/src/ui/screens/karma/KarmaFAQScreen.tsx +4 -6
  279. package/src/ui/utils/fileManagement.ts +0 -30
  280. package/lib/commonjs/ui/components/GroupedItem.js +0 -138
  281. package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
  282. package/lib/commonjs/ui/components/GroupedSection.js +0 -41
  283. package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
  284. package/lib/commonjs/ui/components/Section.js +0 -39
  285. package/lib/commonjs/ui/components/Section.js.map +0 -1
  286. package/lib/commonjs/ui/components/SectionTitle.js +0 -29
  287. package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
  288. package/lib/commonjs/ui/components/SettingRow.js +0 -90
  289. package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
  290. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +0 -206
  291. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
  292. package/lib/commonjs/ui/utils/confirmAction.js +0 -28
  293. package/lib/commonjs/ui/utils/confirmAction.js.map +0 -1
  294. package/lib/module/ui/components/GroupedItem.js +0 -135
  295. package/lib/module/ui/components/GroupedItem.js.map +0 -1
  296. package/lib/module/ui/components/GroupedSection.js +0 -37
  297. package/lib/module/ui/components/GroupedSection.js.map +0 -1
  298. package/lib/module/ui/components/Section.js +0 -34
  299. package/lib/module/ui/components/Section.js.map +0 -1
  300. package/lib/module/ui/components/SectionTitle.js +0 -25
  301. package/lib/module/ui/components/SectionTitle.js.map +0 -1
  302. package/lib/module/ui/components/SettingRow.js +0 -85
  303. package/lib/module/ui/components/SettingRow.js.map +0 -1
  304. package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -202
  305. package/lib/module/ui/components/internal/GroupedPillButtons.js.map +0 -1
  306. package/lib/module/ui/utils/confirmAction.js +0 -25
  307. package/lib/module/ui/utils/confirmAction.js.map +0 -1
  308. package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts +0 -24
  309. package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +0 -1
  310. package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts +0 -30
  311. package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts.map +0 -1
  312. package/lib/typescript/commonjs/ui/components/Section.d.ts +0 -12
  313. package/lib/typescript/commonjs/ui/components/Section.d.ts.map +0 -1
  314. package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts +0 -10
  315. package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +0 -1
  316. package/lib/typescript/commonjs/ui/components/SettingRow.d.ts +0 -20
  317. package/lib/typescript/commonjs/ui/components/SettingRow.d.ts.map +0 -1
  318. package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts +0 -24
  319. package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
  320. package/lib/typescript/commonjs/ui/utils/confirmAction.d.ts +0 -7
  321. package/lib/typescript/commonjs/ui/utils/confirmAction.d.ts.map +0 -1
  322. package/lib/typescript/module/ui/components/GroupedItem.d.ts +0 -24
  323. package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +0 -1
  324. package/lib/typescript/module/ui/components/GroupedSection.d.ts +0 -30
  325. package/lib/typescript/module/ui/components/GroupedSection.d.ts.map +0 -1
  326. package/lib/typescript/module/ui/components/Section.d.ts +0 -12
  327. package/lib/typescript/module/ui/components/Section.d.ts.map +0 -1
  328. package/lib/typescript/module/ui/components/SectionTitle.d.ts +0 -10
  329. package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +0 -1
  330. package/lib/typescript/module/ui/components/SettingRow.d.ts +0 -20
  331. package/lib/typescript/module/ui/components/SettingRow.d.ts.map +0 -1
  332. package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts +0 -24
  333. package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
  334. package/lib/typescript/module/ui/utils/confirmAction.d.ts +0 -7
  335. package/lib/typescript/module/ui/utils/confirmAction.d.ts.map +0 -1
  336. package/src/ui/components/GroupedItem.tsx +0 -161
  337. package/src/ui/components/GroupedSection.tsx +0 -60
  338. package/src/ui/components/Section.tsx +0 -42
  339. package/src/ui/components/SectionTitle.tsx +0 -27
  340. package/src/ui/components/SettingRow.tsx +0 -98
  341. package/src/ui/components/internal/GroupedPillButtons.tsx +0 -250
  342. package/src/ui/utils/confirmAction.ts +0 -23
@@ -1,135 +0,0 @@
1
- "use strict";
2
-
3
- import { memo, useMemo } from 'react';
4
- import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
5
- import { Ionicons } from '@expo/vector-icons';
6
- import { MaterialCommunityIcons } from '@expo/vector-icons';
7
- import { useTheme } from '@oxyhq/bloom/theme';
8
- import { darkenColor } from "../utils/colorUtils.js";
9
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
- const GroupedItemComponent = ({
11
- icon,
12
- iconColor,
13
- title,
14
- subtitle,
15
- onPress,
16
- isFirst = false,
17
- isLast = false,
18
- showChevron = false,
19
- disabled = false,
20
- customContent,
21
- customIcon,
22
- accessibilityLabel,
23
- accessibilityHint
24
- }) => {
25
- const {
26
- colors
27
- } = useTheme();
28
- // Use fallback color when iconColor is not provided
29
- const finalIconColor = iconColor || colors.icon;
30
- const itemStyles = useMemo(() => [styles.groupedItem, isFirst && styles.firstGroupedItem, isLast && styles.lastGroupedItem], [isFirst, isLast]);
31
- const content = /*#__PURE__*/_jsxs(View, {
32
- style: styles.groupedItemContent,
33
- children: [customIcon ? /*#__PURE__*/_jsx(View, {
34
- style: styles.actionIcon,
35
- children: customIcon
36
- }) : icon ? /*#__PURE__*/_jsx(View, {
37
- style: [styles.iconContainer, {
38
- backgroundColor: finalIconColor
39
- }],
40
- children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
41
- name: icon,
42
- size: 22,
43
- color: darkenColor(finalIconColor)
44
- })
45
- }) : null, /*#__PURE__*/_jsxs(View, {
46
- style: styles.actionTextContainer,
47
- children: [/*#__PURE__*/_jsx(Text, {
48
- className: "text-foreground",
49
- style: styles.actionButtonText,
50
- children: title
51
- }), subtitle && /*#__PURE__*/_jsx(Text, {
52
- className: "text-muted-foreground",
53
- style: styles.actionButtonSubtext,
54
- children: subtitle
55
- })]
56
- }), customContent, showChevron && /*#__PURE__*/_jsx(Ionicons, {
57
- name: "chevron-forward",
58
- size: 20,
59
- color: colors.icon
60
- })]
61
- });
62
- if (onPress && !disabled) {
63
- return /*#__PURE__*/_jsx(TouchableOpacity, {
64
- className: "bg-card",
65
- style: itemStyles,
66
- onPress: onPress,
67
- activeOpacity: 0.7,
68
- accessibilityRole: "button",
69
- accessibilityLabel: accessibilityLabel || title,
70
- accessibilityHint: accessibilityHint || subtitle,
71
- accessibilityState: {
72
- disabled
73
- },
74
- children: content
75
- });
76
- }
77
- return /*#__PURE__*/_jsx(View, {
78
- className: "bg-card",
79
- style: itemStyles,
80
- accessibilityRole: "text",
81
- accessibilityLabel: accessibilityLabel || title,
82
- children: content
83
- });
84
- };
85
- GroupedItemComponent.displayName = 'GroupedItem';
86
- export const GroupedItem = /*#__PURE__*/memo(GroupedItemComponent);
87
- const styles = StyleSheet.create({
88
- groupedItem: {
89
- flexDirection: 'row',
90
- alignItems: 'center',
91
- justifyContent: 'space-between',
92
- overflow: 'hidden',
93
- width: '100%'
94
- },
95
- firstGroupedItem: {
96
- borderTopLeftRadius: 18,
97
- borderTopRightRadius: 18
98
- },
99
- lastGroupedItem: {
100
- borderBottomLeftRadius: 18,
101
- borderBottomRightRadius: 18
102
- },
103
- groupedItemContent: {
104
- flexDirection: 'row',
105
- alignItems: 'center',
106
- paddingVertical: 8,
107
- paddingHorizontal: 10,
108
- width: '100%',
109
- gap: 10
110
- },
111
- actionIcon: {
112
- // marginRight handled by gap
113
- },
114
- iconContainer: {
115
- width: 36,
116
- height: 36,
117
- borderRadius: 18,
118
- alignItems: 'center',
119
- justifyContent: 'center'
120
- // marginRight handled by gap
121
- },
122
- actionTextContainer: {
123
- flex: 1
124
- },
125
- actionButtonText: {
126
- fontSize: 14,
127
- fontWeight: '400'
128
- },
129
- actionButtonSubtext: {
130
- fontSize: 12,
131
- marginTop: 2
132
- }
133
- });
134
- export default GroupedItem;
135
- //# sourceMappingURL=GroupedItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["memo","useMemo","View","Text","TouchableOpacity","StyleSheet","Ionicons","MaterialCommunityIcons","useTheme","darkenColor","jsx","_jsx","jsxs","_jsxs","GroupedItemComponent","icon","iconColor","title","subtitle","onPress","isFirst","isLast","showChevron","disabled","customContent","customIcon","accessibilityLabel","accessibilityHint","colors","finalIconColor","itemStyles","styles","groupedItem","firstGroupedItem","lastGroupedItem","content","style","groupedItemContent","children","actionIcon","iconContainer","backgroundColor","name","size","color","actionTextContainer","className","actionButtonText","actionButtonSubtext","activeOpacity","accessibilityRole","accessibilityState","displayName","GroupedItem","create","flexDirection","alignItems","justifyContent","overflow","width","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","paddingVertical","paddingHorizontal","gap","height","borderRadius","flex","fontSize","fontWeight","marginTop"],"sourceRoot":"../../../../src","sources":["ui/components/GroupedItem.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,OAAO,QAAQ,OAAO;AACrC,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,UAAU,QAAQ,cAAc;AACvE,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,sBAAsB,QAAQ,oBAAoB;AAC3D,SAASC,QAAQ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c,oBAAoB,CAAC;AAErD,MAAMiB,MAAM,GAAG1B,UAAU,CAACiD,MAAM,CAAC;EAC7BtB,WAAW,EAAE;IACTuB,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,eAAe;IAC/BC,QAAQ,EAAE,QAAQ;IAClBC,KAAK,EAAE;EACX,CAAC;EACD1B,gBAAgB,EAAE;IACd2B,mBAAmB,EAAE,EAAE;IACvBC,oBAAoB,EAAE;EAC1B,CAAC;EACD3B,eAAe,EAAE;IACb4B,sBAAsB,EAAE,EAAE;IAC1BC,uBAAuB,EAAE;EAC7B,CAAC;EACD1B,kBAAkB,EAAE;IAChBkB,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBQ,eAAe,EAAE,CAAC;IAClBC,iBAAiB,EAAE,EAAE;IACrBN,KAAK,EAAE,MAAM;IACbO,GAAG,EAAE;EACT,CAAC;EACD3B,UAAU,EAAE;IACR;EAAA,CACH;EACDC,aAAa,EAAE;IACXmB,KAAK,EAAE,EAAE;IACTQ,MAAM,EAAE,EAAE;IACVC,YAAY,EAAE,EAAE;IAChBZ,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;IAChB;EACJ,CAAC;EACDZ,mBAAmB,EAAE;IACjBwB,IAAI,EAAE;EACV,CAAC;EACDtB,gBAAgB,EAAE;IACduB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EAChB,CAAC;EACDvB,mBAAmB,EAAE;IACjBsB,QAAQ,EAAE,EAAE;IACZE,SAAS,EAAE;EACf;AACJ,CAAC,CAAC;AAEF,eAAenB,WAAW","ignoreList":[]}
@@ -1,37 +0,0 @@
1
- "use strict";
2
-
3
- import { memo } from 'react';
4
- import { View } from 'react-native';
5
- import { GroupedItem } from "./GroupedItem.js";
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- const GroupedSectionComponent = ({
8
- items
9
- }) => {
10
- return /*#__PURE__*/_jsx(View, {
11
- style: {
12
- width: '100%'
13
- },
14
- children: items.map((item, index) => /*#__PURE__*/_jsx(View, {
15
- style: {
16
- marginBottom: index < items.length - 1 ? 4 : 0
17
- },
18
- children: /*#__PURE__*/_jsx(GroupedItem, {
19
- icon: item.icon,
20
- iconColor: item.iconColor,
21
- title: item.title,
22
- subtitle: item.subtitle,
23
- onPress: item.onPress,
24
- isFirst: index === 0,
25
- isLast: index === items.length - 1,
26
- showChevron: item.showChevron,
27
- disabled: item.disabled,
28
- customContent: item.customContent,
29
- customIcon: item.customIcon
30
- })
31
- }, `${item.id}-${index}`))
32
- });
33
- };
34
- GroupedSectionComponent.displayName = 'GroupedSection';
35
- export const GroupedSection = /*#__PURE__*/memo(GroupedSectionComponent);
36
- export default GroupedSection;
37
- //# sourceMappingURL=GroupedSection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["memo","View","GroupedItem","jsx","_jsx","GroupedSectionComponent","items","style","width","children","map","item","index","marginBottom","length","icon","iconColor","title","subtitle","onPress","isFirst","isLast","showChevron","disabled","customContent","customIcon","id","displayName","GroupedSection"],"sourceRoot":"../../../../src","sources":["ui/components/GroupedSection.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,OAAO;AAC5B,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,WAAW,QAAQ,kBAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA;AA4B5C,MAAMC,uBAAuB,GAAGA,CAAC;EAAEC;AAA2B,CAAC,KAAK;EAChE,oBACIF,IAAA,CAACH,IAAI;IAACM,KAAK,EAAE;MAAEC,KAAK,EAAE;IAAO,CAAE;IAAAC,QAAA,EAC1BH,KAAK,CAACI,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,kBACnBR,IAAA,CAACH,IAAI;MAA6BM,KAAK,EAAE;QAAEM,YAAY,EAAED,KAAK,GAAGN,KAAK,CAACQ,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG;MAAE,CAAE;MAAAL,QAAA,eACxFL,IAAA,CAACF,WAAW;QACRa,IAAI,EAAEJ,IAAI,CAACI,IAAK;QAChBC,SAAS,EAAEL,IAAI,CAACK,SAAU;QAC1BC,KAAK,EAAEN,IAAI,CAACM,KAAM;QAClBC,QAAQ,EAAEP,IAAI,CAACO,QAAS;QACxBC,OAAO,EAAER,IAAI,CAACQ,OAAQ;QACtBC,OAAO,EAAER,KAAK,KAAK,CAAE;QACrBS,MAAM,EAAET,KAAK,KAAKN,KAAK,CAACQ,MAAM,GAAG,CAAE;QACnCQ,WAAW,EAAEX,IAAI,CAACW,WAAY;QAC9BC,QAAQ,EAAEZ,IAAI,CAACY,QAAS;QACxBC,aAAa,EAAEb,IAAI,CAACa,aAAc;QAClCC,UAAU,EAAEd,IAAI,CAACc;MAAW,CAC/B;IAAC,GAbK,GAAGd,IAAI,CAACe,EAAE,IAAId,KAAK,EAcxB,CACT;EAAC,CACA,CAAC;AAEf,CAAC;AAEDP,uBAAuB,CAACsB,WAAW,GAAG,gBAAgB;AAEtD,OAAO,MAAMC,cAAc,gBAAG5B,IAAI,CAACK,uBAAuB,CAAC;AAE3D,eAAeuB,cAAc","ignoreList":[]}
@@ -1,34 +0,0 @@
1
- "use strict";
2
-
3
- import { View, StyleSheet } from 'react-native';
4
- import SectionTitle from "./SectionTitle.js";
5
- import { useColorScheme } from "../hooks/useColorScheme.js";
6
- import { normalizeColorScheme } from "../utils/themeUtils.js";
7
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
- const Section = ({
9
- title,
10
- theme,
11
- children,
12
- isFirst = false,
13
- style
14
- }) => {
15
- const colorScheme = normalizeColorScheme(useColorScheme(), theme);
16
- return /*#__PURE__*/_jsxs(View, {
17
- style: [styles.section, isFirst && styles.firstSection, style],
18
- children: [title && /*#__PURE__*/_jsx(SectionTitle, {
19
- title: title,
20
- theme: colorScheme
21
- }), children]
22
- });
23
- };
24
- const styles = StyleSheet.create({
25
- section: {
26
- marginBottom: 10,
27
- gap: 12
28
- },
29
- firstSection: {
30
- marginTop: 8
31
- }
32
- });
33
- export default Section;
34
- //# sourceMappingURL=Section.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["View","StyleSheet","SectionTitle","useColorScheme","normalizeColorScheme","jsx","_jsx","jsxs","_jsxs","Section","title","theme","children","isFirst","style","colorScheme","styles","section","firstSection","create","marginBottom","gap","marginTop"],"sourceRoot":"../../../../src","sources":["ui/components/Section.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,UAAU,QAAwC,cAAc;AAC/E,OAAOC,YAAY,MAAM,mBAAgB;AACzC,SAASC,cAAc,QAAQ,4BAAyB;AACxD,SAASC,oBAAoB,QAAQ,wBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAU3D,MAAMC,OAA+B,GAAGA,CAAC;EACrCC,KAAK;EACLC,KAAK;EACLC,QAAQ;EACRC,OAAO,GAAG,KAAK;EACfC;AACJ,CAAC,KAAK;EACF,MAAMC,WAAW,GAAGX,oBAAoB,CAACD,cAAc,CAAC,CAAC,EAAEQ,KAAK,CAAC;EAEjE,oBACIH,KAAA,CAACR,IAAI;IAACc,KAAK,EAAE,CAACE,MAAM,CAACC,OAAO,EAAEJ,OAAO,IAAIG,MAAM,CAACE,YAAY,EAAEJ,KAAK,CAAE;IAAAF,QAAA,GAChEF,KAAK,iBAAIJ,IAAA,CAACJ,YAAY;MAACQ,KAAK,EAAEA,KAAM;MAACC,KAAK,EAAEI;IAAY,CAAE,CAAC,EAC3DH,QAAQ;EAAA,CACP,CAAC;AAEf,CAAC;AAED,MAAMI,MAAM,GAAGf,UAAU,CAACkB,MAAM,CAAC;EAC7BF,OAAO,EAAE;IACLG,YAAY,EAAE,EAAE;IAChBC,GAAG,EAAE;EACT,CAAC;EACDH,YAAY,EAAE;IACVI,SAAS,EAAE;EACf;AACJ,CAAC,CAAC;AAEF,eAAeb,OAAO","ignoreList":[]}
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- import { Text, StyleSheet } from 'react-native';
4
- import { fontFamilies } from "../styles/fonts.js";
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- const SectionTitle = ({
7
- title,
8
- theme,
9
- style
10
- }) => {
11
- return /*#__PURE__*/_jsx(Text, {
12
- className: "text-foreground",
13
- style: [styles.sectionTitle, style],
14
- children: title
15
- });
16
- };
17
- const styles = StyleSheet.create({
18
- sectionTitle: {
19
- fontSize: 16,
20
- fontWeight: '600',
21
- fontFamily: fontFamilies.interSemiBold
22
- }
23
- });
24
- export default SectionTitle;
25
- //# sourceMappingURL=SectionTitle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Text","StyleSheet","fontFamilies","jsx","_jsx","SectionTitle","title","theme","style","className","styles","sectionTitle","children","create","fontSize","fontWeight","fontFamily","interSemiBold"],"sourceRoot":"../../../../src","sources":["ui/components/SectionTitle.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,UAAU,QAAwC,cAAc;AAC/E,SAASC,YAAY,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQ/C,MAAMC,YAAyC,GAAGA,CAAC;EAAEC,KAAK;EAAEC,KAAK;EAAEC;AAAM,CAAC,KAAK;EAC3E,oBACIJ,IAAA,CAACJ,IAAI;IAACS,SAAS,EAAC,iBAAiB;IAACD,KAAK,EAAE,CAACE,MAAM,CAACC,YAAY,EAAEH,KAAK,CAAE;IAAAI,QAAA,EACjEN;EAAK,CACJ,CAAC;AAEf,CAAC;AAED,MAAMI,MAAM,GAAGT,UAAU,CAACY,MAAM,CAAC;EAC7BF,YAAY,EAAE;IACVG,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAEd,YAAY,CAACe;EAC7B;AACJ,CAAC,CAAC;AAEF,eAAeZ,YAAY","ignoreList":[]}
@@ -1,85 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { View, Text, Switch, StyleSheet } from 'react-native';
5
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
- /**
7
- * Reusable setting row component with switch
8
- * Extracted from PrivacySettingsScreen for reuse across settings screens
9
- */
10
- const SettingRow = ({
11
- title,
12
- description,
13
- value,
14
- onValueChange,
15
- disabled = false,
16
- textColor,
17
- mutedTextColor,
18
- borderColor,
19
- activeColor = '#d169e5',
20
- inactiveColor = '#767577',
21
- accessibilityLabel
22
- }) => {
23
- return /*#__PURE__*/_jsxs(View, {
24
- style: [styles.settingRow, borderColor ? {
25
- borderBottomColor: borderColor
26
- } : undefined],
27
- accessibilityRole: "none",
28
- children: [/*#__PURE__*/_jsxs(View, {
29
- style: styles.settingInfo,
30
- children: [/*#__PURE__*/_jsx(Text, {
31
- style: [styles.settingTitle, textColor ? {
32
- color: textColor
33
- } : undefined],
34
- accessibilityRole: "text",
35
- children: title
36
- }), description && /*#__PURE__*/_jsx(Text, {
37
- style: [styles.settingDescription, mutedTextColor ? {
38
- color: mutedTextColor
39
- } : undefined],
40
- accessibilityRole: "text",
41
- children: description
42
- })]
43
- }), /*#__PURE__*/_jsx(Switch, {
44
- value: value,
45
- onValueChange: onValueChange,
46
- disabled: disabled,
47
- trackColor: {
48
- false: inactiveColor,
49
- true: activeColor
50
- },
51
- thumbColor: value ? '#fff' : '#f4f3f4',
52
- accessibilityRole: "switch",
53
- accessibilityLabel: accessibilityLabel || title,
54
- accessibilityState: {
55
- checked: value,
56
- disabled
57
- },
58
- accessibilityHint: description
59
- })]
60
- });
61
- };
62
- const styles = StyleSheet.create({
63
- settingRow: {
64
- flexDirection: 'row',
65
- justifyContent: 'space-between',
66
- alignItems: 'center',
67
- paddingVertical: 16,
68
- borderBottomWidth: 1
69
- },
70
- settingInfo: {
71
- flex: 1,
72
- marginRight: 16
73
- },
74
- settingTitle: {
75
- fontSize: 16,
76
- fontWeight: '500',
77
- marginBottom: 4
78
- },
79
- settingDescription: {
80
- fontSize: 14,
81
- opacity: 0.7
82
- }
83
- });
84
- export default /*#__PURE__*/React.memo(SettingRow);
85
- //# sourceMappingURL=SettingRow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Text","Switch","StyleSheet","jsx","_jsx","jsxs","_jsxs","SettingRow","title","description","value","onValueChange","disabled","textColor","mutedTextColor","borderColor","activeColor","inactiveColor","accessibilityLabel","style","styles","settingRow","borderBottomColor","undefined","accessibilityRole","children","settingInfo","settingTitle","color","settingDescription","trackColor","false","true","thumbColor","accessibilityState","checked","accessibilityHint","create","flexDirection","justifyContent","alignItems","paddingVertical","borderBottomWidth","flex","marginRight","fontSize","fontWeight","marginBottom","opacity","memo"],"sourceRoot":"../../../../src","sources":["ui/components/SettingRow.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,UAAU,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAmB9D;AACA;AACA;AACA;AACA,MAAMC,UAAqC,GAAGA,CAAC;EAC3CC,KAAK;EACLC,WAAW;EACXC,KAAK;EACLC,aAAa;EACbC,QAAQ,GAAG,KAAK;EAChBC,SAAS;EACTC,cAAc;EACdC,WAAW;EACXC,WAAW,GAAG,SAAS;EACvBC,aAAa,GAAG,SAAS;EACzBC;AACJ,CAAC,KAAK;EACF,oBACIZ,KAAA,CAACP,IAAI;IACDoB,KAAK,EAAE,CAACC,MAAM,CAACC,UAAU,EAAEN,WAAW,GAAG;MAAEO,iBAAiB,EAAEP;IAAY,CAAC,GAAGQ,SAAS,CAAE;IACzFC,iBAAiB,EAAC,MAAM;IAAAC,QAAA,gBAExBnB,KAAA,CAACP,IAAI;MAACoB,KAAK,EAAEC,MAAM,CAACM,WAAY;MAAAD,QAAA,gBAC5BrB,IAAA,CAACJ,IAAI;QACDmB,KAAK,EAAE,CAACC,MAAM,CAACO,YAAY,EAAEd,SAAS,GAAG;UAAEe,KAAK,EAAEf;QAAU,CAAC,GAAGU,SAAS,CAAE;QAC3EC,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AEF,4BAAelD,KAAK,CAACmD,IAAI,CAAC1C,UAAU,CAAC","ignoreList":[]}
@@ -1,202 +0,0 @@
1
- "use strict";
2
-
3
- import { View, TouchableOpacity, Text, ActivityIndicator, StyleSheet, Platform } from 'react-native';
4
- import { Ionicons } from '@expo/vector-icons';
5
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
6
- const GroupedPillButtons = ({
7
- buttons,
8
- colors,
9
- gap = 8
10
- }) => {
11
- const getButtonStyle = (button, index, totalButtons) => {
12
- const baseStyle = {
13
- flexDirection: 'row',
14
- alignItems: 'center',
15
- paddingVertical: 6,
16
- paddingHorizontal: 12,
17
- gap: 6,
18
- minWidth: 70,
19
- borderWidth: 1,
20
- flexShrink: 0
21
- };
22
-
23
- // Determine border radius based on position
24
- let borderRadius = {
25
- borderTopLeftRadius: 35,
26
- borderBottomLeftRadius: 35,
27
- borderTopRightRadius: 35,
28
- borderBottomRightRadius: 35
29
- };
30
- if (totalButtons > 1) {
31
- if (index === 0) {
32
- // First button
33
- borderRadius = {
34
- borderTopLeftRadius: 35,
35
- borderBottomLeftRadius: 35,
36
- borderTopRightRadius: 12,
37
- borderBottomRightRadius: 12
38
- };
39
- } else if (index === totalButtons - 1) {
40
- // Last button
41
- borderRadius = {
42
- borderTopLeftRadius: 12,
43
- borderBottomLeftRadius: 12,
44
- borderTopRightRadius: 35,
45
- borderBottomRightRadius: 35
46
- };
47
- } else {
48
- // Middle button (if 3 buttons)
49
- borderRadius = {
50
- borderTopLeftRadius: 12,
51
- borderBottomLeftRadius: 12,
52
- borderTopRightRadius: 12,
53
- borderBottomRightRadius: 12
54
- };
55
- }
56
- }
57
-
58
- // Determine colors based on variant
59
- let backgroundColor = 'transparent';
60
- let borderColor = colors.border;
61
- const isDisabled = button.disabled || button.loading;
62
- switch (button.variant) {
63
- case 'primary':
64
- backgroundColor = isDisabled ? '#CCCCCC' : colors.primary;
65
- borderColor = isDisabled ? '#CCCCCC' : colors.primary;
66
- break;
67
- case 'secondary':
68
- backgroundColor = isDisabled ? '#CCCCCC' : colors.secondary || colors.primary;
69
- borderColor = isDisabled ? '#CCCCCC' : colors.secondary || colors.primary;
70
- break;
71
- default:
72
- backgroundColor = 'transparent';
73
- borderColor = isDisabled ? '#CCCCCC' : colors.border;
74
- break;
75
- }
76
- return {
77
- ...baseStyle,
78
- ...borderRadius,
79
- backgroundColor,
80
- borderColor,
81
- opacity: isDisabled ? 0.6 : 1
82
- };
83
- };
84
- const getTextStyle = (button, colors) => {
85
- const baseTextStyle = {
86
- fontSize: 15,
87
- fontWeight: '600',
88
- // Avoid stretching that can cause wraps on native
89
- flexShrink: 1
90
- };
91
- const isDisabled = button.disabled || button.loading;
92
- let textColor = colors.text;
93
- switch (button.variant) {
94
- case 'primary':
95
- case 'secondary':
96
- textColor = isDisabled ? '#999999' : '#FFFFFF';
97
- break;
98
- default:
99
- textColor = isDisabled ? '#999999' : colors.text;
100
- break;
101
- }
102
- return {
103
- ...baseTextStyle,
104
- color: textColor,
105
- ...(Platform.OS === 'web' ? {
106
- whiteSpace: 'nowrap'
107
- } : null)
108
- };
109
- };
110
- const getIconColor = (button, colors) => {
111
- const isDisabled = button.disabled || button.loading;
112
- switch (button.variant) {
113
- case 'primary':
114
- case 'secondary':
115
- return isDisabled ? '#999999' : '#FFFFFF';
116
- default:
117
- return isDisabled ? '#999999' : colors.text;
118
- }
119
- };
120
- const isBackButton = button => {
121
- const text = typeof button.text === 'string' ? button.text.toLowerCase() : '';
122
- return text.includes('back') || button.icon === 'arrow-back' || button.icon === 'chevron-back';
123
- };
124
- const renderButtonContent = (button, colors, index) => {
125
- const iconColor = getIconColor(button, colors);
126
- const isBack = isBackButton(button);
127
- const isFirstButton = index === 0;
128
- const isSingleButton = buttons.length === 1;
129
- if (button.loading) {
130
- return /*#__PURE__*/_jsx(ActivityIndicator, {
131
- color: iconColor,
132
- size: "small"
133
- });
134
- }
135
-
136
- // Auto-detect icon placement based on button order and type
137
- if (isSingleButton) {
138
- // Single button: icon on right
139
- return /*#__PURE__*/_jsxs(_Fragment, {
140
- children: [/*#__PURE__*/_jsx(Text, {
141
- style: getTextStyle(button, colors),
142
- numberOfLines: 1,
143
- ellipsizeMode: "tail",
144
- children: button.text
145
- }), button.icon && /*#__PURE__*/_jsx(Ionicons, {
146
- name: button.icon,
147
- size: 16,
148
- color: iconColor
149
- })]
150
- });
151
- }
152
- if (isFirstButton || isBack) {
153
- // First button or back button: icon on left, text on right
154
- return /*#__PURE__*/_jsxs(_Fragment, {
155
- children: [button.icon && /*#__PURE__*/_jsx(Ionicons, {
156
- name: button.icon,
157
- size: 16,
158
- color: iconColor
159
- }), /*#__PURE__*/_jsx(Text, {
160
- style: getTextStyle(button, colors),
161
- numberOfLines: 1,
162
- ellipsizeMode: "tail",
163
- children: button.text
164
- })]
165
- });
166
- }
167
- // Second button or forward/action button: text on left, icon on right
168
- return /*#__PURE__*/_jsxs(_Fragment, {
169
- children: [/*#__PURE__*/_jsx(Text, {
170
- style: getTextStyle(button, colors),
171
- numberOfLines: 1,
172
- ellipsizeMode: "tail",
173
- children: button.text
174
- }), button.icon && /*#__PURE__*/_jsx(Ionicons, {
175
- name: button.icon,
176
- size: 16,
177
- color: iconColor
178
- })]
179
- });
180
- };
181
- return /*#__PURE__*/_jsx(View, {
182
- style: [styles.container, {
183
- gap
184
- }],
185
- children: buttons.map((button, index) => /*#__PURE__*/_jsx(TouchableOpacity, {
186
- style: getButtonStyle(button, index, buttons.length),
187
- onPress: button.onPress,
188
- disabled: button.disabled || button.loading,
189
- testID: button.testID,
190
- children: renderButtonContent(button, colors, index)
191
- }, index))
192
- });
193
- };
194
- const styles = StyleSheet.create({
195
- container: {
196
- flexDirection: 'row',
197
- justifyContent: 'flex-end',
198
- width: '100%'
199
- }
200
- });
201
- export default GroupedPillButtons;
202
- //# sourceMappingURL=GroupedPillButtons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["View","TouchableOpacity","Text","ActivityIndicator","StyleSheet","Platform","Ionicons","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","GroupedPillButtons","buttons","colors","gap","getButtonStyle","button","index","totalButtons","baseStyle","flexDirection","alignItems","paddingVertical","paddingHorizontal","minWidth","borderWidth","flexShrink","borderRadius","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius","backgroundColor","borderColor","border","isDisabled","disabled","loading","variant","primary","secondary","opacity","getTextStyle","baseTextStyle","fontSize","fontWeight","textColor","text","color","OS","whiteSpace","getIconColor","isBackButton","toLowerCase","includes","icon","renderButtonContent","iconColor","isBack","isFirstButton","isSingleButton","length","size","children","style","numberOfLines","ellipsizeMode","name","styles","container","map","onPress","testID","create","justifyContent","width"],"sourceRoot":"../../../../../src","sources":["ui/components/internal/GroupedPillButtons.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,EAAEC,iBAAiB,EAAEC,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AACpG,SAASC,QAAQ,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AA2B9C,MAAMC,kBAAqD,GAAGA,CAAC;EAC3DC,OAAO;EACPC,MAAM;EACNC,GAAG,GAAG;AACV,CAAC,KAAK;EACF,MAAMC,cAAc,GAAGA,CAACC,MAAoB,EAAEC,KAAa,EAAEC,YAAoB,KAAK;IAClF,MAAMC,SAAS,GAAG;MACdC,aAAa,EAAE,KAAc;MAC7BC,UAAU,EAAE,QAAiB;MAC7BC,eAAe,EAAE,CAAC;MAClBC,iBAAiB,EAAE,EAAE;MACrBT,GAAG,EAAE,CAAC;MACNU,QAAQ,EAAE,EAAE;MACZC,WAAW,EAAE,CAAC;MACdC,UAAU,EAAE;IAChB,CAAC;;IAED;IACA,IAAIC,YAAY,GAAG;MACfC,mBAAmB,EAAE,EAAE;MACvBC,sBAAsB,EAAE,EAAE;MAC1BC,o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OAAQ;MACxBnC,QAAQ,EAAEpB,MAAM,CAACoB,QAAQ,IAAIpB,MAAM,CAACqB,OAAQ;MAC5CmC,MAAM,EAAExD,MAAM,CAACwD,MAAO;MAAAT,QAAA,EAErBP,mBAAmB,CAACxC,MAAM,EAAEH,MAAM,EAAEI,KAAK;IAAC,GANtCA,KAOS,CACrB;EAAC,CACA,CAAC;AAEf,CAAC;AAED,MAAMmD,MAAM,GAAGlE,UAAU,CAACuE,MAAM,CAAC;EAC7BJ,SAAS,EAAE;IACPjD,aAAa,EAAE,KAAK;IACpBsD,cAAc,EAAE,UAAU;IAC1BC,KAAK,EAAE;EACX;AACJ,CAAC,CAAC;AAEF,eAAehE,kBAAkB","ignoreList":[]}
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- import { Platform, Alert } from 'react-native';
4
-
5
- /**
6
- * Cross-platform confirm dialog. Uses window.confirm on web, Alert.alert on native.
7
- * @param message The message to display
8
- * @param onConfirm Callback if user confirms
9
- */
10
- export function confirmAction(message, onConfirm) {
11
- if (Platform.OS === 'web') {
12
- if (window.confirm(message)) {
13
- onConfirm();
14
- }
15
- } else {
16
- Alert.alert('Confirm', message, [{
17
- text: 'Cancel',
18
- style: 'cancel'
19
- }, {
20
- text: 'OK',
21
- onPress: onConfirm
22
- }]);
23
- }
24
- }
25
- //# sourceMappingURL=confirmAction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Platform","Alert","confirmAction","message","onConfirm","OS","window","confirm","alert","text","style","onPress"],"sourceRoot":"../../../../src","sources":["ui/utils/confirmAction.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,KAAK,QAAQ,cAAc;;AAE9C;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,OAAe,EAAEC,SAAqB,EAAE;EAClE,IAAIJ,QAAQ,CAACK,EAAE,KAAK,KAAK,EAAE;IACvB,IAAIC,MAAM,CAACC,OAAO,CAACJ,OAAO,CAAC,EAAE;MACzBC,SAAS,CAAC,CAAC;IACf;EACJ,CAAC,MAAM;IACHH,KAAK,CAACO,KAAK,CACP,SAAS,EACTL,OAAO,EACP,CACI;MAAEM,IAAI,EAAE,QAAQ;MAAEC,KAAK,EAAE;IAAS,CAAC,EACnC;MAAED,IAAI,EAAE,IAAI;MAAEE,OAAO,EAAEP;IAAU,CAAC,CAE1C,CAAC;EACL;AACJ","ignoreList":[]}
@@ -1,24 +0,0 @@
1
- import type React from 'react';
2
- interface GroupedItemProps {
3
- icon?: string;
4
- iconColor?: string;
5
- title: string;
6
- subtitle?: string;
7
- onPress?: () => void;
8
- isFirst?: boolean;
9
- isLast?: boolean;
10
- showChevron?: boolean;
11
- disabled?: boolean;
12
- customContent?: React.ReactNode;
13
- customIcon?: React.ReactNode;
14
- /** Accessibility label (defaults to title) */
15
- accessibilityLabel?: string;
16
- /** Accessibility hint for what happens on press */
17
- accessibilityHint?: string;
18
- }
19
- export declare const GroupedItem: React.MemoExoticComponent<{
20
- ({ icon, iconColor, title, subtitle, onPress, isFirst, isLast, showChevron, disabled, customContent, customIcon, accessibilityLabel, accessibilityHint, }: GroupedItemProps): import("react/jsx-runtime").JSX.Element;
21
- displayName: string;
22
- }>;
23
- export default GroupedItem;
24
- //# sourceMappingURL=GroupedItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GroupedItem.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/GroupedItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,UAAU,gBAAgB;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mDAAmD;IACnD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAqFD,eAAO,MAAM,WAAW;+JArErB,gBAAgB;;EAqEkC,CAAC;AAkDtD,eAAe,WAAW,CAAC"}
@@ -1,30 +0,0 @@
1
- import type React from 'react';
2
- interface GroupedSectionItem {
3
- id: string;
4
- icon?: string;
5
- iconColor?: string;
6
- title: string;
7
- subtitle?: string;
8
- onPress?: () => void;
9
- onLongPress?: () => void;
10
- showChevron?: boolean;
11
- disabled?: boolean;
12
- selected?: boolean;
13
- customContent?: React.ReactNode;
14
- customIcon?: React.ReactNode;
15
- multiRow?: boolean;
16
- dense?: boolean;
17
- customContentBelow?: React.ReactNode;
18
- theme?: string;
19
- /** Allow additional properties for extensibility */
20
- [key: string]: unknown;
21
- }
22
- interface GroupedSectionProps {
23
- items: GroupedSectionItem[];
24
- }
25
- export declare const GroupedSection: React.MemoExoticComponent<{
26
- ({ items }: GroupedSectionProps): import("react/jsx-runtime").JSX.Element;
27
- displayName: string;
28
- }>;
29
- export default GroupedSection;
30
- //# sourceMappingURL=GroupedSection.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GroupedSection.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/GroupedSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,UAAU,kBAAkB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B;AAED,UAAU,mBAAmB;IACzB,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC/B;AA4BD,eAAO,MAAM,cAAc;gBA1BiB,mBAAmB;;EA0BJ,CAAC;AAE5D,eAAe,cAAc,CAAC"}