@oxyhq/services 10.2.9 → 10.2.11

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 (186) hide show
  1. package/lib/commonjs/ui/components/ActingAsBanner.js +2 -1
  2. package/lib/commonjs/ui/components/ActingAsBanner.js.map +1 -1
  3. package/lib/commonjs/ui/components/StepBasedScreen.js +19 -10
  4. package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
  5. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +38 -122
  6. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
  7. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +9 -7
  8. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  9. package/lib/commonjs/ui/hooks/useDeviceAccounts.js +20 -25
  10. package/lib/commonjs/ui/hooks/useDeviceAccounts.js.map +1 -1
  11. package/lib/commonjs/ui/hooks/useProfileEditing.js +19 -10
  12. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
  13. package/lib/commonjs/ui/screens/AppInfoScreen.js +1 -2
  14. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  15. package/lib/commonjs/ui/screens/AvatarCropScreen.js +52 -4
  16. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
  17. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +1 -2
  18. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  19. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +11 -13
  20. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  21. package/lib/commonjs/ui/screens/FeedbackScreen.js +2 -3
  22. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  23. package/lib/commonjs/ui/screens/HelpSupportScreen.js +2 -2
  24. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  25. package/lib/commonjs/ui/screens/HistoryViewScreen.js +2 -2
  26. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  27. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +2 -3
  28. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  29. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +2 -2
  30. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  31. package/lib/commonjs/ui/screens/ManageAccountScreen.js +1 -2
  32. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  33. package/lib/commonjs/ui/screens/NotificationsScreen.js +2 -2
  34. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
  35. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -2
  36. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  37. package/lib/commonjs/ui/screens/PreferencesScreen.js +2 -2
  38. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
  39. package/lib/commonjs/ui/screens/ProfileScreen.js +4 -3
  40. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  41. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +3 -4
  42. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  43. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +2 -2
  44. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  45. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +2 -2
  46. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  47. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +2 -2
  48. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  49. package/lib/commonjs/ui/stores/authStore.js.map +1 -1
  50. package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
  51. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
  52. package/lib/module/ui/components/ActingAsBanner.js +2 -1
  53. package/lib/module/ui/components/ActingAsBanner.js.map +1 -1
  54. package/lib/module/ui/components/StepBasedScreen.js +19 -10
  55. package/lib/module/ui/components/StepBasedScreen.js.map +1 -1
  56. package/lib/module/ui/context/hooks/useAuthOperations.js +38 -122
  57. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  58. package/lib/module/ui/hooks/mutations/useAccountMutations.js +9 -7
  59. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  60. package/lib/module/ui/hooks/useDeviceAccounts.js +20 -25
  61. package/lib/module/ui/hooks/useDeviceAccounts.js.map +1 -1
  62. package/lib/module/ui/hooks/useProfileEditing.js +19 -10
  63. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
  64. package/lib/module/ui/screens/AppInfoScreen.js +1 -1
  65. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  66. package/lib/module/ui/screens/AvatarCropScreen.js +52 -4
  67. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
  68. package/lib/module/ui/screens/ConnectedAppsScreen.js +1 -1
  69. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  70. package/lib/module/ui/screens/EditProfileFieldScreen.js +10 -11
  71. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  72. package/lib/module/ui/screens/FeedbackScreen.js +1 -1
  73. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  74. package/lib/module/ui/screens/HelpSupportScreen.js +1 -1
  75. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  76. package/lib/module/ui/screens/HistoryViewScreen.js +1 -1
  77. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  78. package/lib/module/ui/screens/LanguageSelectorScreen.js +1 -1
  79. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  80. package/lib/module/ui/screens/LegalDocumentsScreen.js +1 -1
  81. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  82. package/lib/module/ui/screens/ManageAccountScreen.js +1 -1
  83. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  84. package/lib/module/ui/screens/NotificationsScreen.js +1 -1
  85. package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
  86. package/lib/module/ui/screens/PaymentGatewayScreen.js +1 -1
  87. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  88. package/lib/module/ui/screens/PreferencesScreen.js +1 -1
  89. package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
  90. package/lib/module/ui/screens/ProfileScreen.js +5 -4
  91. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  92. package/lib/module/ui/screens/SavesCollectionsScreen.js +2 -3
  93. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  94. package/lib/module/ui/screens/trust/TrustCenterScreen.js +1 -1
  95. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  96. package/lib/module/ui/screens/trust/TrustFAQScreen.js +1 -1
  97. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  98. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +1 -1
  99. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  100. package/lib/module/ui/stores/authStore.js.map +1 -1
  101. package/lib/module/ui/utils/avatarUtils.js +1 -1
  102. package/lib/module/ui/utils/avatarUtils.js.map +1 -1
  103. package/lib/typescript/commonjs/ui/components/ActingAsBanner.d.ts.map +1 -1
  104. package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts +5 -3
  105. package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +1 -1
  106. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +1 -1
  107. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  108. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +52 -6
  109. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  110. package/lib/typescript/commonjs/ui/hooks/useDeviceAccounts.d.ts.map +1 -1
  111. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +22 -18
  112. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -1
  113. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  114. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  115. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  116. package/lib/typescript/commonjs/ui/stores/authStore.d.ts +2 -10
  117. package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +1 -1
  118. package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -1
  119. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
  120. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +2 -1
  121. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -1
  122. package/lib/typescript/module/ui/components/ActingAsBanner.d.ts.map +1 -1
  123. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts +5 -3
  124. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -1
  125. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +1 -1
  126. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  127. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +52 -6
  128. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  129. package/lib/typescript/module/ui/hooks/useDeviceAccounts.d.ts.map +1 -1
  130. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +22 -18
  131. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -1
  132. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  133. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  134. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  135. package/lib/typescript/module/ui/stores/authStore.d.ts +2 -10
  136. package/lib/typescript/module/ui/stores/authStore.d.ts.map +1 -1
  137. package/lib/typescript/module/ui/types/navigation.d.ts +0 -1
  138. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  139. package/lib/typescript/module/ui/utils/avatarUtils.d.ts +2 -1
  140. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -1
  141. package/package.json +3 -2
  142. package/src/ui/components/ActingAsBanner.tsx +2 -4
  143. package/src/ui/components/StepBasedScreen.tsx +37 -22
  144. package/src/ui/context/hooks/useAuthOperations.ts +51 -144
  145. package/src/ui/hooks/mutations/useAccountMutations.ts +9 -8
  146. package/src/ui/hooks/useDeviceAccounts.ts +20 -24
  147. package/src/ui/hooks/useProfileEditing.ts +43 -30
  148. package/src/ui/screens/AppInfoScreen.tsx +1 -1
  149. package/src/ui/screens/AvatarCropScreen.tsx +67 -4
  150. package/src/ui/screens/ConnectedAppsScreen.tsx +1 -1
  151. package/src/ui/screens/EditProfileFieldScreen.tsx +24 -14
  152. package/src/ui/screens/FeedbackScreen.tsx +1 -1
  153. package/src/ui/screens/HelpSupportScreen.tsx +1 -1
  154. package/src/ui/screens/HistoryViewScreen.tsx +1 -1
  155. package/src/ui/screens/LanguageSelectorScreen.tsx +1 -1
  156. package/src/ui/screens/LegalDocumentsScreen.tsx +1 -1
  157. package/src/ui/screens/ManageAccountScreen.tsx +1 -1
  158. package/src/ui/screens/NotificationsScreen.tsx +1 -1
  159. package/src/ui/screens/PaymentGatewayScreen.tsx +1 -1
  160. package/src/ui/screens/PreferencesScreen.tsx +1 -1
  161. package/src/ui/screens/ProfileScreen.tsx +4 -4
  162. package/src/ui/screens/SavesCollectionsScreen.tsx +3 -6
  163. package/src/ui/screens/trust/TrustCenterScreen.tsx +1 -1
  164. package/src/ui/screens/trust/TrustFAQScreen.tsx +1 -1
  165. package/src/ui/screens/trust/TrustRewardsScreen.tsx +1 -1
  166. package/src/ui/stores/authStore.ts +4 -13
  167. package/src/ui/types/navigation.ts +0 -4
  168. package/src/ui/utils/avatarUtils.ts +3 -2
  169. package/lib/commonjs/ui/styles/spacing.js +0 -68
  170. package/lib/commonjs/ui/styles/spacing.js.map +0 -1
  171. package/lib/commonjs/ui/utils/themeUtils.js +0 -37
  172. package/lib/commonjs/ui/utils/themeUtils.js.map +0 -1
  173. package/lib/module/ui/styles/spacing.js +0 -16
  174. package/lib/module/ui/styles/spacing.js.map +0 -1
  175. package/lib/module/ui/utils/themeUtils.js +0 -13
  176. package/lib/module/ui/utils/themeUtils.js.map +0 -1
  177. package/lib/typescript/commonjs/ui/styles/spacing.d.ts +0 -13
  178. package/lib/typescript/commonjs/ui/styles/spacing.d.ts.map +0 -1
  179. package/lib/typescript/commonjs/ui/utils/themeUtils.d.ts +0 -11
  180. package/lib/typescript/commonjs/ui/utils/themeUtils.d.ts.map +0 -1
  181. package/lib/typescript/module/ui/styles/spacing.d.ts +0 -13
  182. package/lib/typescript/module/ui/styles/spacing.d.ts.map +0 -1
  183. package/lib/typescript/module/ui/utils/themeUtils.d.ts +0 -11
  184. package/lib/typescript/module/ui/utils/themeUtils.d.ts.map +0 -1
  185. package/src/ui/styles/spacing.ts +0 -22
  186. package/src/ui/utils/themeUtils.ts +0 -18
