@oxyhq/services 6.9.45 → 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 (255) hide show
  1. package/lib/commonjs/ui/components/OxyProvider.js +6 -5
  2. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  3. package/lib/commonjs/ui/components/SignInModal.js +271 -102
  4. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  5. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +24 -15
  6. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  7. package/lib/commonjs/ui/components/index.js +0 -35
  8. package/lib/commonjs/ui/components/index.js.map +1 -1
  9. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +26 -13
  10. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  11. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +50 -28
  12. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  13. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +83 -48
  14. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
  15. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +11 -10
  16. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  17. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +38 -23
  18. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  19. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +4 -3
  20. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
  21. package/lib/commonjs/ui/screens/AccountCenterScreen.js +1 -3
  22. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  23. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +47 -63
  24. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  25. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +90 -68
  26. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  27. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +72 -63
  28. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  29. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +5 -5
  30. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  31. package/lib/commonjs/ui/screens/FeedbackScreen.js +57 -51
  32. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  33. package/lib/commonjs/ui/screens/FileManagementScreen.js +25 -36
  34. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  35. package/lib/commonjs/ui/screens/HistoryViewScreen.js +31 -31
  36. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  37. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +15 -8
  38. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  39. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +60 -54
  40. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  41. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +12 -9
  42. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  43. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +159 -190
  44. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  45. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +20 -22
  46. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  47. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +16 -17
  48. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  49. package/lib/commonjs/ui/screens/SessionManagementScreen.js +26 -4
  50. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
  51. package/lib/commonjs/ui/screens/UserLinksScreen.js +13 -29
  52. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  53. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +110 -52
  54. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  55. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +3 -5
  56. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  57. package/lib/module/ui/components/OxyProvider.js +6 -5
  58. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  59. package/lib/module/ui/components/SignInModal.js +271 -100
  60. package/lib/module/ui/components/SignInModal.js.map +1 -1
  61. package/lib/module/ui/components/fileManagement/FileViewer.js +24 -15
  62. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  63. package/lib/module/ui/components/index.js +0 -5
  64. package/lib/module/ui/components/index.js.map +1 -1
  65. package/lib/module/ui/components/payment/PaymentDetailsStep.js +26 -13
  66. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  67. package/lib/module/ui/components/payment/PaymentMethodStep.js +49 -26
  68. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  69. package/lib/module/ui/components/payment/PaymentReviewStep.js +84 -48
  70. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
  71. package/lib/module/ui/components/payment/PaymentSuccessStep.js +11 -9
  72. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  73. package/lib/module/ui/components/payment/PaymentSummaryStep.js +38 -22
  74. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  75. package/lib/module/ui/context/hooks/useAuthOperations.js +4 -3
  76. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  77. package/lib/module/ui/screens/AccountCenterScreen.js +1 -3
  78. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  79. package/lib/module/ui/screens/AccountOverviewScreen.js +46 -62
  80. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  81. package/lib/module/ui/screens/AccountSettingsScreen.js +90 -68
  82. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  83. package/lib/module/ui/screens/AccountSwitcherScreen.js +73 -64
  84. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
  85. package/lib/module/ui/screens/AccountVerificationScreen.js +6 -6
  86. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  87. package/lib/module/ui/screens/FeedbackScreen.js +48 -42
  88. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  89. package/lib/module/ui/screens/FileManagementScreen.js +25 -36
  90. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  91. package/lib/module/ui/screens/HistoryViewScreen.js +32 -32
  92. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  93. package/lib/module/ui/screens/LanguageSelectorScreen.js +16 -9
  94. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  95. package/lib/module/ui/screens/LegalDocumentsScreen.js +61 -55
  96. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  97. package/lib/module/ui/screens/PaymentGatewayScreen.js +12 -9
  98. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  99. package/lib/module/ui/screens/PrivacySettingsScreen.js +161 -192
  100. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  101. package/lib/module/ui/screens/SavesCollectionsScreen.js +21 -23
  102. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  103. package/lib/module/ui/screens/SearchSettingsScreen.js +17 -18
  104. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  105. package/lib/module/ui/screens/SessionManagementScreen.js +27 -5
  106. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  107. package/lib/module/ui/screens/UserLinksScreen.js +15 -31
  108. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  109. package/lib/module/ui/screens/WelcomeNewUserScreen.js +110 -52
  110. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  111. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +4 -6
  112. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  113. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  114. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
  115. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  116. package/lib/typescript/commonjs/ui/components/index.d.ts +0 -5
  117. package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -1
  118. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  120. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  121. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  122. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  123. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  124. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +1 -1
  125. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -1
  126. package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  127. package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  128. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  129. package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
  130. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  131. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
  132. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  133. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  134. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  135. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  136. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  137. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  138. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  139. package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  140. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  141. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  142. package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
  143. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  144. package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
  145. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  146. package/lib/typescript/module/ui/components/index.d.ts +0 -5
  147. package/lib/typescript/module/ui/components/index.d.ts.map +1 -1
  148. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  149. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  150. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  151. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  152. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  153. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  154. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +1 -1
  155. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -1
  156. package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  157. package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  158. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  159. package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
  160. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  161. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
  162. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  163. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  164. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  165. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  166. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  167. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  168. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  169. package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  170. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  171. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  172. package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
  173. package/package.json +2 -2
  174. package/src/ui/components/OxyProvider.tsx +6 -5
  175. package/src/ui/components/SignInModal.tsx +186 -42
  176. package/src/ui/components/fileManagement/FileViewer.tsx +25 -15
  177. package/src/ui/components/index.ts +0 -5
  178. package/src/ui/components/payment/PaymentDetailsStep.tsx +16 -19
  179. package/src/ui/components/payment/PaymentMethodStep.tsx +33 -35
  180. package/src/ui/components/payment/PaymentReviewStep.tsx +63 -67
  181. package/src/ui/components/payment/PaymentSuccessStep.tsx +4 -12
  182. package/src/ui/components/payment/PaymentSummaryStep.tsx +26 -33
  183. package/src/ui/context/hooks/useAuthOperations.ts +4 -3
  184. package/src/ui/screens/AccountCenterScreen.tsx +2 -3
  185. package/src/ui/screens/AccountOverviewScreen.tsx +44 -65
  186. package/src/ui/screens/AccountSettingsScreen.tsx +121 -149
  187. package/src/ui/screens/AccountSwitcherScreen.tsx +94 -115
  188. package/src/ui/screens/AccountVerificationScreen.tsx +10 -9
  189. package/src/ui/screens/FeedbackScreen.tsx +50 -38
  190. package/src/ui/screens/FileManagementScreen.tsx +26 -34
  191. package/src/ui/screens/HistoryViewScreen.tsx +29 -10
  192. package/src/ui/screens/LanguageSelectorScreen.tsx +19 -7
  193. package/src/ui/screens/LegalDocumentsScreen.tsx +46 -63
  194. package/src/ui/screens/PaymentGatewayScreen.tsx +11 -12
  195. package/src/ui/screens/PrivacySettingsScreen.tsx +81 -193
  196. package/src/ui/screens/SavesCollectionsScreen.tsx +23 -23
  197. package/src/ui/screens/SearchSettingsScreen.tsx +11 -19
  198. package/src/ui/screens/SessionManagementScreen.tsx +29 -3
  199. package/src/ui/screens/UserLinksScreen.tsx +15 -32
  200. package/src/ui/screens/WelcomeNewUserScreen.tsx +46 -20
  201. package/src/ui/screens/karma/KarmaFAQScreen.tsx +4 -6
  202. package/lib/commonjs/ui/components/GroupedItem.js +0 -138
  203. package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
  204. package/lib/commonjs/ui/components/GroupedSection.js +0 -41
  205. package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
  206. package/lib/commonjs/ui/components/Section.js +0 -39
  207. package/lib/commonjs/ui/components/Section.js.map +0 -1
  208. package/lib/commonjs/ui/components/SectionTitle.js +0 -29
  209. package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
  210. package/lib/commonjs/ui/components/SettingRow.js +0 -96
  211. package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
  212. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +0 -208
  213. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
  214. package/lib/module/ui/components/GroupedItem.js +0 -135
  215. package/lib/module/ui/components/GroupedItem.js.map +0 -1
  216. package/lib/module/ui/components/GroupedSection.js +0 -37
  217. package/lib/module/ui/components/GroupedSection.js.map +0 -1
  218. package/lib/module/ui/components/Section.js +0 -34
  219. package/lib/module/ui/components/Section.js.map +0 -1
  220. package/lib/module/ui/components/SectionTitle.js +0 -25
  221. package/lib/module/ui/components/SectionTitle.js.map +0 -1
  222. package/lib/module/ui/components/SettingRow.js +0 -91
  223. package/lib/module/ui/components/SettingRow.js.map +0 -1
  224. package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -204
  225. package/lib/module/ui/components/internal/GroupedPillButtons.js.map +0 -1
  226. package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts +0 -24
  227. package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +0 -1
  228. package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts +0 -30
  229. package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts.map +0 -1
  230. package/lib/typescript/commonjs/ui/components/Section.d.ts +0 -12
  231. package/lib/typescript/commonjs/ui/components/Section.d.ts.map +0 -1
  232. package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts +0 -10
  233. package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +0 -1
  234. package/lib/typescript/commonjs/ui/components/SettingRow.d.ts +0 -20
  235. package/lib/typescript/commonjs/ui/components/SettingRow.d.ts.map +0 -1
  236. package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts +0 -24
  237. package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
  238. package/lib/typescript/module/ui/components/GroupedItem.d.ts +0 -24
  239. package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +0 -1
  240. package/lib/typescript/module/ui/components/GroupedSection.d.ts +0 -30
  241. package/lib/typescript/module/ui/components/GroupedSection.d.ts.map +0 -1
  242. package/lib/typescript/module/ui/components/Section.d.ts +0 -12
  243. package/lib/typescript/module/ui/components/Section.d.ts.map +0 -1
  244. package/lib/typescript/module/ui/components/SectionTitle.d.ts +0 -10
  245. package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +0 -1
  246. package/lib/typescript/module/ui/components/SettingRow.d.ts +0 -20
  247. package/lib/typescript/module/ui/components/SettingRow.d.ts.map +0 -1
  248. package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts +0 -24
  249. package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
  250. package/src/ui/components/GroupedItem.tsx +0 -161
  251. package/src/ui/components/GroupedSection.tsx +0 -60
  252. package/src/ui/components/Section.tsx +0 -42
  253. package/src/ui/components/SectionTitle.tsx +0 -27
  254. package/src/ui/components/SettingRow.tsx +0 -105
  255. package/src/ui/components/internal/GroupedPillButtons.tsx +0 -253
