@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,204 +0,0 @@
1
- "use strict";
2
-
3
- import { View, TouchableOpacity, Text, ActivityIndicator, StyleSheet, Platform } from 'react-native';
4
- import { Ionicons } from '@expo/vector-icons';
5
- import { useTheme } from '@oxyhq/bloom/theme';
6
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
7
- const GroupedPillButtons = ({
8
- buttons,
9
- colors,
10
- gap = 8
11
- }) => {
12
- const theme = useTheme();
13
- const getButtonStyle = (button, index, totalButtons) => {
14
- const baseStyle = {
15
- flexDirection: 'row',
16
- alignItems: 'center',
17
- paddingVertical: 6,
18
- paddingHorizontal: 12,
19
- gap: 6,
20
- minWidth: 70,
21
- borderWidth: 1,
22
- flexShrink: 0
23
- };
24
-
25
- // Determine border radius based on position
26
- let borderRadius = {
27
- borderTopLeftRadius: 35,
28
- borderBottomLeftRadius: 35,
29
- borderTopRightRadius: 35,
30
- borderBottomRightRadius: 35
31
- };
32
- if (totalButtons > 1) {
33
- if (index === 0) {
34
- // First button
35
- borderRadius = {
36
- borderTopLeftRadius: 35,
37
- borderBottomLeftRadius: 35,
38
- borderTopRightRadius: 12,
39
- borderBottomRightRadius: 12
40
- };
41
- } else if (index === totalButtons - 1) {
42
- // Last button
43
- borderRadius = {
44
- borderTopLeftRadius: 12,
45
- borderBottomLeftRadius: 12,
46
- borderTopRightRadius: 35,
47
- borderBottomRightRadius: 35
48
- };
49
- } else {
50
- // Middle button (if 3 buttons)
51
- borderRadius = {
52
- borderTopLeftRadius: 12,
53
- borderBottomLeftRadius: 12,
54
- borderTopRightRadius: 12,
55
- borderBottomRightRadius: 12
56
- };
57
- }
58
- }
59
-
60
- // Determine colors based on variant
61
- let backgroundColor = 'transparent';
62
- let borderColor = colors.border;
63
- const isDisabled = button.disabled || button.loading;
64
- switch (button.variant) {
65
- case 'primary':
66
- backgroundColor = isDisabled ? theme.colors.borderLight : colors.primary;
67
- borderColor = isDisabled ? theme.colors.borderLight : colors.primary;
68
- break;
69
- case 'secondary':
70
- backgroundColor = isDisabled ? theme.colors.borderLight : colors.secondary || colors.primary;
71
- borderColor = isDisabled ? theme.colors.borderLight : colors.secondary || colors.primary;
72
- break;
73
- default:
74
- backgroundColor = 'transparent';
75
- borderColor = isDisabled ? theme.colors.borderLight : colors.border;
76
- break;
77
- }
78
- return {
79
- ...baseStyle,
80
- ...borderRadius,
81
- backgroundColor,
82
- borderColor,
83
- opacity: isDisabled ? 0.6 : 1
84
- };
85
- };
86
- const getTextStyle = (button, colors) => {
87
- const baseTextStyle = {
88
- fontSize: 15,
89
- fontWeight: '600',
90
- // Avoid stretching that can cause wraps on native
91
- flexShrink: 1
92
- };
93
- const isDisabled = button.disabled || button.loading;
94
- let textColor = colors.text;
95
- switch (button.variant) {
96
- case 'primary':
97
- case 'secondary':
98
- textColor = isDisabled ? theme.colors.textTertiary : '#FFFFFF';
99
- break;
100
- default:
101
- textColor = isDisabled ? theme.colors.textTertiary : colors.text;
102
- break;
103
- }
104
- return {
105
- ...baseTextStyle,
106
- color: textColor,
107
- ...(Platform.OS === 'web' ? {
108
- whiteSpace: 'nowrap'
109
- } : null)
110
- };
111
- };
112
- const getIconColor = (button, colors) => {
113
- const isDisabled = button.disabled || button.loading;
114
- switch (button.variant) {
115
- case 'primary':
116
- case 'secondary':
117
- return isDisabled ? theme.colors.textTertiary : '#FFFFFF';
118
- default:
119
- return isDisabled ? theme.colors.textTertiary : colors.text;
120
- }
121
- };
122
- const isBackButton = button => {
123
- const text = typeof button.text === 'string' ? button.text.toLowerCase() : '';
124
- return text.includes('back') || button.icon === 'arrow-back' || button.icon === 'chevron-back';
125
- };
126
- const renderButtonContent = (button, colors, index) => {
127
- const iconColor = getIconColor(button, colors);
128
- const isBack = isBackButton(button);
129
- const isFirstButton = index === 0;
130
- const isSingleButton = buttons.length === 1;
131
- if (button.loading) {
132
- return /*#__PURE__*/_jsx(ActivityIndicator, {
133
- color: iconColor,
134
- size: "small"
135
- });
136
- }
137
-
138
- // Auto-detect icon placement based on button order and type
139
- if (isSingleButton) {
140
- // Single button: icon on right
141
- return /*#__PURE__*/_jsxs(_Fragment, {
142
- children: [/*#__PURE__*/_jsx(Text, {
143
- style: getTextStyle(button, colors),
144
- numberOfLines: 1,
145
- ellipsizeMode: "tail",
146
- children: button.text
147
- }), button.icon && /*#__PURE__*/_jsx(Ionicons, {
148
- name: button.icon,
149
- size: 16,
150
- color: iconColor
151
- })]
152
- });
153
- }
154
- if (isFirstButton || isBack) {
155
- // First button or back button: icon on left, text on right
156
- return /*#__PURE__*/_jsxs(_Fragment, {
157
- children: [button.icon && /*#__PURE__*/_jsx(Ionicons, {
158
- name: button.icon,
159
- size: 16,
160
- color: iconColor
161
- }), /*#__PURE__*/_jsx(Text, {
162
- style: getTextStyle(button, colors),
163
- numberOfLines: 1,
164
- ellipsizeMode: "tail",
165
- children: button.text
166
- })]
167
- });
168
- }
169
- // Second button or forward/action button: text on left, icon on right
170
- return /*#__PURE__*/_jsxs(_Fragment, {
171
- children: [/*#__PURE__*/_jsx(Text, {
172
- style: getTextStyle(button, colors),
173
- numberOfLines: 1,
174
- ellipsizeMode: "tail",
175
- children: button.text
176
- }), button.icon && /*#__PURE__*/_jsx(Ionicons, {
177
- name: button.icon,
178
- size: 16,
179
- color: iconColor
180
- })]
181
- });
182
- };
183
- return /*#__PURE__*/_jsx(View, {
184
- style: [styles.container, {
185
- gap
186
- }],
187
- children: buttons.map((button, index) => /*#__PURE__*/_jsx(TouchableOpacity, {
188
- style: getButtonStyle(button, index, buttons.length),
189
- onPress: button.onPress,
190
- disabled: button.disabled || button.loading,
191
- testID: button.testID,
192
- children: renderButtonContent(button, colors, index)
193
- }, index))
194
- });
195
- };
196
- const styles = StyleSheet.create({
197
- container: {
198
- flexDirection: 'row',
199
- justifyContent: 'flex-end',
200
- width: '100%'
201
- }
202
- });
203
- export default GroupedPillButtons;
204
- //# sourceMappingURL=GroupedPillButtons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["View","TouchableOpacity","Text","ActivityIndicator","StyleSheet","Platform","Ionicons","useTheme","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","GroupedPillButtons","buttons","colors","gap","theme","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","OS","whiteSpace","getIconColor","isBackButton","toLowerCase","includes","icon","renderButtonContent","iconColor","isBack","isFirstButton","isSingleButton","length","size","children","style","numberOfLines","ellipsizeMode","name","styles","container","map","onPress","testID","create","justifyContent","width"],"sourceRoot":"../../../../../src","sources":["ui/components/internal/GroupedPillButtons.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,EAAEC,iBAAiB,EAAEC,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AACpG,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,QAAQ,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AA2B9C,MAAMC,kBAAqD,GAAGA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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 */
12
- activeColor?: string;
13
- /** Inactive color for the switch track */
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;AAI1B,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,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;;AAqFD,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;AAO/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,CAoNzD,CAAC;AAUF,eAAe,kBAAkB,CAAC"}
@@ -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 */
12
- activeColor?: string;
13
- /** Inactive color for the switch track */
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;AAI1B,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,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;;AAqFD,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;AAO/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,CAoNzD,CAAC;AAUF,eAAe,kBAAkB,CAAC"}