@@ -1,22 +0,0 @@
1
- /**
2
- * Shared spacing constants for authentication screens
3
- * These values ensure consistent vertical spacing across all step components
4
- * All gaps between elements (illustration, title, description, textfield, buttons, etc.) use this value
5
- */
6
- export const STEP_GAP = 12; // Vertical gap between ALL elements (illustration, title, description, textfield, buttons, etc.) - must be consistent everywhere
7
- export const STEP_INNER_GAP = 12; // Gap within sections (headers, cards, etc.) - must match STEP_GAP for uniformity
8
-
9
- /**
10
- * Re-export screen spacing constants from constants/spacing.ts
11
- * This allows importing all spacing constants from a single location
12
- */
13
- export {
14
- SCREEN_PADDING_HORIZONTAL,
15
- SCREEN_PADDING_VERTICAL,
16
- SECTION_GAP,
17
- SECTION_GAP_LARGE,
18
- COMPONENT_GAP,
19
- COMPONENT_GAP_SMALL,
20
- HEADER_PADDING_TOP_OVERVIEW,
21
- HEADER_PADDING_TOP_SETTINGS,
22
- } from '../constants/spacing';
@@ -1,18 +0,0 @@
1
- /**
2
- * Theme Utility Functions
3
- *
4
- * Re-exports from shared module for cleaner internal imports.
5
- * External consumers should use '@oxyhq/services/shared' directly.
6
- *
7
- * @module ui/utils/themeUtils
8
- */
9
-
10
- export {
11
- normalizeTheme,
12
- normalizeColorScheme,
13
- getOppositeTheme,
14
- systemPrefersDarkMode,
15
- getSystemColorScheme,
16
- } from '@oxyhq/core';
17
-
18
- export type { ThemeValue } from '@oxyhq/core';