@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,12 +0,0 @@
1
- import type React from 'react';
2
- import { type StyleProp, type ViewStyle } from 'react-native';
3
- interface SectionProps {
4
- title?: string;
5
- theme?: 'light' | 'dark';
6
- children: React.ReactNode;
7
- isFirst?: boolean;
8
- style?: StyleProp<ViewStyle>;
9
- }
10
- declare const Section: React.FC<SectionProps>;
11
- export default Section;
12
- //# sourceMappingURL=Section.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhF,UAAU,YAAY;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAenC,CAAC;AAYF,eAAe,OAAO,CAAC"}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import { type StyleProp, type TextStyle } from 'react-native';
3
- interface SectionTitleProps {
4
- title: string;
5
- theme?: 'light' | 'dark';
6
- style?: StyleProp<TextStyle>;
7
- }
8
- declare const SectionTitle: React.FC<SectionTitleProps>;
9
- export default SectionTitle;
10
- //# sourceMappingURL=SectionTitle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGhF,UAAU,iBAAiB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAM7C,CAAC;AAUF,eAAe,YAAY,CAAC"}
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- export interface SettingRowProps {
3
- title: string;
4
- description?: string;
5
- value: boolean;
6
- onValueChange: (value: boolean) => void;
7
- disabled?: boolean;
8
- textColor?: string;
9
- mutedTextColor?: string;
10
- borderColor?: string;
11
- /** Active color for the switch track (default: #d169e5) */
12
- activeColor?: string;
13
- /** Inactive color for the switch track (default: #767577) */
14
- inactiveColor?: string;
15
- /** Accessibility label for the switch */
16
- accessibilityLabel?: string;
17
- }
18
- declare const _default: React.NamedExoticComponent<SettingRowProps>;
19
- export default _default;
20
- //# sourceMappingURL=SettingRow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SettingRow.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/SettingRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6DAA6D;IAC7D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;;AA8ED,wBAAsC"}
@@ -1,24 +0,0 @@
1
- import type React from 'react';
2
- interface ButtonConfig {
3
- text: string;
4
- onPress: () => void;
5
- icon?: string;
6
- variant?: 'primary' | 'secondary' | 'transparent';
7
- disabled?: boolean;
8
- loading?: boolean;
9
- testID?: string;
10
- }
11
- interface GroupedPillButtonColors {
12
- primary: string;
13
- secondary?: string;
14
- border: string;
15
- text: string;
16
- }
17
- interface GroupedPillButtonsProps {
18
- buttons: ButtonConfig[];
19
- colors: GroupedPillButtonColors;
20
- gap?: number;
21
- }
22
- declare const GroupedPillButtons: React.FC<GroupedPillButtonsProps>;
23
- export default GroupedPillButtons;
24
- //# sourceMappingURL=GroupedPillButtons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GroupedPillButtons.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/internal/GroupedPillButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,UAAU,YAAY;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,uBAAuB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,uBAAuB;IAC7B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,MAAM,EAAE,uBAAuB,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAkNzD,CAAC;AAUF,eAAe,kBAAkB,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Cross-platform confirm dialog. Uses window.confirm on web, Alert.alert on native.
3
- * @param message The message to display
4
- * @param onConfirm Callback if user confirms
5
- */
6
- export declare function confirmAction(message: string, onConfirm: () => void): void;
7
- //# sourceMappingURL=confirmAction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"confirmAction.d.ts","sourceRoot":"","sources":["../../../../../src/ui/utils/confirmAction.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,IAAI,QAenE"}
@@ -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"}
@@ -1,12 +0,0 @@
1
- import type React from 'react';
2
- import { type StyleProp, type ViewStyle } from 'react-native';
3
- interface SectionProps {
4
- title?: string;
5
- theme?: 'light' | 'dark';
6
- children: React.ReactNode;
7
- isFirst?: boolean;
8
- style?: StyleProp<ViewStyle>;
9
- }
10
- declare const Section: React.FC<SectionProps>;
11
- export default Section;
12
- //# sourceMappingURL=Section.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhF,UAAU,YAAY;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAenC,CAAC;AAYF,eAAe,OAAO,CAAC"}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import { type StyleProp, type TextStyle } from 'react-native';
3
- interface SectionTitleProps {
4
- title: string;
5
- theme?: 'light' | 'dark';
6
- style?: StyleProp<TextStyle>;
7
- }
8
- declare const SectionTitle: React.FC<SectionTitleProps>;
9
- export default SectionTitle;
10
- //# sourceMappingURL=SectionTitle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/SectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGhF,UAAU,iBAAiB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAM7C,CAAC;AAUF,eAAe,YAAY,CAAC"}
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- export interface SettingRowProps {
3
- title: string;
4
- description?: string;
5
- value: boolean;
6
- onValueChange: (value: boolean) => void;
7
- disabled?: boolean;
8
- textColor?: string;
9
- mutedTextColor?: string;
10
- borderColor?: string;
11
- /** Active color for the switch track (default: #d169e5) */
12
- activeColor?: string;
13
- /** Inactive color for the switch track (default: #767577) */
14
- inactiveColor?: string;
15
- /** Accessibility label for the switch */
16
- accessibilityLabel?: string;
17
- }
18
- declare const _default: React.NamedExoticComponent<SettingRowProps>;
19
- export default _default;
20
- //# sourceMappingURL=SettingRow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SettingRow.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/SettingRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6DAA6D;IAC7D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;;AA8ED,wBAAsC"}
@@ -1,24 +0,0 @@
1
- import type React from 'react';
2
- interface ButtonConfig {
3
- text: string;
4
- onPress: () => void;
5
- icon?: string;
6
- variant?: 'primary' | 'secondary' | 'transparent';
7
- disabled?: boolean;
8
- loading?: boolean;
9
- testID?: string;
10
- }
11
- interface GroupedPillButtonColors {
12
- primary: string;
13
- secondary?: string;
14
- border: string;
15
- text: string;
16
- }
17
- interface GroupedPillButtonsProps {
18
- buttons: ButtonConfig[];
19
- colors: GroupedPillButtonColors;
20
- gap?: number;
21
- }
22
- declare const GroupedPillButtons: React.FC<GroupedPillButtonsProps>;
23
- export default GroupedPillButtons;
24
- //# sourceMappingURL=GroupedPillButtons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GroupedPillButtons.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/internal/GroupedPillButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,UAAU,YAAY;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,uBAAuB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,uBAAuB;IAC7B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,MAAM,EAAE,uBAAuB,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAkNzD,CAAC;AAUF,eAAe,kBAAkB,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Cross-platform confirm dialog. Uses window.confirm on web, Alert.alert on native.
3
- * @param message The message to display
4
- * @param onConfirm Callback if user confirms
5
- */
6
- export declare function confirmAction(message: string, onConfirm: () => void): void;
7
- //# sourceMappingURL=confirmAction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"confirmAction.d.ts","sourceRoot":"","sources":["../../../../../src/ui/utils/confirmAction.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,IAAI,QAenE"}
@@ -1,161 +0,0 @@
1
- import type React from 'react';
2
- import { memo, useMemo } from 'react';
3
- import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
4
- import { Ionicons } from '@expo/vector-icons';
5
- import { MaterialCommunityIcons } from '@expo/vector-icons';
6
- import { useTheme } from '@oxyhq/bloom/theme';
7
- import { darkenColor } from '../utils/colorUtils';
8
-
9
-
10
- interface GroupedItemProps {
11
- icon?: string;
12
- iconColor?: string;
13
- title: string;
14
- subtitle?: string;
15
- onPress?: () => void;
16
- isFirst?: boolean;
17
- isLast?: boolean;
18
- showChevron?: boolean;
19
- disabled?: boolean;
20
- customContent?: React.ReactNode;
21
- customIcon?: React.ReactNode;
22
- /** Accessibility label (defaults to title) */
23
- accessibilityLabel?: string;
24
- /** Accessibility hint for what happens on press */
25
- accessibilityHint?: string;
26
- }
27
-
28
- const GroupedItemComponent = ({
29
- icon,
30
- iconColor,
31
- title,
32
- subtitle,
33
- onPress,
34
- isFirst = false,
35
- isLast = false,
36
- showChevron = false,
37
- disabled = false,
38
- customContent,
39
- customIcon,
40
- accessibilityLabel,
41
- accessibilityHint,
42
- }: GroupedItemProps) => {
43
- const { colors } = useTheme();
44
- // Use fallback color when iconColor is not provided
45
- const finalIconColor = iconColor || colors.icon;
46
-
47
- const itemStyles = useMemo(
48
- () => [
49
- styles.groupedItem,
50
- isFirst && styles.firstGroupedItem,
51
- isLast && styles.lastGroupedItem,
52
- ],
53
- [isFirst, isLast],
54
- );
55
-
56
- const content = (
57
- <View style={styles.groupedItemContent}>
58
- {customIcon ? (
59
- <View style={styles.actionIcon}>{customIcon}</View>
60
- ) : icon ? (
61
- <View style={[styles.iconContainer, { backgroundColor: finalIconColor }]}>
62
- <MaterialCommunityIcons name={icon} size={22} color={darkenColor(finalIconColor)} />
63
- </View>
64
- ) : null}
65
- <View style={styles.actionTextContainer}>
66
- <Text className="text-foreground" style={styles.actionButtonText}>{title}</Text>
67
- {subtitle && (
68
- <Text className="text-muted-foreground" style={styles.actionButtonSubtext}>
69
- {subtitle}
70
- </Text>
71
- )}
72
- </View>
73
- {customContent}
74
- {showChevron && (
75
- <Ionicons name="chevron-forward" size={20} color={colors.icon} />
76
- )}
77
- </View>
78
- );
79
-
80
- if (onPress && !disabled) {
81
- return (
82
- <TouchableOpacity
83
- className="bg-card"
84
- style={itemStyles}
85
- onPress={onPress}
86
- activeOpacity={0.7}
87
- accessibilityRole="button"
88
- accessibilityLabel={accessibilityLabel || title}
89
- accessibilityHint={accessibilityHint || subtitle}
90
- accessibilityState={{ disabled }}
91
- >
92
- {content}
93
- </TouchableOpacity>
94
- );
95
- }
96
-
97
- return (
98
- <View
99
- className="bg-card"
100
- style={itemStyles}
101
- accessibilityRole="text"
102
- accessibilityLabel={accessibilityLabel || title}
103
- >
104
- {content}
105
- </View>
106
- );
107
- };
108
-
109
- GroupedItemComponent.displayName = 'GroupedItem';
110
-
111
- export const GroupedItem = memo(GroupedItemComponent);
112
-
113
- const styles = StyleSheet.create({
114
- groupedItem: {
115
- flexDirection: 'row',
116
- alignItems: 'center',
117
- justifyContent: 'space-between',
118
- overflow: 'hidden',
119
- width: '100%',
120
- },
121
- firstGroupedItem: {
122
- borderTopLeftRadius: 18,
123
- borderTopRightRadius: 18,
124
- },
125
- lastGroupedItem: {
126
- borderBottomLeftRadius: 18,
127
- borderBottomRightRadius: 18,
128
- },
129
- groupedItemContent: {
130
- flexDirection: 'row',
131
- alignItems: 'center',
132
- paddingVertical: 8,
133
- paddingHorizontal: 10,
134
- width: '100%',
135
- gap: 10,
136
- },
137
- actionIcon: {
138
- // marginRight handled by gap
139
- },
140
- iconContainer: {
141
- width: 36,
142
- height: 36,
143
- borderRadius: 18,
144
- alignItems: 'center',
145
- justifyContent: 'center',
146
- // marginRight handled by gap
147
- },
148
- actionTextContainer: {
149
- flex: 1,
150
- },
151
- actionButtonText: {
152
- fontSize: 14,
153
- fontWeight: '400',
154
- },
155
- actionButtonSubtext: {
156
- fontSize: 12,
157
- marginTop: 2,
158
- },
159
- });
160
-
161
- export default GroupedItem;
@@ -1,60 +0,0 @@
1
- import type React from 'react';
2
- import { memo } from 'react';
3
- import { View } from 'react-native';
4
- import { GroupedItem } from './GroupedItem';
5
- import { Ionicons } from '@expo/vector-icons';
6
-
7
- interface GroupedSectionItem {
8
- id: string;
9
- icon?: string;
10
- iconColor?: string;
11
- title: string;
12
- subtitle?: string;
13
- onPress?: () => void;
14
- onLongPress?: () => void;
15
- showChevron?: boolean;
16
- disabled?: boolean;
17
- selected?: boolean;
18
- customContent?: React.ReactNode;
19
- customIcon?: React.ReactNode;
20
- multiRow?: boolean;
21
- dense?: boolean;
22
- customContentBelow?: React.ReactNode;
23
- theme?: string;
24
- /** Allow additional properties for extensibility */
25
- [key: string]: unknown;
26
- }
27
-
28
- interface GroupedSectionProps {
29
- items: GroupedSectionItem[];
30
- }
31
-
32
- const GroupedSectionComponent = ({ items }: GroupedSectionProps) => {
33
- return (
34
- <View style={{ width: '100%' }}>
35
- {items.map((item, index) => (
36
- <View key={`${item.id}-${index}`} style={{ marginBottom: index < items.length - 1 ? 4 : 0 }}>
37
- <GroupedItem
38
- icon={item.icon}
39
- iconColor={item.iconColor}
40
- title={item.title}
41
- subtitle={item.subtitle}
42
- onPress={item.onPress}
43
- isFirst={index === 0}
44
- isLast={index === items.length - 1}
45
- showChevron={item.showChevron}
46
- disabled={item.disabled}
47
- customContent={item.customContent}
48
- customIcon={item.customIcon}
49
- />
50
- </View>
51
- ))}
52
- </View>
53
- );
54
- };
55
-
56
- GroupedSectionComponent.displayName = 'GroupedSection';
57
-
58
- export const GroupedSection = memo(GroupedSectionComponent);
59
-
60
- export default GroupedSection;
@@ -1,42 +0,0 @@
1
- import type React from 'react';
2
- import { View, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
3
- import SectionTitle from './SectionTitle';
4
- import { useColorScheme } from '../hooks/useColorScheme';
5
- import { normalizeColorScheme } from '../utils/themeUtils';
6
-
7
- interface SectionProps {
8
- title?: string;
9
- theme?: 'light' | 'dark';
10
- children: React.ReactNode;
11
- isFirst?: boolean;
12
- style?: StyleProp<ViewStyle>;
13
- }
14
-
15
- const Section: React.FC<SectionProps> = ({
16
- title,
17
- theme,
18
- children,
19
- isFirst = false,
20
- style
21
- }) => {
22
- const colorScheme = normalizeColorScheme(useColorScheme(), theme);
23
-
24
- return (
25
- <View style={[styles.section, isFirst && styles.firstSection, style]}>
26
- {title && <SectionTitle title={title} theme={colorScheme} />}
27
- {children}
28
- </View>
29
- );
30
- };
31
-
32
- const styles = StyleSheet.create({
33
- section: {
34
- marginBottom: 10,
35
- gap: 12,
36
- },
37
- firstSection: {
38
- marginTop: 8,
39
- },
40
- });
41
-
42
- export default Section;
@@ -1,27 +0,0 @@
1
- import type React from 'react';
2
- import { Text, StyleSheet, type StyleProp, type TextStyle } from 'react-native';
3
- import { fontFamilies } from '../styles/fonts';
4
-
5
- interface SectionTitleProps {
6
- title: string;
7
- theme?: 'light' | 'dark';
8
- style?: StyleProp<TextStyle>;
9
- }
10
-
11
- const SectionTitle: React.FC<SectionTitleProps> = ({ title, theme, style }) => {
12
- return (
13
- <Text className="text-foreground" style={[styles.sectionTitle, style]}>
14
- {title}
15
- </Text>
16
- );
17
- };
18
-
19
- const styles = StyleSheet.create({
20
- sectionTitle: {
21
- fontSize: 16,
22
- fontWeight: '600',
23
- fontFamily: fontFamilies.interSemiBold,
24
- },
25
- });
26
-
27
- export default SectionTitle;
@@ -1,98 +0,0 @@
1
- import React from 'react';
2
- import { View, Text, Switch, StyleSheet } from 'react-native';
3
-
4
- export interface SettingRowProps {
5
- title: string;
6
- description?: string;
7
- value: boolean;
8
- onValueChange: (value: boolean) => void;
9
- disabled?: boolean;
10
- textColor?: string;
11
- mutedTextColor?: string;
12
- borderColor?: string;
13
- /** Active color for the switch track (default: #d169e5) */
14
- activeColor?: string;
15
- /** Inactive color for the switch track (default: #767577) */
16
- inactiveColor?: string;
17
- /** Accessibility label for the switch */
18
- accessibilityLabel?: string;
19
- }
20
-
21
- /**
22
- * Reusable setting row component with switch
23
- * Extracted from PrivacySettingsScreen for reuse across settings screens
24
- */
25
- const SettingRow: React.FC<SettingRowProps> = ({
26
- title,
27
- description,
28
- value,
29
- onValueChange,
30
- disabled = false,
31
- textColor,
32
- mutedTextColor,
33
- borderColor,
34
- activeColor = '#d169e5',
35
- inactiveColor = '#767577',
36
- accessibilityLabel,
37
- }) => {
38
- return (
39
- <View
40
- style={[styles.settingRow, borderColor ? { borderBottomColor: borderColor } : undefined]}
41
- accessibilityRole="none"
42
- >
43
- <View style={styles.settingInfo}>
44
- <Text
45
- style={[styles.settingTitle, textColor ? { color: textColor } : undefined]}
46
- accessibilityRole="text"
47
- >
48
- {title}
49
- </Text>
50
- {description && (
51
- <Text
52
- style={[styles.settingDescription, mutedTextColor ? { color: mutedTextColor } : undefined]}
53
- accessibilityRole="text"
54
- >
55
- {description}
56
- </Text>
57
- )}
58
- </View>
59
- <Switch
60
- value={value}
61
- onValueChange={onValueChange}
62
- disabled={disabled}
63
- trackColor={{ false: inactiveColor, true: activeColor }}
64
- thumbColor={value ? '#fff' : '#f4f3f4'}
65
- accessibilityRole="switch"
66
- accessibilityLabel={accessibilityLabel || title}
67
- accessibilityState={{ checked: value, disabled }}
68
- accessibilityHint={description}
69
- />
70
- </View>
71
- );
72
- };
73
-
74
- const styles = StyleSheet.create({
75
- settingRow: {
76
- flexDirection: 'row',
77
- justifyContent: 'space-between',
78
- alignItems: 'center',
79
- paddingVertical: 16,
80
- borderBottomWidth: 1,
81
- },
82
- settingInfo: {
83
- flex: 1,
84
- marginRight: 16,
85
- },
86
- settingTitle: {
87
- fontSize: 16,
88
- fontWeight: '500',
89
- marginBottom: 4,
90
- },
91
- settingDescription: {
92
- fontSize: 14,
93
- opacity: 0.7,
94
- },
95
- });
96
-
97
- export default React.memo(SettingRow);
98
-