@@ -1,208 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _reactNative = require("react-native");
8
- var _vectorIcons = require("@expo/vector-icons");
9
- var _theme = require("@oxyhq/bloom/theme");
10
- var _jsxRuntime = require("react/jsx-runtime");
11
- const GroupedPillButtons = ({
12
- buttons,
13
- colors,
14
- gap = 8
15
- }) => {
16
- const theme = (0, _theme.useTheme)();
17
- const getButtonStyle = (button, index, totalButtons) => {
18
- const baseStyle = {
19
- flexDirection: 'row',
20
- alignItems: 'center',
21
- paddingVertical: 6,
22
- paddingHorizontal: 12,
23
- gap: 6,
24
- minWidth: 70,
25
- borderWidth: 1,
26
- flexShrink: 0
27
- };
28
-
29
- // Determine border radius based on position
30
- let borderRadius = {
31
- borderTopLeftRadius: 35,
32
- borderBottomLeftRadius: 35,
33
- borderTopRightRadius: 35,
34
- borderBottomRightRadius: 35
35
- };
36
- if (totalButtons > 1) {
37
- if (index === 0) {
38
- // First button
39
- borderRadius = {
40
- borderTopLeftRadius: 35,
41
- borderBottomLeftRadius: 35,
42
- borderTopRightRadius: 12,
43
- borderBottomRightRadius: 12
44
- };
45
- } else if (index === totalButtons - 1) {
46
- // Last button
47
- borderRadius = {
48
- borderTopLeftRadius: 12,
49
- borderBottomLeftRadius: 12,
50
- borderTopRightRadius: 35,
51
- borderBottomRightRadius: 35
52
- };
53
- } else {
54
- // Middle button (if 3 buttons)
55
- borderRadius = {
56
- borderTopLeftRadius: 12,
57
- borderBottomLeftRadius: 12,
58
- borderTopRightRadius: 12,
59
- borderBottomRightRadius: 12
60
- };
61
- }
62
- }
63
-
64
- // Determine colors based on variant
65
- let backgroundColor = 'transparent';
66
- let borderColor = colors.border;
67
- const isDisabled = button.disabled || button.loading;
68
- switch (button.variant) {
69
- case 'primary':
70
- backgroundColor = isDisabled ? theme.colors.borderLight : colors.primary;
71
- borderColor = isDisabled ? theme.colors.borderLight : colors.primary;
72
- break;
73
- case 'secondary':
74
- backgroundColor = isDisabled ? theme.colors.borderLight : colors.secondary || colors.primary;
75
- borderColor = isDisabled ? theme.colors.borderLight : colors.secondary || colors.primary;
76
- break;
77
- default:
78
- backgroundColor = 'transparent';
79
- borderColor = isDisabled ? theme.colors.borderLight : colors.border;
80
- break;
81
- }
82
- return {
83
- ...baseStyle,
84
- ...borderRadius,
85
- backgroundColor,
86
- borderColor,
87
- opacity: isDisabled ? 0.6 : 1
88
- };
89
- };
90
- const getTextStyle = (button, colors) => {
91
- const baseTextStyle = {
92
- fontSize: 15,
93
- fontWeight: '600',
94
- // Avoid stretching that can cause wraps on native
95
- flexShrink: 1
96
- };
97
- const isDisabled = button.disabled || button.loading;
98
- let textColor = colors.text;
99
- switch (button.variant) {
100
- case 'primary':
101
- case 'secondary':
102
- textColor = isDisabled ? theme.colors.textTertiary : '#FFFFFF';
103
- break;
104
- default:
105
- textColor = isDisabled ? theme.colors.textTertiary : colors.text;
106
- break;
107
- }
108
- return {
109
- ...baseTextStyle,
110
- color: textColor,
111
- ...(_reactNative.Platform.OS === 'web' ? {
112
- whiteSpace: 'nowrap'
113
- } : null)
114
- };
115
- };
116
- const getIconColor = (button, colors) => {
117
- const isDisabled = button.disabled || button.loading;
118
- switch (button.variant) {
119
- case 'primary':
120
- case 'secondary':
121
- return isDisabled ? theme.colors.textTertiary : '#FFFFFF';
122
- default:
123
- return isDisabled ? theme.colors.textTertiary : colors.text;
124
- }
125
- };
126
- const isBackButton = button => {
127
- const text = typeof button.text === 'string' ? button.text.toLowerCase() : '';
128
- return text.includes('back') || button.icon === 'arrow-back' || button.icon === 'chevron-back';
129
- };
130
- const renderButtonContent = (button, colors, index) => {
131
- const iconColor = getIconColor(button, colors);
132
- const isBack = isBackButton(button);
133
- const isFirstButton = index === 0;
134
- const isSingleButton = buttons.length === 1;
135
- if (button.loading) {
136
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
137
- color: iconColor,
138
- size: "small"
139
- });
140
- }
141
-
142
- // Auto-detect icon placement based on button order and type
143
- if (isSingleButton) {
144
- // Single button: icon on right
145
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
146
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
147
- style: getTextStyle(button, colors),
148
- numberOfLines: 1,
149
- ellipsizeMode: "tail",
150
- children: button.text
151
- }), button.icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
152
- name: button.icon,
153
- size: 16,
154
- color: iconColor
155
- })]
156
- });
157
- }
158
- if (isFirstButton || isBack) {
159
- // First button or back button: icon on left, text on right
160
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
161
- children: [button.icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
162
- name: button.icon,
163
- size: 16,
164
- color: iconColor
165
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
166
- style: getTextStyle(button, colors),
167
- numberOfLines: 1,
168
- ellipsizeMode: "tail",
169
- children: button.text
170
- })]
171
- });
172
- }
173
- // Second button or forward/action button: text on left, icon on right
174
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
175
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
176
- style: getTextStyle(button, colors),
177
- numberOfLines: 1,
178
- ellipsizeMode: "tail",
179
- children: button.text
180
- }), button.icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
181
- name: button.icon,
182
- size: 16,
183
- color: iconColor
184
- })]
185
- });
186
- };
187
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
188
- style: [styles.container, {
189
- gap
190
- }],
191
- children: buttons.map((button, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
192
- style: getButtonStyle(button, index, buttons.length),
193
- onPress: button.onPress,
194
- disabled: button.disabled || button.loading,
195
- testID: button.testID,
196
- children: renderButtonContent(button, colors, index)
197
- }, index))
198
- });
199
- };
200
- const styles = _reactNative.StyleSheet.create({
201
- container: {
202
- flexDirection: 'row',
203
- justifyContent: 'flex-end',
204
- width: '100%'
205
- }
206
- });
207
- var _default = exports.default = GroupedPillButtons;
208
- //# sourceMappingURL=GroupedPillButtons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require","_vectorIcons","_theme","_jsxRuntime","GroupedPillButtons","buttons","colors","gap","theme","useTheme","getButtonStyle","button","index","totalButtons","baseStyle","flexDirection","alignItems","paddingVertical","paddingHorizontal","minWidth","borderWidth","flexShrink","borderRadius","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius","backgroundColor","borderColor","border","isDisabled","disabled","loading","variant","borderLight","primary","secondary","opacity","getTextStyle","baseTextStyle","fontSize","fontWeight","textColor","text","textTertiary","color","Platform","OS","whiteSpace","getIconColor","isBackButton","toLowerCase","includes","icon","renderButtonContent","iconColor","isBack","isFirstButton","isSingleButton","length","jsx","ActivityIndicator","size","jsxs","Fragment","children","Text","style","numberOfLines","ellipsizeMode","Ionicons","name","View","styles","container","map","TouchableOpacity","onPress","testID","StyleSheet","create","justifyContent","width","_default","exports","default"],"sourceRoot":"../../../../../src","sources":["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AAK,kBACvB,IAAAT,WAAA,CAAAyD,GAAA,EAAC7D,YAAA,CAAA6E,gBAAgB;MAEbT,KAAK,EAAEzD,cAAc,CAACC,MAAM,EAAEC,KAAK,EAAEP,OAAO,CAACsD,MAAM,CAAE;MACrDkB,OAAO,EAAElE,MAAM,CAACkE,OAAQ;MACxB9C,QAAQ,EAAEpB,MAAM,CAACoB,QAAQ,IAAIpB,MAAM,CAACqB,OAAQ;MAC5C8C,MAAM,EAAEnE,MAAM,CAACmE,MAAO;MAAAb,QAAA,EAErBX,mBAAmB,CAAC3C,MAAM,EAAEL,MAAM,EAAEM,KAAK;IAAC,GANtCA,KAOS,CACrB;EAAC,CACA,CAAC;AAEf,CAAC;AAED,MAAM6D,MAAM,GAAGM,uBAAU,CAACC,MAAM,CAAC;EAC7BN,SAAS,EAAE;IACP3D,aAAa,EAAE,KAAK;IACpBkE,cAAc,EAAE,UAAU;IAC1BC,KAAK,EAAE;EACX;AACJ,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEYjF,kBAAkB","ignoreList":[]}
@@ -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,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
- 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,91 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { View, Text, Switch, StyleSheet } from 'react-native';
5
- import { useTheme } from '@oxyhq/bloom/theme';
6
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
- /**
8
- * Reusable setting row component with switch
9
- * Extracted from PrivacySettingsScreen for reuse across settings screens
10
- */
11
- const SettingRow = ({
12
- title,
13
- description,
14
- value,
15
- onValueChange,
16
- disabled = false,
17
- textColor,
18
- mutedTextColor,
19
- borderColor,
20
- activeColor,
21
- inactiveColor,
22
- accessibilityLabel
23
- }) => {
24
- const theme = useTheme();
25
- const resolvedActiveColor = activeColor ?? theme.colors.primary;
26
- const resolvedInactiveColor = inactiveColor ?? theme.colors.textTertiary;
27
- const thumbOn = theme.colors.background;
28
- const thumbOff = theme.colors.backgroundSecondary;
29
- return /*#__PURE__*/_jsxs(View, {
30
- style: [styles.settingRow, borderColor ? {
31
- borderBottomColor: borderColor
32
- } : undefined],
33
- accessibilityRole: "none",
34
- children: [/*#__PURE__*/_jsxs(View, {
35
- style: styles.settingInfo,
36
- children: [/*#__PURE__*/_jsx(Text, {
37
- style: [styles.settingTitle, textColor ? {
38
- color: textColor
39
- } : undefined],
40
- accessibilityRole: "text",
41
- children: title
42
- }), description && /*#__PURE__*/_jsx(Text, {
43
- style: [styles.settingDescription, mutedTextColor ? {
44
- color: mutedTextColor
45
- } : undefined],
46
- accessibilityRole: "text",
47
- children: description
48
- })]
49
- }), /*#__PURE__*/_jsx(Switch, {
50
- value: value,
51
- onValueChange: onValueChange,
52
- disabled: disabled,
53
- trackColor: {
54
- false: resolvedInactiveColor,
55
- true: resolvedActiveColor
56
- },
57
- thumbColor: value ? thumbOn : thumbOff,
58
- accessibilityRole: "switch",
59
- accessibilityLabel: accessibilityLabel || title,
60
- accessibilityState: {
61
- checked: value,
62
- disabled
63
- },
64
- accessibilityHint: description
65
- })]
66
- });
67
- };
68
- const styles = StyleSheet.create({
69
- settingRow: {
70
- flexDirection: 'row',
71
- justifyContent: 'space-between',
72
- alignItems: 'center',
73
- paddingVertical: 16,
74
- borderBottomWidth: 1
75
- },
76
- settingInfo: {
77
- flex: 1,
78
- marginRight: 16
79
- },
80
- settingTitle: {
81
- fontSize: 16,
82
- fontWeight: '500',
83
- marginBottom: 4
84
- },
85
- settingDescription: {
86
- fontSize: 14,
87
- opacity: 0.7
88
- }
89
- });
90
- export default /*#__PURE__*/React.memo(SettingRow);
91
- //# sourceMappingURL=SettingRow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Text","Switch","StyleSheet","useTheme","jsx","_jsx","jsxs","_jsxs","SettingRow","title","description","value","onValueChange","disabled","textColor","mutedTextColor","borderColor","activeColor","inactiveColor","accessibilityLabel","theme","resolvedActiveColor","colors","primary","resolvedInactiveColor","textTertiary","thumbOn","background","thumbOff","backgroundSecondary","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;AAC7D,SAASC,QAAQ,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAmB9C;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;EACXC,aAAa;EACbC;AACJ,CAAC,KAAK;EACF,MAAMC,KAAK,GA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