@oxy.so/services 12.3.0 → 12.4.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 (152) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/index.js +17 -2
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +11 -10
  5. package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
  6. package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +19 -18
  7. package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
  8. package/lib/commonjs/ui/components/signIn/OxyEmailPanel.js +251 -0
  9. package/lib/commonjs/ui/components/signIn/OxyEmailPanel.js.map +1 -0
  10. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +40 -33
  11. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  12. package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +51 -19
  13. package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
  14. package/lib/commonjs/ui/components/signIn/OxySignInSecurityPanel.js +154 -0
  15. package/lib/commonjs/ui/components/signIn/OxySignInSecurityPanel.js.map +1 -0
  16. package/lib/commonjs/ui/components/signIn/ReauthStep.js +6 -4
  17. package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -1
  18. package/lib/commonjs/ui/components/signIn/SessionsSection.js +200 -0
  19. package/lib/commonjs/ui/components/signIn/SessionsSection.js.map +1 -0
  20. package/lib/commonjs/ui/components/signIn/accountFlowParts.js +6 -0
  21. package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
  22. package/lib/commonjs/ui/components/signIn/accountSecurityState.js +74 -0
  23. package/lib/commonjs/ui/components/signIn/accountSecurityState.js.map +1 -0
  24. package/lib/commonjs/ui/navigation/routes.js +1 -1
  25. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  26. package/lib/commonjs/ui/navigation/screenComponents.js +4 -0
  27. package/lib/commonjs/ui/navigation/screenComponents.js.map +1 -1
  28. package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -1
  29. package/lib/commonjs/ui/screens/AccountSecurityPanelScreen.js +1 -1
  30. package/lib/commonjs/ui/screens/ManageAccountScreen.js +8 -196
  31. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  32. package/lib/commonjs/ui/screens/SignInEmailScreen.js +19 -0
  33. package/lib/commonjs/ui/screens/SignInEmailScreen.js.map +1 -0
  34. package/lib/commonjs/ui/screens/SignInSecurityScreen.js +30 -0
  35. package/lib/commonjs/ui/screens/SignInSecurityScreen.js.map +1 -0
  36. package/lib/module/index.js +5 -2
  37. package/lib/module/index.js.map +1 -1
  38. package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +12 -11
  39. package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
  40. package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +20 -19
  41. package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
  42. package/lib/module/ui/components/signIn/OxyEmailPanel.js +246 -0
  43. package/lib/module/ui/components/signIn/OxyEmailPanel.js.map +1 -0
  44. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +40 -33
  45. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  46. package/lib/module/ui/components/signIn/OxyPasswordPanel.js +52 -20
  47. package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
  48. package/lib/module/ui/components/signIn/OxySignInSecurityPanel.js +149 -0
  49. package/lib/module/ui/components/signIn/OxySignInSecurityPanel.js.map +1 -0
  50. package/lib/module/ui/components/signIn/ReauthStep.js +6 -4
  51. package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -1
  52. package/lib/module/ui/components/signIn/SessionsSection.js +194 -0
  53. package/lib/module/ui/components/signIn/SessionsSection.js.map +1 -0
  54. package/lib/module/ui/components/signIn/accountFlowParts.js +6 -0
  55. package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
  56. package/lib/module/ui/components/signIn/accountSecurityState.js +69 -0
  57. package/lib/module/ui/components/signIn/accountSecurityState.js.map +1 -0
  58. package/lib/module/ui/navigation/routes.js +1 -1
  59. package/lib/module/ui/navigation/routes.js.map +1 -1
  60. package/lib/module/ui/navigation/screenComponents.js +4 -0
  61. package/lib/module/ui/navigation/screenComponents.js.map +1 -1
  62. package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -1
  63. package/lib/module/ui/screens/AccountSecurityPanelScreen.js +1 -1
  64. package/lib/module/ui/screens/ManageAccountScreen.js +9 -197
  65. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  66. package/lib/module/ui/screens/SignInEmailScreen.js +17 -0
  67. package/lib/module/ui/screens/SignInEmailScreen.js.map +1 -0
  68. package/lib/module/ui/screens/SignInSecurityScreen.js +26 -0
  69. package/lib/module/ui/screens/SignInSecurityScreen.js.map +1 -0
  70. package/lib/typescript/commonjs/index.d.ts +4 -0
  71. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  72. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
  73. package/lib/typescript/commonjs/ui/components/signIn/OxyDeleteAccountPanel.d.ts +3 -2
  74. package/lib/typescript/commonjs/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
  75. package/lib/typescript/commonjs/ui/components/signIn/OxyEmailPanel.d.ts +21 -0
  76. package/lib/typescript/commonjs/ui/components/signIn/OxyEmailPanel.d.ts.map +1 -0
  77. package/lib/typescript/commonjs/ui/components/signIn/OxyLinkCommonsPanel.d.ts +2 -1
  78. package/lib/typescript/commonjs/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
  79. package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts +5 -4
  80. package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
  81. package/lib/typescript/commonjs/ui/components/signIn/OxySignInSecurityPanel.d.ts +25 -0
  82. package/lib/typescript/commonjs/ui/components/signIn/OxySignInSecurityPanel.d.ts.map +1 -0
  83. package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts +8 -2
  84. package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
  85. package/lib/typescript/commonjs/ui/components/signIn/SessionsSection.d.ts +9 -0
  86. package/lib/typescript/commonjs/ui/components/signIn/SessionsSection.d.ts.map +1 -0
  87. package/lib/typescript/commonjs/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
  88. package/lib/typescript/commonjs/ui/components/signIn/accountSecurityState.d.ts +26 -0
  89. package/lib/typescript/commonjs/ui/components/signIn/accountSecurityState.d.ts.map +1 -0
  90. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +1 -1
  91. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
  92. package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts.map +1 -1
  93. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +2 -0
  94. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
  95. package/lib/typescript/commonjs/ui/screens/AccountSecurityPanelScreen.d.ts +1 -1
  96. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +3 -2
  97. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  98. package/lib/typescript/commonjs/ui/screens/SignInEmailScreen.d.ts +6 -0
  99. package/lib/typescript/commonjs/ui/screens/SignInEmailScreen.d.ts.map +1 -0
  100. package/lib/typescript/commonjs/ui/screens/SignInSecurityScreen.d.ts +6 -0
  101. package/lib/typescript/commonjs/ui/screens/SignInSecurityScreen.d.ts.map +1 -0
  102. package/lib/typescript/module/index.d.ts +4 -0
  103. package/lib/typescript/module/index.d.ts.map +1 -1
  104. package/lib/typescript/module/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -1
  105. package/lib/typescript/module/ui/components/signIn/OxyDeleteAccountPanel.d.ts +3 -2
  106. package/lib/typescript/module/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
  107. package/lib/typescript/module/ui/components/signIn/OxyEmailPanel.d.ts +21 -0
  108. package/lib/typescript/module/ui/components/signIn/OxyEmailPanel.d.ts.map +1 -0
  109. package/lib/typescript/module/ui/components/signIn/OxyLinkCommonsPanel.d.ts +2 -1
  110. package/lib/typescript/module/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
  111. package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts +5 -4
  112. package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -1
  113. package/lib/typescript/module/ui/components/signIn/OxySignInSecurityPanel.d.ts +25 -0
  114. package/lib/typescript/module/ui/components/signIn/OxySignInSecurityPanel.d.ts.map +1 -0
  115. package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts +8 -2
  116. package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
  117. package/lib/typescript/module/ui/components/signIn/SessionsSection.d.ts +9 -0
  118. package/lib/typescript/module/ui/components/signIn/SessionsSection.d.ts.map +1 -0
  119. package/lib/typescript/module/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
  120. package/lib/typescript/module/ui/components/signIn/accountSecurityState.d.ts +26 -0
  121. package/lib/typescript/module/ui/components/signIn/accountSecurityState.d.ts.map +1 -0
  122. package/lib/typescript/module/ui/navigation/routes.d.ts +1 -1
  123. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
  124. package/lib/typescript/module/ui/navigation/screenComponents.d.ts.map +1 -1
  125. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +2 -0
  126. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
  127. package/lib/typescript/module/ui/screens/AccountSecurityPanelScreen.d.ts +1 -1
  128. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +3 -2
  129. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  130. package/lib/typescript/module/ui/screens/SignInEmailScreen.d.ts +6 -0
  131. package/lib/typescript/module/ui/screens/SignInEmailScreen.d.ts.map +1 -0
  132. package/lib/typescript/module/ui/screens/SignInSecurityScreen.d.ts +6 -0
  133. package/lib/typescript/module/ui/screens/SignInSecurityScreen.d.ts.map +1 -0
  134. package/package.json +5 -5
  135. package/src/index.ts +7 -2
  136. package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +11 -8
  137. package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +15 -16
  138. package/src/ui/components/signIn/OxyEmailPanel.tsx +258 -0
  139. package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +27 -15
  140. package/src/ui/components/signIn/OxyPasswordPanel.tsx +49 -14
  141. package/src/ui/components/signIn/OxySignInSecurityPanel.tsx +147 -0
  142. package/src/ui/components/signIn/ReauthStep.tsx +13 -4
  143. package/src/ui/components/signIn/SessionsSection.tsx +218 -0
  144. package/src/ui/components/signIn/accountFlowParts.tsx +6 -0
  145. package/src/ui/components/signIn/accountSecurityState.tsx +75 -0
  146. package/src/ui/navigation/routes.ts +5 -1
  147. package/src/ui/navigation/screenComponents.ts +4 -0
  148. package/src/ui/navigation/surfaceRegistry.ts +2 -0
  149. package/src/ui/screens/AccountSecurityPanelScreen.tsx +1 -1
  150. package/src/ui/screens/ManageAccountScreen.tsx +8 -241
  151. package/src/ui/screens/SignInEmailScreen.tsx +13 -0
  152. package/src/ui/screens/SignInSecurityScreen.tsx +19 -0
