@oxyhq/services 19.0.0 → 19.1.0

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 (915) hide show
  1. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +5 -12
  2. package/lib/commonjs/assets/icons/OxyServices.js +7 -7
  3. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
  4. package/lib/commonjs/index.js +56 -25
  5. package/lib/commonjs/index.js.map +1 -1
  6. package/lib/commonjs/ui/boot/runProviderColdBoot.js +121 -0
  7. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
  8. package/lib/commonjs/ui/client.js +10 -17
  9. package/lib/commonjs/ui/client.js.map +1 -1
  10. package/lib/commonjs/ui/components/FollowButton.js +28 -92
  11. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  12. package/lib/commonjs/ui/components/Header.js +127 -241
  13. package/lib/commonjs/ui/components/Header.js.map +1 -1
  14. package/lib/commonjs/ui/components/OxyAccountDialog.js +22 -18
  15. package/lib/commonjs/ui/components/OxyAccountDialog.js.map +1 -1
  16. package/lib/commonjs/ui/components/OxyConsentScreen.js +4 -6
  17. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
  18. package/lib/commonjs/ui/components/OxyOAuthCallback.js +45 -0
  19. package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -0
  20. package/lib/commonjs/ui/components/OxyPayButton.js +20 -71
  21. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
  22. package/lib/commonjs/ui/components/OxyProvider.js +3 -3
  23. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  24. package/lib/commonjs/ui/components/OxySignInButton.js +30 -135
  25. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  26. package/lib/commonjs/ui/components/ProfileButton.js +4 -2
  27. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
  28. package/lib/commonjs/ui/components/ProfileSummaryCard.js +99 -0
  29. package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -0
  30. package/lib/commonjs/ui/components/RequireOxyAuth.js +7 -10
  31. package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
  32. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +9 -9
  33. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  34. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +20 -23
  35. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  36. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +6 -6
  37. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  38. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +14 -9
  39. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  40. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +55 -55
  41. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  42. package/lib/commonjs/ui/components/payment/paymentStyles.js +13 -13
  43. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
  44. package/lib/commonjs/ui/context/OxyContext.js +129 -260
  45. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  46. package/lib/commonjs/ui/context/oxyContextHelpers.js +64 -0
  47. package/lib/commonjs/ui/context/oxyContextHelpers.js.map +1 -0
  48. package/lib/commonjs/ui/{components/TextField/Adornment/types.js → context/oxyContextTypes.js} +1 -1
  49. package/lib/commonjs/ui/context/oxyContextTypes.js.map +1 -0
  50. package/lib/commonjs/ui/context/useOxyAccountGraph.js +91 -0
  51. package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
  52. package/lib/commonjs/ui/hooks/queryClient.js +9 -18
  53. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
  54. package/lib/commonjs/ui/hooks/useAuth.js +7 -5
  55. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
  56. package/lib/commonjs/ui/hooks/useSessionManagement.js +2 -0
  57. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
  58. package/lib/commonjs/ui/index.js +10 -17
  59. package/lib/commonjs/ui/index.js.map +1 -1
  60. package/lib/commonjs/ui/navigation/accountDialogManager.js +5 -44
  61. package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -1
  62. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +9 -8
  63. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  64. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +2 -3
  65. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  66. package/lib/commonjs/ui/screens/EditProfileScreen.js +8 -19
  67. package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
  68. package/lib/commonjs/ui/screens/FAQScreen.js +8 -8
  69. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
  70. package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -1
  71. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  72. package/lib/commonjs/ui/screens/FileManagementScreen.js +59 -1105
  73. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  74. package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -8
  75. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  76. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +0 -1
  77. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  78. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +5 -4
  79. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  80. package/lib/commonjs/ui/screens/ManageAccountScreen.js +9 -49
  81. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  82. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +6 -9
  83. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  84. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +247 -224
  85. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  86. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +21 -20
  87. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  88. package/lib/commonjs/ui/screens/ProfileScreen.js +4 -4
  89. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  90. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +12 -11
  91. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  92. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +3 -2
  93. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  94. package/lib/commonjs/ui/screens/UserListScreen.js +3 -3
  95. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  96. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +7 -8
  97. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  98. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +114 -0
  99. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -0
  100. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +512 -0
  101. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
  102. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +59 -0
  103. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -0
  104. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +475 -0
  105. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
  106. package/lib/commonjs/ui/screens/fileManagement/shared.js +67 -0
  107. package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -0
  108. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +3 -2
  109. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  110. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +4 -7
  111. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  112. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +3 -3
  113. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  114. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +3 -2
  115. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  116. package/lib/commonjs/ui/server.js +4 -5
  117. package/lib/commonjs/ui/server.js.map +1 -1
  118. package/lib/commonjs/ui/session/createSessionClient.js +2 -2
  119. package/lib/commonjs/ui/utils/crossOriginRestore.js +109 -0
  120. package/lib/commonjs/ui/utils/crossOriginRestore.js.map +1 -0
  121. package/lib/commonjs/ui/utils/deviceCredential.js +23 -0
  122. package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -0
  123. package/lib/commonjs/ui/utils/oauthReturn.js +82 -0
  124. package/lib/commonjs/ui/utils/oauthReturn.js.map +1 -0
  125. package/lib/commonjs/ui/utils/storageHelpers.js +1 -2
  126. package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
  127. package/lib/module/assets/assets/icons/OxyServices.tsx +5 -12
  128. package/lib/module/assets/icons/OxyServices.js +7 -7
  129. package/lib/module/assets/icons/OxyServices.js.map +1 -1
  130. package/lib/module/index.js +10 -9
  131. package/lib/module/index.js.map +1 -1
  132. package/lib/module/ui/boot/runProviderColdBoot.js +116 -0
  133. package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
  134. package/lib/module/ui/client.js +3 -4
  135. package/lib/module/ui/client.js.map +1 -1
  136. package/lib/module/ui/components/FollowButton.js +28 -92
  137. package/lib/module/ui/components/FollowButton.js.map +1 -1
  138. package/lib/module/ui/components/Header.js +127 -241
  139. package/lib/module/ui/components/Header.js.map +1 -1
  140. package/lib/module/ui/components/OxyAccountDialog.js +22 -18
  141. package/lib/module/ui/components/OxyAccountDialog.js.map +1 -1
  142. package/lib/module/ui/components/OxyConsentScreen.js +4 -5
  143. package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
  144. package/lib/module/ui/components/OxyOAuthCallback.js +41 -0
  145. package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -0
  146. package/lib/module/ui/components/OxyPayButton.js +21 -71
  147. package/lib/module/ui/components/OxyPayButton.js.map +1 -1
  148. package/lib/module/ui/components/OxyProvider.js +3 -3
  149. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  150. package/lib/module/ui/components/OxySignInButton.js +34 -139
  151. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  152. package/lib/module/ui/components/ProfileButton.js +5 -3
  153. package/lib/module/ui/components/ProfileButton.js.map +1 -1
  154. package/lib/module/ui/components/ProfileSummaryCard.js +95 -0
  155. package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -0
  156. package/lib/module/ui/components/RequireOxyAuth.js +7 -9
  157. package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
  158. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +9 -9
  159. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  160. package/lib/module/ui/components/fileManagement/FileViewer.js +20 -23
  161. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  162. package/lib/module/ui/components/fileManagement/UploadPreview.js +6 -6
  163. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  164. package/lib/module/ui/components/modals/DeleteAccountModal.js +14 -8
  165. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  166. package/lib/module/ui/components/payment/PaymentDetailsStep.js +54 -54
  167. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  168. package/lib/module/ui/components/payment/paymentStyles.js +13 -13
  169. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
  170. package/lib/module/ui/context/OxyContext.js +128 -259
  171. package/lib/module/ui/context/OxyContext.js.map +1 -1
  172. package/lib/module/ui/context/oxyContextHelpers.js +57 -0
  173. package/lib/module/ui/context/oxyContextHelpers.js.map +1 -0
  174. package/lib/module/ui/context/oxyContextTypes.js +4 -0
  175. package/lib/module/ui/context/oxyContextTypes.js.map +1 -0
  176. package/lib/module/ui/context/useOxyAccountGraph.js +87 -0
  177. package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
  178. package/lib/module/ui/hooks/queryClient.js +8 -17
  179. package/lib/module/ui/hooks/queryClient.js.map +1 -1
  180. package/lib/module/ui/hooks/useAuth.js +7 -5
  181. package/lib/module/ui/hooks/useAuth.js.map +1 -1
  182. package/lib/module/ui/hooks/useSessionManagement.js +2 -0
  183. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
  184. package/lib/module/ui/index.js +2 -3
  185. package/lib/module/ui/index.js.map +1 -1
  186. package/lib/module/ui/navigation/accountDialogManager.js +4 -41
  187. package/lib/module/ui/navigation/accountDialogManager.js.map +1 -1
  188. package/lib/module/ui/screens/ConnectedAppsScreen.js +8 -7
  189. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  190. package/lib/module/ui/screens/EditProfileFieldScreen.js +2 -3
  191. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  192. package/lib/module/ui/screens/EditProfileScreen.js +7 -18
  193. package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
  194. package/lib/module/ui/screens/FAQScreen.js +8 -8
  195. package/lib/module/ui/screens/FAQScreen.js.map +1 -1
  196. package/lib/module/ui/screens/FeedbackScreen.js +0 -1
  197. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  198. package/lib/module/ui/screens/FileManagementScreen.js +53 -1098
  199. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  200. package/lib/module/ui/screens/HistoryViewScreen.js +9 -8
  201. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  202. package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -1
  203. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  204. package/lib/module/ui/screens/LegalDocumentsScreen.js +5 -4
  205. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  206. package/lib/module/ui/screens/ManageAccountScreen.js +11 -51
  207. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  208. package/lib/module/ui/screens/PaymentGatewayScreen.js +4 -7
  209. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  210. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +247 -224
  211. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  212. package/lib/module/ui/screens/PrivacySettingsScreen.js +19 -18
  213. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  214. package/lib/module/ui/screens/ProfileScreen.js +3 -3
  215. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  216. package/lib/module/ui/screens/SavesCollectionsScreen.js +12 -11
  217. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  218. package/lib/module/ui/screens/SearchSettingsScreen.js +3 -2
  219. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  220. package/lib/module/ui/screens/UserListScreen.js +2 -2
  221. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  222. package/lib/module/ui/screens/WelcomeNewUserScreen.js +6 -6
  223. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  224. package/lib/module/ui/screens/fileManagement/FileListSection.js +110 -0
  225. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -0
  226. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +509 -0
  227. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
  228. package/lib/module/ui/screens/fileManagement/UploadBar.js +55 -0
  229. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -0
  230. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +471 -0
  231. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
  232. package/lib/module/ui/screens/fileManagement/shared.js +58 -0
  233. package/lib/module/ui/screens/fileManagement/shared.js.map +1 -0
  234. package/lib/module/ui/screens/trust/TrustCenterScreen.js +3 -2
  235. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  236. package/lib/module/ui/screens/trust/TrustFAQScreen.js +4 -7
  237. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  238. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +2 -2
  239. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  240. package/lib/module/ui/screens/trust/TrustRulesScreen.js +3 -2
  241. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  242. package/lib/module/ui/server.js +2 -3
  243. package/lib/module/ui/server.js.map +1 -1
  244. package/lib/module/ui/session/createSessionClient.js +2 -2
  245. package/lib/module/ui/utils/crossOriginRestore.js +101 -0
  246. package/lib/module/ui/utils/crossOriginRestore.js.map +1 -0
  247. package/lib/module/ui/utils/deviceCredential.js +18 -0
  248. package/lib/module/ui/utils/deviceCredential.js.map +1 -0
  249. package/lib/module/ui/utils/oauthReturn.js +78 -0
  250. package/lib/module/ui/utils/oauthReturn.js.map +1 -0
  251. package/lib/module/ui/utils/storageHelpers.js +1 -2
  252. package/lib/module/ui/utils/storageHelpers.js.map +1 -1
  253. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +0 -5
  254. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/index.d.ts +11 -6
  256. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +29 -0
  258. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -0
  259. package/lib/typescript/commonjs/ui/client.d.ts +3 -4
  260. package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  262. package/lib/typescript/commonjs/ui/components/Header.d.ts +16 -21
  263. package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
  264. package/lib/typescript/commonjs/ui/components/OxyAccountDialog.d.ts +3 -7
  265. package/lib/typescript/commonjs/ui/components/OxyAccountDialog.d.ts.map +1 -1
  266. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +11 -0
  267. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -0
  268. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +0 -13
  270. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
  272. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +33 -0
  273. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -0
  274. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  276. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/ui/components/payment/types.d.ts +6 -10
  278. package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -1
  279. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -185
  280. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  281. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +7 -0
  282. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
  283. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +123 -0
  284. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -0
  285. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +26 -0
  286. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
  287. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  288. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +2 -3
  289. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
  290. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +7 -5
  291. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
  292. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
  293. package/lib/typescript/commonjs/ui/index.d.ts +2 -3
  294. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
  295. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +4 -34
  296. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
  297. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  298. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  299. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
  300. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -1
  301. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
  302. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  303. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  304. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  305. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  306. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  307. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  308. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  309. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  310. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  311. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +40 -0
  312. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
  313. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +38 -0
  314. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
  315. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +25 -0
  316. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
  317. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +39 -0
  318. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
  319. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +34 -0
  320. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -0
  321. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  322. package/lib/typescript/commonjs/ui/server.d.ts +2 -3
  323. package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
  324. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +2 -2
  325. package/lib/typescript/commonjs/ui/types/navigation.d.ts +2 -18
  326. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
  327. package/lib/typescript/commonjs/ui/utils/crossOriginRestore.d.ts +24 -0
  328. package/lib/typescript/commonjs/ui/utils/crossOriginRestore.d.ts.map +1 -0
  329. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +8 -0
  330. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -0
  331. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +25 -0
  332. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +1 -0
  333. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +0 -11
  334. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -1
  335. package/lib/typescript/module/assets/icons/OxyServices.d.ts +0 -5
  336. package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -1
  337. package/lib/typescript/module/index.d.ts +11 -6
  338. package/lib/typescript/module/index.d.ts.map +1 -1
  339. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +29 -0
  340. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -0
  341. package/lib/typescript/module/ui/client.d.ts +3 -4
  342. package/lib/typescript/module/ui/client.d.ts.map +1 -1
  343. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  344. package/lib/typescript/module/ui/components/Header.d.ts +16 -21
  345. package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
  346. package/lib/typescript/module/ui/components/OxyAccountDialog.d.ts +3 -7
  347. package/lib/typescript/module/ui/components/OxyAccountDialog.d.ts.map +1 -1
  348. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +11 -0
  349. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -0
  350. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -1
  351. package/lib/typescript/module/ui/components/OxySignInButton.d.ts +0 -13
  352. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
  353. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
  354. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +33 -0
  355. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -0
  356. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  357. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  358. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  359. package/lib/typescript/module/ui/components/payment/types.d.ts +6 -10
  360. package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -1
  361. package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -185
  362. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  363. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +7 -0
  364. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
  365. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +123 -0
  366. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -0
  367. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +26 -0
  368. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
  369. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  370. package/lib/typescript/module/ui/hooks/queryClient.d.ts +2 -3
  371. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
  372. package/lib/typescript/module/ui/hooks/useAuth.d.ts +7 -5
  373. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
  374. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
  375. package/lib/typescript/module/ui/index.d.ts +2 -3
  376. package/lib/typescript/module/ui/index.d.ts.map +1 -1
  377. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +4 -34
  378. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
  379. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  380. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  381. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
  382. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
  383. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
  384. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  385. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  386. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  387. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  388. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  389. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  390. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  391. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  392. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  393. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +40 -0
  394. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
  395. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +38 -0
  396. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
  397. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +25 -0
  398. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
  399. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +39 -0
  400. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
  401. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +34 -0
  402. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -0
  403. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  404. package/lib/typescript/module/ui/server.d.ts +2 -3
  405. package/lib/typescript/module/ui/server.d.ts.map +1 -1
  406. package/lib/typescript/module/ui/session/createSessionClient.d.ts +2 -2
  407. package/lib/typescript/module/ui/types/navigation.d.ts +2 -18
  408. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  409. package/lib/typescript/module/ui/utils/crossOriginRestore.d.ts +24 -0
  410. package/lib/typescript/module/ui/utils/crossOriginRestore.d.ts.map +1 -0
  411. package/lib/typescript/module/ui/utils/deviceCredential.d.ts +8 -0
  412. package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -0
  413. package/lib/typescript/module/ui/utils/oauthReturn.d.ts +25 -0
  414. package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +1 -0
  415. package/lib/typescript/module/ui/utils/storageHelpers.d.ts +0 -11
  416. package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -1
  417. package/package.json +30 -17
  418. package/src/assets/icons/OxyServices.tsx +5 -12
  419. package/src/index.ts +16 -10
  420. package/src/ui/boot/runProviderColdBoot.ts +150 -0
  421. package/src/ui/client.ts +3 -4
  422. package/src/ui/components/FollowButton.tsx +30 -95
  423. package/src/ui/components/Header.tsx +135 -405
  424. package/src/ui/components/OxyAccountDialog.tsx +18 -16
  425. package/src/ui/components/OxyConsentScreen.tsx +2 -2
  426. package/src/ui/components/OxyOAuthCallback.tsx +38 -0
  427. package/src/ui/components/OxyPayButton.tsx +11 -60
  428. package/src/ui/components/OxyProvider.tsx +3 -3
  429. package/src/ui/components/OxySignInButton.tsx +35 -134
  430. package/src/ui/components/ProfileButton.tsx +8 -3
  431. package/src/ui/components/ProfileSummaryCard.tsx +123 -0
  432. package/src/ui/components/RequireOxyAuth.tsx +3 -3
  433. package/src/ui/components/__tests__/OxyConsentScreen.test.tsx +1 -3
  434. package/src/ui/components/fileManagement/FileDetailsModal.tsx +9 -9
  435. package/src/ui/components/fileManagement/FileViewer.tsx +20 -22
  436. package/src/ui/components/fileManagement/UploadPreview.tsx +6 -6
  437. package/src/ui/components/modals/DeleteAccountModal.tsx +7 -7
  438. package/src/ui/components/payment/PaymentDetailsStep.tsx +49 -39
  439. package/src/ui/components/payment/paymentStyles.ts +14 -14
  440. package/src/ui/components/payment/types.ts +6 -10
  441. package/src/ui/context/OxyContext.tsx +136 -470
  442. package/src/ui/context/oxyContextHelpers.ts +58 -0
  443. package/src/ui/context/oxyContextTypes.ts +124 -0
  444. package/src/ui/context/useOxyAccountGraph.ts +114 -0
  445. package/src/ui/hooks/queryClient.ts +9 -20
  446. package/src/ui/hooks/useAuth.ts +7 -5
  447. package/src/ui/hooks/useSessionManagement.ts +2 -0
  448. package/src/ui/index.ts +2 -3
  449. package/src/ui/navigation/accountDialogManager.ts +4 -40
  450. package/src/ui/screens/ConnectedAppsScreen.tsx +8 -11
  451. package/src/ui/screens/EditProfileFieldScreen.tsx +2 -3
  452. package/src/ui/screens/EditProfileScreen.tsx +8 -14
  453. package/src/ui/screens/FAQScreen.tsx +7 -8
  454. package/src/ui/screens/FeedbackScreen.tsx +0 -1
  455. package/src/ui/screens/FileManagementScreen.tsx +54 -1158
  456. package/src/ui/screens/HistoryViewScreen.tsx +4 -4
  457. package/src/ui/screens/LanguageSelectorScreen.tsx +0 -1
  458. package/src/ui/screens/LegalDocumentsScreen.tsx +4 -3
  459. package/src/ui/screens/ManageAccountScreen.tsx +14 -47
  460. package/src/ui/screens/PaymentGatewayScreen.tsx +3 -7
  461. package/src/ui/screens/PremiumSubscriptionScreen.tsx +33 -31
  462. package/src/ui/screens/PrivacySettingsScreen.tsx +14 -16
  463. package/src/ui/screens/ProfileScreen.tsx +3 -3
  464. package/src/ui/screens/SavesCollectionsScreen.tsx +11 -12
  465. package/src/ui/screens/SearchSettingsScreen.tsx +2 -2
  466. package/src/ui/screens/UserListScreen.tsx +2 -2
  467. package/src/ui/screens/WelcomeNewUserScreen.tsx +6 -7
  468. package/src/ui/screens/fileManagement/FileListSection.tsx +126 -0
  469. package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +611 -0
  470. package/src/ui/screens/fileManagement/UploadBar.tsx +48 -0
  471. package/src/ui/screens/fileManagement/hooks/useFileUploadState.ts +497 -0
  472. package/src/ui/screens/fileManagement/shared.ts +65 -0
  473. package/src/ui/screens/trust/TrustCenterScreen.tsx +2 -2
  474. package/src/ui/screens/trust/TrustFAQScreen.tsx +4 -10
  475. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +2 -2
  476. package/src/ui/screens/trust/TrustRulesScreen.tsx +2 -2
  477. package/src/ui/server.ts +2 -3
  478. package/src/ui/session/createSessionClient.ts +2 -2
  479. package/src/ui/types/navigation.ts +2 -18
  480. package/src/ui/utils/crossOriginRestore.ts +129 -0
  481. package/src/ui/utils/deviceCredential.ts +17 -0
  482. package/src/ui/utils/oauthReturn.ts +101 -0
  483. package/src/ui/utils/storageHelpers.ts +0 -12
  484. package/lib/commonjs/ui/components/ActivityIndicator.js +0 -203
  485. package/lib/commonjs/ui/components/ActivityIndicator.js.map +0 -1
  486. package/lib/commonjs/ui/components/AutoHeightScrollView.js +0 -46
  487. package/lib/commonjs/ui/components/AutoHeightScrollView.js.map +0 -1
  488. package/lib/commonjs/ui/components/Avatar.js +0 -181
  489. package/lib/commonjs/ui/components/Avatar.js.map +0 -1
  490. package/lib/commonjs/ui/components/CrossFadeIcon.js +0 -106
  491. package/lib/commonjs/ui/components/CrossFadeIcon.js.map +0 -1
  492. package/lib/commonjs/ui/components/EmptyState.js +0 -41
  493. package/lib/commonjs/ui/components/EmptyState.js.map +0 -1
  494. package/lib/commonjs/ui/components/HelperText.js +0 -95
  495. package/lib/commonjs/ui/components/HelperText.js.map +0 -1
  496. package/lib/commonjs/ui/components/Icon.js +0 -112
  497. package/lib/commonjs/ui/components/Icon.js.map +0 -1
  498. package/lib/commonjs/ui/components/IconButton/IconButton.js +0 -153
  499. package/lib/commonjs/ui/components/IconButton/IconButton.js.map +0 -1
  500. package/lib/commonjs/ui/components/IconButton/utils.js +0 -155
  501. package/lib/commonjs/ui/components/IconButton/utils.js.map +0 -1
  502. package/lib/commonjs/ui/components/LoadingState.js +0 -47
  503. package/lib/commonjs/ui/components/LoadingState.js.map +0 -1
  504. package/lib/commonjs/ui/components/OxyLogo.js +0 -110
  505. package/lib/commonjs/ui/components/OxyLogo.js.map +0 -1
  506. package/lib/commonjs/ui/components/ProfileCard.js +0 -134
  507. package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
  508. package/lib/commonjs/ui/components/QuickActions.js +0 -84
  509. package/lib/commonjs/ui/components/QuickActions.js.map +0 -1
  510. package/lib/commonjs/ui/components/StepBasedScreen.js +0 -423
  511. package/lib/commonjs/ui/components/StepBasedScreen.js.map +0 -1
  512. package/lib/commonjs/ui/components/Surface.js +0 -258
  513. package/lib/commonjs/ui/components/Surface.js.map +0 -1
  514. package/lib/commonjs/ui/components/TextField/Addons/Outline.js +0 -46
  515. package/lib/commonjs/ui/components/TextField/Addons/Outline.js.map +0 -1
  516. package/lib/commonjs/ui/components/TextField/Addons/Underline.js +0 -53
  517. package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +0 -1
  518. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -153
  519. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
  520. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +0 -144
  521. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
  522. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +0 -137
  523. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
  524. package/lib/commonjs/ui/components/TextField/Adornment/enums.js +0 -22
  525. package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +0 -1
  526. package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +0 -1
  527. package/lib/commonjs/ui/components/TextField/Adornment/utils.js +0 -62
  528. package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +0 -1
  529. package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +0 -176
  530. package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +0 -1
  531. package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +0 -84
  532. package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +0 -1
  533. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +0 -381
  534. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +0 -1
  535. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +0 -365
  536. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +0 -1
  537. package/lib/commonjs/ui/components/TextField/constants.js +0 -50
  538. package/lib/commonjs/ui/components/TextField/constants.js.map +0 -1
  539. package/lib/commonjs/ui/components/TextField/helpers.js +0 -489
  540. package/lib/commonjs/ui/components/TextField/helpers.js.map +0 -1
  541. package/lib/commonjs/ui/components/TextField/types.js +0 -6
  542. package/lib/commonjs/ui/components/TextField/types.js.map +0 -1
  543. package/lib/commonjs/ui/components/TextField.js +0 -335
  544. package/lib/commonjs/ui/components/TextField.js.map +0 -1
  545. package/lib/commonjs/ui/components/TouchableRipple/Pressable.js +0 -12
  546. package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +0 -1
  547. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +0 -258
  548. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
  549. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +0 -107
  550. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
  551. package/lib/commonjs/ui/components/TouchableRipple/utils.js +0 -56
  552. package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +0 -1
  553. package/lib/commonjs/ui/components/Typography/AnimatedText.js +0 -59
  554. package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +0 -1
  555. package/lib/commonjs/ui/components/Typography/types.js +0 -26
  556. package/lib/commonjs/ui/components/Typography/types.js.map +0 -1
  557. package/lib/commonjs/ui/components/feedback/ProgressIndicator.js +0 -33
  558. package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +0 -1
  559. package/lib/commonjs/ui/components/icon/OxyIcon.js +0 -26
  560. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
  561. package/lib/commonjs/ui/components/theming.js +0 -128
  562. package/lib/commonjs/ui/components/theming.js.map +0 -1
  563. package/lib/commonjs/ui/components/types.js +0 -6
  564. package/lib/commonjs/ui/components/types.js.map +0 -1
  565. package/lib/commonjs/ui/components/utils/forwardRef.js +0 -18
  566. package/lib/commonjs/ui/components/utils/forwardRef.js.map +0 -1
  567. package/lib/commonjs/ui/constants/iconColors.js +0 -84
  568. package/lib/commonjs/ui/constants/iconColors.js.map +0 -1
  569. package/lib/commonjs/ui/constants/theme.js +0 -124
  570. package/lib/commonjs/ui/constants/theme.js.map +0 -1
  571. package/lib/commonjs/ui/context/ThemeContext.js +0 -36
  572. package/lib/commonjs/ui/context/ThemeContext.js.map +0 -1
  573. package/lib/commonjs/ui/hooks/useColorScheme.js +0 -29
  574. package/lib/commonjs/ui/hooks/useColorScheme.js.map +0 -1
  575. package/lib/commonjs/ui/styles/authStyles.js +0 -334
  576. package/lib/commonjs/ui/styles/authStyles.js.map +0 -1
  577. package/lib/commonjs/ui/styles/theme.js +0 -153
  578. package/lib/commonjs/ui/styles/theme.js.map +0 -1
  579. package/lib/module/ui/components/ActivityIndicator.js +0 -198
  580. package/lib/module/ui/components/ActivityIndicator.js.map +0 -1
  581. package/lib/module/ui/components/AutoHeightScrollView.js +0 -41
  582. package/lib/module/ui/components/AutoHeightScrollView.js.map +0 -1
  583. package/lib/module/ui/components/Avatar.js +0 -177
  584. package/lib/module/ui/components/Avatar.js.map +0 -1
  585. package/lib/module/ui/components/CrossFadeIcon.js +0 -101
  586. package/lib/module/ui/components/CrossFadeIcon.js.map +0 -1
  587. package/lib/module/ui/components/EmptyState.js +0 -36
  588. package/lib/module/ui/components/EmptyState.js.map +0 -1
  589. package/lib/module/ui/components/HelperText.js +0 -90
  590. package/lib/module/ui/components/HelperText.js.map +0 -1
  591. package/lib/module/ui/components/Icon.js +0 -106
  592. package/lib/module/ui/components/Icon.js.map +0 -1
  593. package/lib/module/ui/components/IconButton/IconButton.js +0 -148
  594. package/lib/module/ui/components/IconButton/IconButton.js.map +0 -1
  595. package/lib/module/ui/components/IconButton/utils.js +0 -149
  596. package/lib/module/ui/components/IconButton/utils.js.map +0 -1
  597. package/lib/module/ui/components/LoadingState.js +0 -42
  598. package/lib/module/ui/components/LoadingState.js.map +0 -1
  599. package/lib/module/ui/components/OxyLogo.js +0 -104
  600. package/lib/module/ui/components/OxyLogo.js.map +0 -1
  601. package/lib/module/ui/components/ProfileCard.js +0 -129
  602. package/lib/module/ui/components/ProfileCard.js.map +0 -1
  603. package/lib/module/ui/components/QuickActions.js +0 -80
  604. package/lib/module/ui/components/QuickActions.js.map +0 -1
  605. package/lib/module/ui/components/StepBasedScreen.js +0 -418
  606. package/lib/module/ui/components/StepBasedScreen.js.map +0 -1
  607. package/lib/module/ui/components/Surface.js +0 -252
  608. package/lib/module/ui/components/Surface.js.map +0 -1
  609. package/lib/module/ui/components/TextField/Addons/Outline.js +0 -40
  610. package/lib/module/ui/components/TextField/Addons/Outline.js.map +0 -1
  611. package/lib/module/ui/components/TextField/Addons/Underline.js +0 -47
  612. package/lib/module/ui/components/TextField/Addons/Underline.js.map +0 -1
  613. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -146
  614. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
  615. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +0 -141
  616. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
  617. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +0 -135
  618. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
  619. package/lib/module/ui/components/TextField/Adornment/enums.js +0 -18
  620. package/lib/module/ui/components/TextField/Adornment/enums.js.map +0 -1
  621. package/lib/module/ui/components/TextField/Adornment/types.js +0 -4
  622. package/lib/module/ui/components/TextField/Adornment/types.js.map +0 -1
  623. package/lib/module/ui/components/TextField/Adornment/utils.js +0 -57
  624. package/lib/module/ui/components/TextField/Adornment/utils.js.map +0 -1
  625. package/lib/module/ui/components/TextField/Label/InputLabel.js +0 -171
  626. package/lib/module/ui/components/TextField/Label/InputLabel.js.map +0 -1
  627. package/lib/module/ui/components/TextField/Label/LabelBackground.js +0 -78
  628. package/lib/module/ui/components/TextField/Label/LabelBackground.js.map +0 -1
  629. package/lib/module/ui/components/TextField/TextFieldFlat.js +0 -376
  630. package/lib/module/ui/components/TextField/TextFieldFlat.js.map +0 -1
  631. package/lib/module/ui/components/TextField/TextFieldOutlined.js +0 -359
  632. package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +0 -1
  633. package/lib/module/ui/components/TextField/constants.js +0 -46
  634. package/lib/module/ui/components/TextField/constants.js.map +0 -1
  635. package/lib/module/ui/components/TextField/helpers.js +0 -471
  636. package/lib/module/ui/components/TextField/helpers.js.map +0 -1
  637. package/lib/module/ui/components/TextField/types.js +0 -4
  638. package/lib/module/ui/components/TextField/types.js.map +0 -1
  639. package/lib/module/ui/components/TextField.js +0 -329
  640. package/lib/module/ui/components/TextField.js.map +0 -1
  641. package/lib/module/ui/components/TouchableRipple/Pressable.js +0 -9
  642. package/lib/module/ui/components/TouchableRipple/Pressable.js.map +0 -1
  643. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +0 -253
  644. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
  645. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +0 -101
  646. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
  647. package/lib/module/ui/components/TouchableRipple/utils.js +0 -50
  648. package/lib/module/ui/components/TouchableRipple/utils.js.map +0 -1
  649. package/lib/module/ui/components/Typography/AnimatedText.js +0 -54
  650. package/lib/module/ui/components/Typography/AnimatedText.js.map +0 -1
  651. package/lib/module/ui/components/Typography/types.js +0 -22
  652. package/lib/module/ui/components/Typography/types.js.map +0 -1
  653. package/lib/module/ui/components/feedback/ProgressIndicator.js +0 -28
  654. package/lib/module/ui/components/feedback/ProgressIndicator.js.map +0 -1
  655. package/lib/module/ui/components/icon/OxyIcon.js +0 -22
  656. package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
  657. package/lib/module/ui/components/theming.js +0 -123
  658. package/lib/module/ui/components/theming.js.map +0 -1
  659. package/lib/module/ui/components/types.js +0 -4
  660. package/lib/module/ui/components/types.js.map +0 -1
  661. package/lib/module/ui/components/utils/forwardRef.js +0 -13
  662. package/lib/module/ui/components/utils/forwardRef.js.map +0 -1
  663. package/lib/module/ui/constants/iconColors.js +0 -78
  664. package/lib/module/ui/constants/iconColors.js.map +0 -1
  665. package/lib/module/ui/constants/theme.js +0 -120
  666. package/lib/module/ui/constants/theme.js.map +0 -1
  667. package/lib/module/ui/context/ThemeContext.js +0 -29
  668. package/lib/module/ui/context/ThemeContext.js.map +0 -1
  669. package/lib/module/ui/hooks/useColorScheme.js +0 -26
  670. package/lib/module/ui/hooks/useColorScheme.js.map +0 -1
  671. package/lib/module/ui/styles/authStyles.js +0 -329
  672. package/lib/module/ui/styles/authStyles.js.map +0 -1
  673. package/lib/module/ui/styles/theme.js +0 -147
  674. package/lib/module/ui/styles/theme.js.map +0 -1
  675. package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts +0 -45
  676. package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts.map +0 -1
  677. package/lib/typescript/commonjs/ui/components/AutoHeightScrollView.d.ts +0 -23
  678. package/lib/typescript/commonjs/ui/components/AutoHeightScrollView.d.ts.map +0 -1
  679. package/lib/typescript/commonjs/ui/components/Avatar.d.ts +0 -61
  680. package/lib/typescript/commonjs/ui/components/Avatar.d.ts.map +0 -1
  681. package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts +0 -28
  682. package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts.map +0 -1
  683. package/lib/typescript/commonjs/ui/components/EmptyState.d.ts +0 -8
  684. package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +0 -1
  685. package/lib/typescript/commonjs/ui/components/HelperText.d.ts +0 -47
  686. package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +0 -1
  687. package/lib/typescript/commonjs/ui/components/Icon.d.ts +0 -61
  688. package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +0 -1
  689. package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts +0 -99
  690. package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.map +0 -1
  691. package/lib/typescript/commonjs/ui/components/IconButton/utils.d.ts +0 -19
  692. package/lib/typescript/commonjs/ui/components/IconButton/utils.d.ts.map +0 -1
  693. package/lib/typescript/commonjs/ui/components/LoadingState.d.ts +0 -9
  694. package/lib/typescript/commonjs/ui/components/LoadingState.d.ts.map +0 -1
  695. package/lib/typescript/commonjs/ui/components/OxyLogo.d.ts +0 -16
  696. package/lib/typescript/commonjs/ui/components/OxyLogo.d.ts.map +0 -1
  697. package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts +0 -21
  698. package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +0 -1
  699. package/lib/typescript/commonjs/ui/components/QuickActions.d.ts +0 -15
  700. package/lib/typescript/commonjs/ui/components/QuickActions.d.ts.map +0 -1
  701. package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts +0 -28
  702. package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +0 -1
  703. package/lib/typescript/commonjs/ui/components/Surface.d.ts +0 -76
  704. package/lib/typescript/commonjs/ui/components/Surface.d.ts.map +0 -1
  705. package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts +0 -17
  706. package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts.map +0 -1
  707. package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts +0 -20
  708. package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts.map +0 -1
  709. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -45
  710. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +0 -1
  711. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -73
  712. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +0 -1
  713. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -78
  714. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +0 -1
  715. package/lib/typescript/commonjs/ui/components/TextField/Adornment/enums.d.ts +0 -13
  716. package/lib/typescript/commonjs/ui/components/TextField/Adornment/enums.d.ts.map +0 -1
  717. package/lib/typescript/commonjs/ui/components/TextField/Adornment/types.d.ts +0 -12
  718. package/lib/typescript/commonjs/ui/components/TextField/Adornment/types.d.ts.map +0 -1
  719. package/lib/typescript/commonjs/ui/components/TextField/Adornment/utils.d.ts +0 -12
  720. package/lib/typescript/commonjs/ui/components/TextField/Adornment/utils.d.ts.map +0 -1
  721. package/lib/typescript/commonjs/ui/components/TextField/Label/InputLabel.d.ts +0 -5
  722. package/lib/typescript/commonjs/ui/components/TextField/Label/InputLabel.d.ts.map +0 -1
  723. package/lib/typescript/commonjs/ui/components/TextField/Label/LabelBackground.d.ts +0 -5
  724. package/lib/typescript/commonjs/ui/components/TextField/Label/LabelBackground.d.ts.map +0 -1
  725. package/lib/typescript/commonjs/ui/components/TextField/TextFieldFlat.d.ts +0 -5
  726. package/lib/typescript/commonjs/ui/components/TextField/TextFieldFlat.d.ts.map +0 -1
  727. package/lib/typescript/commonjs/ui/components/TextField/TextFieldOutlined.d.ts +0 -5
  728. package/lib/typescript/commonjs/ui/components/TextField/TextFieldOutlined.d.ts.map +0 -1
  729. package/lib/typescript/commonjs/ui/components/TextField/constants.d.ts +0 -32
  730. package/lib/typescript/commonjs/ui/components/TextField/constants.d.ts.map +0 -1
  731. package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts +0 -97
  732. package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts.map +0 -1
  733. package/lib/typescript/commonjs/ui/components/TextField/types.d.ts +0 -155
  734. package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +0 -1
  735. package/lib/typescript/commonjs/ui/components/TextField.d.ts +0 -192
  736. package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +0 -1
  737. package/lib/typescript/commonjs/ui/components/TouchableRipple/Pressable.d.ts +0 -13
  738. package/lib/typescript/commonjs/ui/components/TouchableRipple/Pressable.d.ts.map +0 -1
  739. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -62
  740. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts.map +0 -1
  741. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -25
  742. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +0 -1
  743. package/lib/typescript/commonjs/ui/components/TouchableRipple/utils.d.ts +0 -11
  744. package/lib/typescript/commonjs/ui/components/TouchableRipple/utils.d.ts.map +0 -1
  745. package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts +0 -35
  746. package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts.map +0 -1
  747. package/lib/typescript/commonjs/ui/components/Typography/types.d.ts +0 -19
  748. package/lib/typescript/commonjs/ui/components/Typography/types.d.ts.map +0 -1
  749. package/lib/typescript/commonjs/ui/components/feedback/ProgressIndicator.d.ts +0 -11
  750. package/lib/typescript/commonjs/ui/components/feedback/ProgressIndicator.d.ts.map +0 -1
  751. package/lib/typescript/commonjs/ui/components/icon/OxyIcon.d.ts +0 -10
  752. package/lib/typescript/commonjs/ui/components/icon/OxyIcon.d.ts.map +0 -1
  753. package/lib/typescript/commonjs/ui/components/theming.d.ts +0 -8
  754. package/lib/typescript/commonjs/ui/components/theming.d.ts.map +0 -1
  755. package/lib/typescript/commonjs/ui/components/types.d.ts +0 -81
  756. package/lib/typescript/commonjs/ui/components/types.d.ts.map +0 -1
  757. package/lib/typescript/commonjs/ui/components/utils/forwardRef.d.ts +0 -12
  758. package/lib/typescript/commonjs/ui/components/utils/forwardRef.d.ts.map +0 -1
  759. package/lib/typescript/commonjs/ui/constants/iconColors.d.ts +0 -130
  760. package/lib/typescript/commonjs/ui/constants/iconColors.d.ts.map +0 -1
  761. package/lib/typescript/commonjs/ui/constants/theme.d.ts +0 -98
  762. package/lib/typescript/commonjs/ui/constants/theme.d.ts.map +0 -1
  763. package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts +0 -19
  764. package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts.map +0 -1
  765. package/lib/typescript/commonjs/ui/hooks/useColorScheme.d.ts +0 -8
  766. package/lib/typescript/commonjs/ui/hooks/useColorScheme.d.ts.map +0 -1
  767. package/lib/typescript/commonjs/ui/styles/authStyles.d.ts +0 -328
  768. package/lib/typescript/commonjs/ui/styles/authStyles.d.ts.map +0 -1
  769. package/lib/typescript/commonjs/ui/styles/theme.d.ts +0 -75
  770. package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +0 -1
  771. package/lib/typescript/module/ui/components/ActivityIndicator.d.ts +0 -45
  772. package/lib/typescript/module/ui/components/ActivityIndicator.d.ts.map +0 -1
  773. package/lib/typescript/module/ui/components/AutoHeightScrollView.d.ts +0 -23
  774. package/lib/typescript/module/ui/components/AutoHeightScrollView.d.ts.map +0 -1
  775. package/lib/typescript/module/ui/components/Avatar.d.ts +0 -61
  776. package/lib/typescript/module/ui/components/Avatar.d.ts.map +0 -1
  777. package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts +0 -28
  778. package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts.map +0 -1
  779. package/lib/typescript/module/ui/components/EmptyState.d.ts +0 -8
  780. package/lib/typescript/module/ui/components/EmptyState.d.ts.map +0 -1
  781. package/lib/typescript/module/ui/components/HelperText.d.ts +0 -47
  782. package/lib/typescript/module/ui/components/HelperText.d.ts.map +0 -1
  783. package/lib/typescript/module/ui/components/Icon.d.ts +0 -61
  784. package/lib/typescript/module/ui/components/Icon.d.ts.map +0 -1
  785. package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts +0 -99
  786. package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +0 -1
  787. package/lib/typescript/module/ui/components/IconButton/utils.d.ts +0 -19
  788. package/lib/typescript/module/ui/components/IconButton/utils.d.ts.map +0 -1
  789. package/lib/typescript/module/ui/components/LoadingState.d.ts +0 -9
  790. package/lib/typescript/module/ui/components/LoadingState.d.ts.map +0 -1
  791. package/lib/typescript/module/ui/components/OxyLogo.d.ts +0 -16
  792. package/lib/typescript/module/ui/components/OxyLogo.d.ts.map +0 -1
  793. package/lib/typescript/module/ui/components/ProfileCard.d.ts +0 -21
  794. package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +0 -1
  795. package/lib/typescript/module/ui/components/QuickActions.d.ts +0 -15
  796. package/lib/typescript/module/ui/components/QuickActions.d.ts.map +0 -1
  797. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts +0 -28
  798. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +0 -1
  799. package/lib/typescript/module/ui/components/Surface.d.ts +0 -76
  800. package/lib/typescript/module/ui/components/Surface.d.ts.map +0 -1
  801. package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +0 -17
  802. package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts.map +0 -1
  803. package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts +0 -20
  804. package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts.map +0 -1
  805. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -45
  806. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +0 -1
  807. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -73
  808. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +0 -1
  809. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -78
  810. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +0 -1
  811. package/lib/typescript/module/ui/components/TextField/Adornment/enums.d.ts +0 -13
  812. package/lib/typescript/module/ui/components/TextField/Adornment/enums.d.ts.map +0 -1
  813. package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts +0 -12
  814. package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts.map +0 -1
  815. package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts +0 -12
  816. package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts.map +0 -1
  817. package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts +0 -5
  818. package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts.map +0 -1
  819. package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts +0 -5
  820. package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts.map +0 -1
  821. package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts +0 -5
  822. package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts.map +0 -1
  823. package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts +0 -5
  824. package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts.map +0 -1
  825. package/lib/typescript/module/ui/components/TextField/constants.d.ts +0 -32
  826. package/lib/typescript/module/ui/components/TextField/constants.d.ts.map +0 -1
  827. package/lib/typescript/module/ui/components/TextField/helpers.d.ts +0 -97
  828. package/lib/typescript/module/ui/components/TextField/helpers.d.ts.map +0 -1
  829. package/lib/typescript/module/ui/components/TextField/types.d.ts +0 -155
  830. package/lib/typescript/module/ui/components/TextField/types.d.ts.map +0 -1
  831. package/lib/typescript/module/ui/components/TextField.d.ts +0 -192
  832. package/lib/typescript/module/ui/components/TextField.d.ts.map +0 -1
  833. package/lib/typescript/module/ui/components/TouchableRipple/Pressable.d.ts +0 -13
  834. package/lib/typescript/module/ui/components/TouchableRipple/Pressable.d.ts.map +0 -1
  835. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -62
  836. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts.map +0 -1
  837. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -25
  838. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +0 -1
  839. package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts +0 -11
  840. package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts.map +0 -1
  841. package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts +0 -35
  842. package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts.map +0 -1
  843. package/lib/typescript/module/ui/components/Typography/types.d.ts +0 -19
  844. package/lib/typescript/module/ui/components/Typography/types.d.ts.map +0 -1
  845. package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts +0 -11
  846. package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts.map +0 -1
  847. package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts +0 -10
  848. package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts.map +0 -1
  849. package/lib/typescript/module/ui/components/theming.d.ts +0 -8
  850. package/lib/typescript/module/ui/components/theming.d.ts.map +0 -1
  851. package/lib/typescript/module/ui/components/types.d.ts +0 -81
  852. package/lib/typescript/module/ui/components/types.d.ts.map +0 -1
  853. package/lib/typescript/module/ui/components/utils/forwardRef.d.ts +0 -12
  854. package/lib/typescript/module/ui/components/utils/forwardRef.d.ts.map +0 -1
  855. package/lib/typescript/module/ui/constants/iconColors.d.ts +0 -130
  856. package/lib/typescript/module/ui/constants/iconColors.d.ts.map +0 -1
  857. package/lib/typescript/module/ui/constants/theme.d.ts +0 -98
  858. package/lib/typescript/module/ui/constants/theme.d.ts.map +0 -1
  859. package/lib/typescript/module/ui/context/ThemeContext.d.ts +0 -19
  860. package/lib/typescript/module/ui/context/ThemeContext.d.ts.map +0 -1
  861. package/lib/typescript/module/ui/hooks/useColorScheme.d.ts +0 -8
  862. package/lib/typescript/module/ui/hooks/useColorScheme.d.ts.map +0 -1
  863. package/lib/typescript/module/ui/styles/authStyles.d.ts +0 -328
  864. package/lib/typescript/module/ui/styles/authStyles.d.ts.map +0 -1
  865. package/lib/typescript/module/ui/styles/theme.d.ts +0 -75
  866. package/lib/typescript/module/ui/styles/theme.d.ts.map +0 -1
  867. package/src/ui/components/ActivityIndicator.tsx +0 -254
  868. package/src/ui/components/AutoHeightScrollView.tsx +0 -50
  869. package/src/ui/components/Avatar.tsx +0 -284
  870. package/src/ui/components/CrossFadeIcon.tsx +0 -140
  871. package/src/ui/components/EmptyState.tsx +0 -39
  872. package/src/ui/components/HelperText.tsx +0 -149
  873. package/src/ui/components/Icon.tsx +0 -189
  874. package/src/ui/components/IconButton/IconButton.tsx +0 -232
  875. package/src/ui/components/IconButton/utils.ts +0 -190
  876. package/src/ui/components/LoadingState.tsx +0 -46
  877. package/src/ui/components/OxyLogo.tsx +0 -82
  878. package/src/ui/components/ProfileCard.tsx +0 -137
  879. package/src/ui/components/QuickActions.tsx +0 -91
  880. package/src/ui/components/StepBasedScreen.tsx +0 -499
  881. package/src/ui/components/Surface.tsx +0 -384
  882. package/src/ui/components/TextField/Addons/Outline.tsx +0 -64
  883. package/src/ui/components/TextField/Addons/Underline.tsx +0 -78
  884. package/src/ui/components/TextField/Adornment/TextFieldAdornment.tsx +0 -205
  885. package/src/ui/components/TextField/Adornment/TextFieldAffix.tsx +0 -212
  886. package/src/ui/components/TextField/Adornment/TextFieldIcon.tsx +0 -195
  887. package/src/ui/components/TextField/Adornment/enums.tsx +0 -12
  888. package/src/ui/components/TextField/Adornment/types.tsx +0 -11
  889. package/src/ui/components/TextField/Adornment/utils.ts +0 -66
  890. package/src/ui/components/TextField/Label/InputLabel.tsx +0 -219
  891. package/src/ui/components/TextField/Label/LabelBackground.tsx +0 -100
  892. package/src/ui/components/TextField/TextFieldFlat.tsx +0 -488
  893. package/src/ui/components/TextField/TextFieldOutlined.tsx +0 -464
  894. package/src/ui/components/TextField/constants.tsx +0 -48
  895. package/src/ui/components/TextField/helpers.tsx +0 -611
  896. package/src/ui/components/TextField/types.tsx +0 -160
  897. package/src/ui/components/TextField.tsx +0 -574
  898. package/src/ui/components/TouchableRipple/Pressable.tsx +0 -42
  899. package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +0 -146
  900. package/src/ui/components/TouchableRipple/TouchableRipple.tsx +0 -347
  901. package/src/ui/components/TouchableRipple/utils.ts +0 -66
  902. package/src/ui/components/Typography/AnimatedText.tsx +0 -106
  903. package/src/ui/components/Typography/types.tsx +0 -22
  904. package/src/ui/components/feedback/ProgressIndicator.tsx +0 -35
  905. package/src/ui/components/icon/OxyIcon.tsx +0 -31
  906. package/src/ui/components/theming.tsx +0 -126
  907. package/src/ui/components/types.tsx +0 -93
  908. package/src/ui/components/utils/forwardRef.tsx +0 -23
  909. package/src/ui/constants/iconColors.ts +0 -88
  910. package/src/ui/constants/theme.ts +0 -121
  911. package/src/ui/context/ThemeContext.tsx +0 -41
  912. package/src/ui/context/__tests__/OxyContext.coldBoot.test.tsx +0 -166
  913. package/src/ui/hooks/useColorScheme.ts +0 -24
  914. package/src/ui/styles/authStyles.ts +0 -348
  915. package/src/ui/styles/theme.ts +0 -169