@@ -0,0 +1,13 @@
1
+ import type React from 'react';
2
+ import { OxyEmailPanel } from '../components/signIn/OxyEmailPanel';
3
+ import type { BaseScreenProps } from '../types/navigation';
4
+ import { AccountSecurityPanelFrame } from './AccountSecurityPanelScreen';
5
+
6
+ /** `SignInEmail`: add, change or remove the account's email. */
7
+ const SignInEmailScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) => (
8
+ <AccountSecurityPanelFrame>
9
+ <OxyEmailPanel onDone={goBack ?? onClose} />
10
+ </AccountSecurityPanelFrame>
11
+ );
12
+
13
+ export default SignInEmailScreen;
@@ -0,0 +1,19 @@
1
+ import type React from 'react';
2
+ import { View } from 'react-native';
3
+ import { OxySignInSecurityPanel } from '../components/signIn/OxySignInSecurityPanel';
4
+ import { useI18n } from '../hooks/useI18n';
5
+ import { useSurfaceHeader } from '../hooks/useSurfaceHeader';
6
+ import type { BaseScreenProps } from '../types/navigation';
7
+
8
+ /** `SignInSecurity`: how the account signs in, and where it is signed in. */
9
+ const SignInSecurityScreen: React.FC<BaseScreenProps> = ({ navigate }) => {
10
+ const { t } = useI18n();
11
+ useSurfaceHeader({ title: t('signInSecurity.title') });
12
+ return (
13
+ <View className="px-screen-margin pb-space-24">
14
+ <OxySignInSecurityPanel onOpen={navigate ? (route) => navigate(route) : undefined} />
15
+ </View>
16
+ );
17
+ };
18
+
19
+ export default SignInSecurityScreen;