@@ -1,14 +1,13 @@
1
1
  "use strict";
2
2
 
3
- import { View, Text, TouchableOpacity, StyleSheet, Platform } from 'react-native';
4
3
  import { useMemo } from 'react';
4
+ import { View, TouchableOpacity, StyleSheet, Platform, ActivityIndicator } from 'react-native';
5
5
  import AnimatedReanimated, { useAnimatedStyle, interpolate, Extrapolation } from 'react-native-reanimated';
6
6
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
7
7
  import { Ionicons } from '@expo/vector-icons';
8
- import OxyIcon from "./icon/OxyIcon.js";
9
8
  import { useTheme } from '@oxyhq/bloom/theme';
10
-
11
- // Calculate header height based on platform and variant
9
+ import { PressableScale } from '@oxyhq/bloom/pressable-scale';
10
+ import { H4, Text } from '@oxyhq/bloom/typography';
12
11
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
12
  export const getHeaderHeight = (variant = 'default', safeAreaTop = 0) => {
14
13
  const paddingTop = Platform.OS === 'ios' ? Math.max(safeAreaTop, 50) : 16;
@@ -16,41 +15,59 @@ export const getHeaderHeight = (variant = 'default', safeAreaTop = 0) => {
16
15
  const contentHeight = variant === 'minimal' ? 36 : 40;
17
16
  return paddingTop + contentHeight + paddingBottom;
18
17
  };
18
+ const HeaderActionButton = ({
19
+ action,
20
+ colors
21
+ }) => {
22
+ const isText = !!action.text;
23
+ return /*#__PURE__*/_jsx(PressableScale, {
24
+ onPress: action.onPress,
25
+ disabled: action.disabled || action.loading,
26
+ style: [styles.actionButton, isText ? styles.textActionButton : styles.iconActionButton, {
27
+ backgroundColor: isText ? colors.tint : colors.card,
28
+ opacity: action.disabled ? 0.5 : 1
29
+ }],
30
+ children: action.loading ? /*#__PURE__*/_jsx(ActivityIndicator, {
31
+ size: "small",
32
+ color: isText ? colors.card : colors.tint
33
+ }) : isText ? /*#__PURE__*/_jsx(Text, {
34
+ style: [styles.actionText, {
35
+ color: colors.card
36
+ }],
37
+ children: action.text
38
+ }) : /*#__PURE__*/_jsx(Ionicons, {
39
+ name: action.icon,
40
+ size: 18,
41
+ color: colors.tint
42
+ })
43
+ });
44
+ };
19
45
  const Header = ({
20
46
  title,
21
47
  subtitle,
22
48
  onBack,
23
49
  onClose,
24
- rightAction,
25
- rightActions,
26
- theme,
50
+ actions,
27
51
  showBackButton = true,
28
52
  showCloseButton = false,
29
- showThemeToggle = false,
30
- onThemeToggle,
31
53
  variant = 'default',
32
54
  elevation = 'subtle',
33
55
  subtitleVariant = 'default',
34
56
  titleAlignment = 'left',
35
57
  scrollY
36
58
  }) => {
37
- const bloomTheme = useTheme();
38
- const colors = bloomTheme.colors;
39
- const colorScheme = bloomTheme.mode;
59
+ const {
60
+ colors,
61
+ mode
62
+ } = useTheme();
40
63
  const insets = useSafeAreaInsets();
41
64
  const headerHeight = getHeaderHeight(variant, insets.top);
65
+ const isDark = mode === 'dark';
42
66
 
43
- // Animated style for sticky behavior on native
44
- // Only create animated style if scrollY is provided and we're on native platform
67
+ // Sticky behavior on native: header translates up as content scrolls, clamped
68
+ // so it never leaves the viewport. No-op on web (uses CSS `position: sticky`).
45
69
  const animatedHeaderStyle = useAnimatedStyle(() => {
46
- if (Platform.OS === 'web' || !scrollY) {
47
- return {};
48
- }
49
-
50
- // Sticky behavior: header scrolls with content initially, then sticks at top
51
- // When scrollY = 0, translateY = 0 (header at normal position)
52
- // When scrollY > 0, translateY becomes negative to keep header at top
53
- // Clamp to prevent header from going above viewport
70
+ if (Platform.OS === 'web' || !scrollY) return {};
54
71
  const translateY = interpolate(scrollY.value, [0, headerHeight], [0, -headerHeight], Extrapolation.CLAMP);
55
72
  return {
56
73
  transform: [{
@@ -58,136 +75,8 @@ const Header = ({
58
75
  }]
59
76
  };
60
77
  }, [scrollY, headerHeight]);
61
- const handleBackPress = () => {
62
- if (!onBack) return;
63
-
64
- // Navigate immediately and synchronously - this prioritizes navigation
65
- // over keyboard dismiss. The keyboard will close naturally after screen changes.
66
- onBack();
67
- };
68
- const renderBackButton = () => {
69
- if (!showBackButton || !onBack) return null;
70
- return /*#__PURE__*/_jsx(TouchableOpacity, {
71
- className: "bg-card",
72
- style: styles.backButton,
73
- onPress: handleBackPress,
74
- activeOpacity: 0.7,
75
- children: /*#__PURE__*/_jsx(OxyIcon, {
76
- name: "chevron-back",
77
- size: 18,
78
- color: colors.tint
79
- })
80
- });
81
- };
82
- const renderCloseButton = () => {
83
- if (!showCloseButton || !onClose) return null;
84
- return /*#__PURE__*/_jsx(TouchableOpacity, {
85
- className: "bg-card",
86
- style: styles.closeButton,
87
- onPress: onClose,
88
- activeOpacity: 0.7,
89
- children: /*#__PURE__*/_jsx(Ionicons, {
90
- name: "close",
91
- size: 18,
92
- color: colors.text
93
- })
94
- });
95
- };
96
- const renderRightActionButton = (action, idx) => {
97
- const isTextAction = action.text;
98
- return /*#__PURE__*/_jsx(TouchableOpacity, {
99
- style: [styles.rightActionButton, isTextAction ? styles.textActionButton : styles.iconActionButton, {
100
- backgroundColor: isTextAction ? colors.tint : colors.card,
101
- opacity: action.disabled ? 0.5 : 1
102
- }],
103
- onPress: action.onPress,
104
- disabled: action.disabled || action.loading,
105
- activeOpacity: 0.7,
106
- children: action.loading ? /*#__PURE__*/_jsxs(View, {
107
- style: styles.loadingContainer,
108
- children: [/*#__PURE__*/_jsx(View, {
109
- style: [styles.loadingDot, {
110
- backgroundColor: isTextAction ? colors.card : colors.tint
111
- }]
112
- }), /*#__PURE__*/_jsx(View, {
113
- style: [styles.loadingDot, {
114
- backgroundColor: isTextAction ? colors.card : colors.tint
115
- }]
116
- }), /*#__PURE__*/_jsx(View, {
117
- style: [styles.loadingDot, {
118
- backgroundColor: isTextAction ? colors.card : colors.tint
119
- }]
120
- })]
121
- }) : isTextAction ? /*#__PURE__*/_jsx(Text, {
122
- style: [styles.actionText, {
123
- color: colors.card
124
- }],
125
- children: action.text
126
- }) : /*#__PURE__*/_jsx(Ionicons, {
127
- name: action.icon,
128
- size: 18,
129
- color: colors.tint
130
- })
131
- }, action.key || idx);
132
- };
133
- const renderRightActions = () => {
134
- const actions = [];
135
-
136
- // Add existing right actions
137
- if (rightActions?.length) {
138
- actions.push(...rightActions);
139
- } else if (rightAction) {
140
- actions.push(rightAction);
141
- }
142
-
143
- // Add theme toggle button if enabled
144
- if (showThemeToggle && onThemeToggle) {
145
- actions.push({
146
- icon: colorScheme === 'dark' ? 'sunny' : 'moon',
147
- onPress: onThemeToggle,
148
- key: 'theme-toggle'
149
- });
150
- }
151
- if (actions.length === 0) return null;
152
- if (actions.length > 1) {
153
- return /*#__PURE__*/_jsx(View, {
154
- style: styles.rightActionsRow,
155
- children: actions.map((a, i) => renderRightActionButton(a, i))
156
- });
157
- }
158
- return renderRightActionButton(actions[0], 0);
159
- };
160
- const renderTitle = () => {
161
- const titleStyle = variant === 'large' ? styles.titleLarge : variant === 'minimal' ? styles.titleMinimal : styles.titleDefault;
162
- const subtitleStyle = variant === 'large' ? styles.subtitleLarge : variant === 'minimal' ? styles.subtitleMinimal : subtitleVariant === 'small' ? styles.subtitleSmall : subtitleVariant === 'large' ? styles.subtitleLarge : subtitleVariant === 'muted' ? styles.subtitleMuted : styles.subtitleDefault;
163
- const getTitleAlignment = () => {
164
- switch (titleAlignment) {
165
- case 'center':
166
- return styles.titleContainerCenter;
167
- case 'right':
168
- return styles.titleContainerRight;
169
- default:
170
- return styles.titleContainerLeft;
171
- }
172
- };
173
- return /*#__PURE__*/_jsxs(View, {
174
- style: [styles.titleContainer, getTitleAlignment(), variant === 'minimal' && styles.titleContainerMinimal],
175
- children: [/*#__PURE__*/_jsx(Text, {
176
- className: "text-foreground",
177
- style: titleStyle,
178
- children: title
179
- }), subtitle ? /*#__PURE__*/_jsx(Text, {
180
- className: "text-muted-foreground",
181
- style: subtitleStyle,
182
- children: subtitle
183
- }) : null]
184
- });
185
- };
186
- const getElevationStyle = () => {
187
- const isDark = colorScheme === 'dark';
78
+ const elevationStyle = useMemo(() => {
188
79
  switch (elevation) {
189
- case 'none':
190
- return {};
191
80
  case 'subtle':
192
81
  return Platform.select({
193
82
  web: {
@@ -223,40 +112,62 @@ const Header = ({
223
112
  default:
224
113
  return {};
225
114
  }
226
- };
227
- const getBackgroundStyle = () => {
228
- if (variant === 'gradient') {
229
- return {
230
- // Add gradient overlay effect
231
- borderBottomWidth: 1
232
- };
233
- }
234
- return {
235
- borderBottomWidth: elevation === 'none' ? 0 : 1
236
- };
237
- };
238
- const backgroundStyle = getBackgroundStyle();
239
- const elevationStyle = getElevationStyle();
115
+ }, [elevation, isDark]);
240
116
  const containerStyle = useMemo(() => [styles.container, {
241
117
  paddingTop: Platform.OS === 'ios' ? Math.max(insets.top, 50) : 16
242
118
  },
243
- // When header is inside ScrollView (has scrollY), don't use absolute positioning
244
- !scrollY && Platform.OS !== 'web' ? {
245
- position: 'absolute',
246
- top: 0,
247
- left: 0,
248
- right: 0
249
- } : {}, backgroundStyle, elevationStyle], [insets.top, backgroundStyle, elevationStyle, scrollY]);
119
+ // Header inside a ScrollView (scrollY provided) must not be absolutely positioned.
120
+ !scrollY && Platform.OS !== 'web' ? styles.absolute : null, {
121
+ borderBottomWidth: elevation === 'none' ? 0 : 1
122
+ }, elevationStyle], [insets.top, elevation, elevationStyle, scrollY]);
123
+ const titleAlign = titleAlignment === 'center' ? styles.alignCenter : titleAlignment === 'right' ? styles.alignRight : styles.alignLeft;
250
124
  const HeaderContainer = Platform.OS === 'web' || !scrollY ? View : AnimatedReanimated.View;
251
- // Only apply animated styles when HeaderContainer is an animated component
252
- const shouldUseAnimatedStyle = Platform.OS !== 'web' && scrollY !== undefined;
253
- const headerStyle = shouldUseAnimatedStyle ? [containerStyle, animatedHeaderStyle] : containerStyle;
125
+ const headerStyle = Platform.OS !== 'web' && scrollY !== undefined ? [containerStyle, animatedHeaderStyle] : containerStyle;
254
126
  return /*#__PURE__*/_jsx(HeaderContainer, {
255
- className: "bg-background border-border",
127
+ className: "bg-bg border-border",
256
128
  style: headerStyle,
257
129
  children: /*#__PURE__*/_jsxs(View, {
258
130
  style: [styles.content, variant === 'minimal' && styles.contentMinimal],
259
- children: [renderBackButton(), renderTitle(), renderRightActions(), renderCloseButton()]
131
+ children: [showBackButton && onBack ? /*#__PURE__*/_jsx(TouchableOpacity, {
132
+ className: "bg-card",
133
+ style: styles.circleButton,
134
+ onPress: onBack,
135
+ activeOpacity: 0.7,
136
+ children: /*#__PURE__*/_jsx(Ionicons, {
137
+ name: "chevron-back",
138
+ size: 18,
139
+ color: colors.tint
140
+ })
141
+ }) : null, /*#__PURE__*/_jsxs(View, {
142
+ style: [styles.titleContainer, titleAlign, variant === 'minimal' && styles.titleContainerMinimal],
143
+ children: [/*#__PURE__*/_jsx(H4, {
144
+ className: "text-text",
145
+ style: variant === 'minimal' ? styles.titleMinimal : styles.titleDefault,
146
+ numberOfLines: 1,
147
+ children: title
148
+ }), subtitle ? /*#__PURE__*/_jsx(Text, {
149
+ className: "text-text-secondary",
150
+ style: subtitleStyles[subtitleVariant],
151
+ numberOfLines: 1,
152
+ children: subtitle
153
+ }) : null]
154
+ }), actions?.length ? /*#__PURE__*/_jsx(View, {
155
+ style: styles.actionsRow,
156
+ children: actions.map((action, idx) => /*#__PURE__*/_jsx(HeaderActionButton, {
157
+ action: action,
158
+ colors: colors
159
+ }, action.key ?? idx))
160
+ }) : null, showCloseButton && onClose ? /*#__PURE__*/_jsx(TouchableOpacity, {
161
+ className: "bg-card",
162
+ style: [styles.circleButton, styles.closeButton],
163
+ onPress: onClose,
164
+ activeOpacity: 0.7,
165
+ children: /*#__PURE__*/_jsx(Ionicons, {
166
+ name: "close",
167
+ size: 18,
168
+ color: colors.text
169
+ })
170
+ }) : null]
260
171
  })
261
172
  });
262
173
  };
@@ -271,11 +182,15 @@ const styles = StyleSheet.create({
271
182
  left: 0,
272
183
  right: 0
273
184
  },
274
- default: {
275
- // Position will be set dynamically based on scrollY prop
276
- }
185
+ default: {}
277
186
  })
278
187
  },
188
+ absolute: {
189
+ position: 'absolute',
190
+ top: 0,
191
+ left: 0,
192
+ right: 0
193
+ },
279
194
  content: {
280
195
  flexDirection: 'row',
281
196
  alignItems: 'center',
@@ -287,7 +202,7 @@ const styles = StyleSheet.create({
287
202
  paddingHorizontal: 12,
288
203
  minHeight: 36
289
204
  },
290
- backButton: {
205
+ circleButton: {
291
206
  width: 32,
292
207
  height: 32,
293
208
  borderRadius: 16,
@@ -296,25 +211,20 @@ const styles = StyleSheet.create({
296
211
  marginRight: 10
297
212
  },
298
213
  closeButton: {
299
- width: 32,
300
- height: 32,
301
- borderRadius: 16,
302
- alignItems: 'center',
303
- justifyContent: 'center',
214
+ marginRight: 0,
304
215
  marginLeft: 10
305
216
  },
306
217
  titleContainer: {
307
218
  flex: 1,
308
- alignItems: 'flex-start',
309
219
  justifyContent: 'center'
310
220
  },
311
- titleContainerLeft: {
221
+ alignLeft: {
312
222
  alignItems: 'flex-start'
313
223
  },
314
- titleContainerCenter: {
224
+ alignCenter: {
315
225
  alignItems: 'center'
316
226
  },
317
- titleContainerRight: {
227
+ alignRight: {
318
228
  alignItems: 'flex-end'
319
229
  },
320
230
  titleContainerMinimal: {
@@ -327,51 +237,17 @@ const styles = StyleSheet.create({
327
237
  letterSpacing: -0.5,
328
238
  lineHeight: 22
329
239
  },
330
- titleLarge: {
331
- fontSize: 28,
332
- fontWeight: '800',
333
- letterSpacing: -1,
334
- lineHeight: 34,
335
- marginBottom: 3
336
- },
337
240
  titleMinimal: {
338
241
  fontSize: 16,
339
242
  fontWeight: '600',
340
243
  letterSpacing: -0.3,
341
244
  lineHeight: 20
342
245
  },
343
- subtitleDefault: {
344
- fontSize: 14,
345
- fontWeight: '400',
346
- lineHeight: 17,
347
- marginTop: 1
348
- },
349
- subtitleLarge: {
350
- fontSize: 16,
351
- fontWeight: '400',
352
- lineHeight: 19,
353
- marginTop: 3
354
- },
355
- subtitleMinimal: {
356
- fontSize: 13,
357
- fontWeight: '400',
358
- lineHeight: 15,
359
- marginTop: 1
360
- },
361
- subtitleSmall: {
362
- fontSize: 12,
363
- fontWeight: '400',
364
- lineHeight: 14,
365
- marginTop: 0
366
- },
367
- subtitleMuted: {
368
- fontSize: 14,
369
- fontWeight: '400',
370
- lineHeight: 17,
371
- marginTop: 1,
372
- opacity: 0.7
246
+ actionsRow: {
247
+ flexDirection: 'row',
248
+ alignItems: 'center'
373
249
  },
374
- rightActionButton: {
250
+ actionButton: {
375
251
  alignItems: 'center',
376
252
  justifyContent: 'center',
377
253
  marginLeft: 10
@@ -391,22 +267,32 @@ const styles = StyleSheet.create({
391
267
  fontSize: 14,
392
268
  fontWeight: '600',
393
269
  letterSpacing: -0.2
270
+ }
271
+ });
272
+ const subtitleStyles = StyleSheet.create({
273
+ default: {
274
+ fontSize: 14,
275
+ fontWeight: '400',
276
+ lineHeight: 17,
277
+ marginTop: 1
394
278
  },
395
- loadingContainer: {
396
- flexDirection: 'row',
397
- alignItems: 'center',
398
- justifyContent: 'center',
399
- gap: 2
279
+ small: {
280
+ fontSize: 12,
281
+ fontWeight: '400',
282
+ lineHeight: 14
400
283
  },
401
- loadingDot: {
402
- width: 4,
403
- height: 4,
404
- borderRadius: 2,
405
- opacity: 0.6
284
+ large: {
285
+ fontSize: 16,
286
+ fontWeight: '400',
287
+ lineHeight: 19,
288
+ marginTop: 3
406
289
  },
407
- rightActionsRow: {
408
- flexDirection: 'row',
409
- alignItems: 'center'
290
+ muted: {
291
+ fontSize: 14,
292
+ fontWeight: '400',
293
+ lineHeight: 17,
294
+ marginTop: 1,
295
+ opacity: 0.7
410
296
  }
411
297
  });
412
298
  export default Header;
@@ -1 +1 @@
1
- {"version":3,"names":["View","Text","TouchableOpacity","StyleSheet","Platform","useMemo","AnimatedReanimated","useAnimatedStyle","interpolate","Extrapolation","useSafeAreaInsets","Ionicons","OxyIcon","useTheme","jsx","_jsx","jsxs","_jsxs","getHeaderHeight","variant","safeAreaTop","paddingTop","OS","Math","max","paddingBottom","contentHeight","Header","title","subtitle","onBack","onClose","rightAction","rightActions","theme","showBackButton","showCloseButton","showThemeToggle","onThemeToggle","elevation","subtitleVariant","titleAlignment","scrollY","bloomTheme","colors","colorScheme","mode","insets","headerHeight","top","animatedHeaderStyle","translateY","value","CLAMP","transform","handleBackPress","renderBackButton","className","style","styles","backButton","onPress","activeOpacity","children","name","size","color","tint","renderCloseButton","closeButton","text","renderRightActionButton","action","idx","isTextAction","rightActionButton","textActionButton","iconActionButton","backgroundColor","card","opacity","disabled","loading","loadingContainer","loadingDot","actionText","icon","key","renderRightActions","actions","length","push","rightActionsRow","map","a","i","renderTitle","titleStyle","titleLarge","titleMinimal","titleDefault","subtitleStyle","subtitleLarge","subtitleMinimal","subtitleSmall","subtitleMuted","subtitleDefault","getTitleAlignment","titleContainerCenter","titleContainerRight","titleContainerLeft","titleContainer","titleContainerMinimal","getElevationStyle","isDark","select","web","boxShadow","default","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","getBackgroundStyle","borderBottomWidth","backgroundStyle","elevationStyle","containerStyle","container","position","left","right","HeaderContainer","shouldUseAnimatedStyle","undefined","headerStyle","content","contentMinimal","create","zIndex","flexDirection","alignItems","paddingHorizontal","minHeight","borderRadius","justifyContent","marginRight","marginLeft","flex","marginHorizontal","fontSize","fontWeight","letterSpacing","lineHeight","marginBottom","marginTop","paddingVertical","minWidth","gap"],"sourceRoot":"../../../../src","sources":["ui/components/Header.tsx"],"mappings":";;AACA,SACIA,IAAI,EACJC,IAAI,EACJC,gBAAgB,EAChBC,UAAU,EACVC,QAAQ,QAGL,cAAc;AACrB,SAASC,OAAO,QAAQ,OAAO;AAC/B,OAAOC,kBAAkB,IAAIC,gBAAgB,EAAEC,WAAW,EAAEC,aAAa,QAA0B,yBAAyB;AAC5H,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,OAAOC,OAAO,MAAM,mBAAgB;AACpC,SAASC,QAAQ,QAAQ,oBAAoB;;AAE7C;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AACA,OAAO,MAAMC,eAAe,GAAGA,CAACC,OAA+B,GAAG,SAAS,EAAEC,WAAW,GAAG,CAAC,KAAa;EACrG,MAAMC,UAAU,GAAGjB,QAAQ,CAACkB,EAAE,KAAK,KAAK,GAAGC,IAAI,CAACC,GAAG,CAACJ,WAAW,EAAE,EAAE,CAAC,GAAG,EAAE;EACzE,MAAMK,aAAa,GAAG,EAAE;EACxB,MAAMC,aAAa,GAAGP,OAAO,KAAK,SAAS,GAAG,EAAE,GAAG,EAAE;EACrD,OAAOE,UAAU,GAAGK,aAAa,GAAGD,aAAa;AACrD,CAAC;AAmCD,MAAME,MAA6B,GAAGA,CAAC;EACnCC,KAAK;EACLC,QAAQ;EACRC,MAAM;EACNC,OAAO;EACPC,WAAW;EACXC,YAAY;EACZC,KAAK;EACLC,cAAc,GAAG,IAAI;EACrBC,eAAe,GAAG,KAAK;EACvBC,eAAe,GAAG,KAAK;E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AK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTwB,YAAY,EAAE,CAAC;IACflE,OAAO,EAAE;EACb,CAAC;EACDY,eAAe,EAAE;IACbkD,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EAChB;AACJ,CAAC,CAAC;AAEF,eAAepH,MAAM","ignoreList":[]}
1
+ {"version":3,"names":["useMemo","View","TouchableOpacity","StyleSheet","Platform","ActivityIndicator","AnimatedReanimated","useAnimatedStyle","interpolate","Extrapolation","useSafeAreaInsets","Ionicons","useTheme","PressableScale","H4","Text","jsx","_jsx","jsxs","_jsxs","getHeaderHeight","variant","safeAreaTop","paddingTop","OS","Math","max","paddingBottom","contentHeight","HeaderActionButton","action","colors","isText","text","onPress","disabled","loading","style","styles","actionButton","textActionButton","iconActionButton","backgroundColor","tint","card","opacity","children","size","color","actionText","name","icon","Header","title","subtitle","onBack","onClose","actions","showBackButton","showCloseButton","elevation","subtitleVariant","titleAlignment","scrollY","mode","insets","headerHeight","top","isDark","animatedHeaderStyle","translateY","value","CLAMP","transform","elevationStyle","select","web","boxShadow","default","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","containerStyle","container","absolute","borderBottomWidth","titleAlign","alignCenter","alignRight","alignLeft","HeaderContainer","headerStyle","undefined","className","content","contentMinimal","circleButton","activeOpacity","titleContainer","titleContainerMinimal","titleMinimal","titleDefault","numberOfLines","subtitleStyles","length","actionsRow","map","idx","key","closeButton","create","zIndex","position","left","right","flexDirection","alignItems","paddingHorizontal","minHeight","borderRadius","justifyContent","marginRight","marginLeft","flex","marginHorizontal","fontSize","fontWeight","letterSpacing","lineHeight","paddingVertical","minWidth","marginTop","small","large","muted"],"sourceRoot":"../../../../src","sources":["ui/components/Header.tsx"],"mappings":";;AACA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SACIC,IAAI,EACJC,gBAAgB,EAChBC,UAAU,EACVC,QAAQ,EACRC,iBAAiB,QACd,cAAc;AACrB,OAAOC,kBAAkB,IAAIC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,aAAa,EAAE,CAAC;EAAI;AACvE,CAAC,CAAC;AAEF,MAAMxB,cAAc,GAAGvG,UAAU,CAAC8G,MAAM,CAAC;EACrCnC,OAAO,EAAE;IAAEkD,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,KAAK;IAAEE,UAAU,EAAE,EAAE;IAAEG,SAAS,EAAE;EAAE,CAAC;EAC1EC,KAAK,EAAE;IAAEP,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,KAAK;IAAEE,UAAU,EAAE;EAAG,CAAC;EAC1DK,KAAK,EAAE;IAAER,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,KAAK;IAAEE,UAAU,EAAE,EAAE;IAAEG,SAAS,EAAE;EAAE,CAAC;EACxEG,KAAK,EAAE;IAAET,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,KAAK;IAAEE,UAAU,EAAE,EAAE;IAAEG,SAAS,EAAE,CAAC;IAAEzF,OAAO,EAAE;EAAI;AACzF,CAAC,CAAC;AAEF,eAAeO,MAAM","ignoreList":[]}
@@ -4,12 +4,8 @@
4
4
  * OxyAccountDialog — the ONE unified account dialog for `@oxyhq/services`.
5
5
  *
6
6
  * A thin React Native binding over the headless `AccountDialogController` in
7
- * `@oxyhq/core` (bound via `useSyncExternalStore`), presented as a bottom-sheet
8
- * modal. It REPLACES the five drifting device/account surfaces the SDK shipped
9
- * before (`ProfileMenu`, `AccountMenu`, `AccountSwitcher`, `SignInAccountChooser`,
10
- * and `SignInModal`) with a single implementation whose data + state machine live
11
- * in core, so the RN and web (auth-sdk) bindings render the SAME list from the
12
- * SAME logic and cannot diverge.
7
+ * `@oxyhq/core` (bound via `useSyncExternalStore`), presented as a Bloom `<Dialog>`.
8
+ * One surface for account switching and sign-in data and state machine live in core.
13
9
  *
14
10
  * Views (from `snapshot.view`):
15
11
  * - `accounts` — the unified `SwitchableAccount[]` list (device sign-ins ∪ graph
@@ -56,7 +52,7 @@ import { useTheme, BloomColorScope, APP_COLOR_NAMES, APP_COLOR_PRESETS } from '@
56
52
  import { useQueryClient } from '@tanstack/react-query';
57
53
  import { useOxy } from "../context/OxyContext.js";
58
54
  import { useI18n } from "../hooks/useI18n.js";
59
- import OxyLogo from "./OxyLogo.js";
55
+ import { LogoIcon } from "./logo/LogoIcon.js";
60
56
 
61
57
  /** Diameter of a row avatar. */
62
58
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
@@ -85,7 +81,7 @@ function toPreset(color) {
85
81
  }
86
82
  /**
87
83
  * The unified account dialog. Mounted once by `OxyProvider`; opened imperatively
88
- * via `useOxy().openAccountDialog(view?)` (or the back-compat `showSignInModal`).
84
+ * via `useOxy().openAccountDialog(view?)` or imperative `openAccountDialog('signin')`.
89
85
  */
90
86
  const OxyAccountDialog = () => {
91
87
  const {
@@ -156,8 +152,19 @@ const OxyAccountDialog = () => {
156
152
  const showBack = view === 'qr' || view === 'add' && snapshot.accounts.length > 0;
157
153
  return /*#__PURE__*/_jsxs(Dialog, {
158
154
  open: isAccountDialogOpen,
159
- onClose: closeAccountDialog,
160
- placement: {
155
+ onClose: closeAccountDialog
156
+ // On web ALWAYS use the centered placement. Bloom's `bottom` placement
157
+ // routes through its `BottomSheet`, which on web is built on
158
+ // react-native-web's `Modal`. That `Modal` creates its `ModalPortal` host
159
+ // node as a side effect during render and removes it in an effect cleanup;
160
+ // under React 19 concurrent rendering (and StrictMode's dev double-invoke)
161
+ // the host is orphaned and never re-attached, so the sheet never paints on
162
+ // narrow web viewports (reproduced on console.oxy.so / auth.oxy.so, Pixel-7
163
+ // width). The `center` placement uses Bloom's react-dom Portal (no RN
164
+ // Modal) and paints reliably at every width. Native keeps the real bottom
165
+ // sheet on narrow screens.
166
+ ,
167
+ placement: isWeb ? 'center' : {
161
168
  base: 'bottom',
162
169
  md: 'center'
163
170
  },
@@ -192,9 +199,7 @@ const OxyAccountDialog = () => {
192
199
  handlers: handlers,
193
200
  onSignInWithOxy: () => void controller.signInWithOxy(),
194
201
  onScanQr: () => void controller.showQr(),
195
- onUsePassword: () => controller.openPasswordAtOxyAuth({
196
- returnUrl: isWeb ? currentHref() : undefined
197
- })
202
+ onUsePassword: () => void controller.openPasswordAtOxyAuth()
198
203
  })
199
204
  })]
200
205
  });
@@ -234,10 +239,9 @@ const DialogHeader = ({
234
239
  })
235
240
  }) : /*#__PURE__*/_jsx(View, {
236
241
  style: styles.iconButton
237
- }), /*#__PURE__*/_jsx(OxyLogo, {
238
- variant: "icon",
239
- size: 34,
240
- fillColor: theme.colors.primary
242
+ }), /*#__PURE__*/_jsx(LogoIcon, {
243
+ height: 34,
244
+ color: theme.colors.primary
241
245
  }), /*#__PURE__*/_jsx(Pressable, {
242
246
  onPress: onClose,
243
247
  style: [styles.iconButton, {
@@ -367,7 +371,7 @@ const AccountRow = ({
367
371
  borderColor: account.isCurrent ? accent : 'transparent'
368
372
  }],
369
373
  children: /*#__PURE__*/_jsx(Avatar, {
370
- source: account.user.avatar ?? undefined,
374
+ source: account.avatarUrl ?? undefined,
371
375
  variant: "thumb",
372
376
  name: account.displayName,
373
377
  size: ROW_AVATAR_SIZE