@oxy.so/services 9.1.0 → 10.0.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 (236) hide show
  1. package/lib/commonjs/index.js +4 -3
  2. package/lib/commonjs/index.js.map +1 -1
  3. package/lib/commonjs/ui/client.js +174 -0
  4. package/lib/commonjs/ui/client.js.map +1 -1
  5. package/lib/commonjs/ui/components/BenefitList.js +1 -1
  6. package/lib/commonjs/ui/components/BenefitList.js.map +1 -1
  7. package/lib/commonjs/ui/components/FollowButton.js +2 -2
  8. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  9. package/lib/commonjs/ui/components/FollowTargetButton.js +13 -103
  10. package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
  11. package/lib/commonjs/ui/components/PeableButton.js +1 -2
  12. package/lib/commonjs/ui/components/PeableButton.js.map +1 -1
  13. package/lib/commonjs/ui/components/SurfaceHeaderAction.js +1 -1
  14. package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -1
  15. package/lib/commonjs/ui/components/SurfaceScreen.js +1 -1
  16. package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
  17. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +1 -1
  18. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  19. package/lib/commonjs/ui/components/authChooser/primitives.js +1 -1
  20. package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -1
  21. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +1 -1
  22. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
  23. package/lib/commonjs/ui/components/followRules.js +105 -0
  24. package/lib/commonjs/ui/components/followRules.js.map +1 -0
  25. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +2 -2
  26. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  27. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +2 -2
  28. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  29. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +2 -2
  30. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
  31. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +1 -1
  32. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  33. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +2 -2
  34. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  35. package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js +1 -1
  36. package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -1
  37. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
  38. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  39. package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +2 -2
  40. package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
  41. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +2 -1
  42. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
  43. package/lib/commonjs/ui/screens/AccountMembersScreen.js +4 -4
  44. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
  45. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +1 -1
  46. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  47. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +1 -1
  48. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  49. package/lib/commonjs/ui/screens/DomainsScreen.js +1 -1
  50. package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
  51. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +4 -2
  52. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  53. package/lib/commonjs/ui/screens/FileManagementScreen.js +5 -5
  54. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  55. package/lib/commonjs/ui/screens/HistoryViewScreen.js +1 -1
  56. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  57. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +1 -1
  58. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  59. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +1 -1
  60. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  61. package/lib/commonjs/ui/screens/NotificationsScreen.js +8 -8
  62. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
  63. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +1 -1
  64. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  65. package/lib/commonjs/ui/screens/PreferencesScreen.js +2 -2
  66. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
  67. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +37 -37
  68. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  69. package/lib/commonjs/ui/screens/ProfileScreen.js +1 -1
  70. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  71. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +5 -5
  72. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  73. package/lib/commonjs/ui/screens/UserListScreen.js +1 -1
  74. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  75. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +11 -11
  76. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  77. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +1 -1
  78. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
  79. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +1 -1
  80. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  81. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +1 -1
  82. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  83. package/lib/module/index.js +3 -2
  84. package/lib/module/index.js.map +1 -1
  85. package/lib/module/ui/client.js +17 -4
  86. package/lib/module/ui/client.js.map +1 -1
  87. package/lib/module/ui/components/BenefitList.js +1 -1
  88. package/lib/module/ui/components/BenefitList.js.map +1 -1
  89. package/lib/module/ui/components/FollowButton.js +2 -2
  90. package/lib/module/ui/components/FollowButton.js.map +1 -1
  91. package/lib/module/ui/components/FollowTargetButton.js +3 -91
  92. package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
  93. package/lib/module/ui/components/PeableButton.js +2 -3
  94. package/lib/module/ui/components/PeableButton.js.map +1 -1
  95. package/lib/module/ui/components/SurfaceHeaderAction.js +1 -1
  96. package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -1
  97. package/lib/module/ui/components/SurfaceScreen.js +1 -1
  98. package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
  99. package/lib/module/ui/components/authChooser/AccountsMenuView.js +1 -1
  100. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  101. package/lib/module/ui/components/authChooser/primitives.js +1 -1
  102. package/lib/module/ui/components/authChooser/primitives.js.map +1 -1
  103. package/lib/module/ui/components/authChooser/requestSurfaces.js +1 -1
  104. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
  105. package/lib/module/ui/components/followRules.js +99 -0
  106. package/lib/module/ui/components/followRules.js.map +1 -0
  107. package/lib/module/ui/components/payment/PaymentDetailsStep.js +2 -2
  108. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  109. package/lib/module/ui/components/payment/PaymentMethodStep.js +2 -2
  110. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  111. package/lib/module/ui/components/payment/PaymentReviewStep.js +2 -2
  112. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
  113. package/lib/module/ui/components/payment/PaymentSuccessStep.js +1 -1
  114. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  115. package/lib/module/ui/components/payment/PaymentSummaryStep.js +2 -2
  116. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  117. package/lib/module/ui/components/signIn/OxyAuthScreen.js +1 -1
  118. package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -1
  119. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
  120. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  121. package/lib/module/ui/components/signIn/OxyPasswordPanel.js +2 -2
  122. package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
  123. package/lib/module/ui/components/surfaces/ActionSheetSurface.js +2 -1
  124. package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
  125. package/lib/module/ui/screens/AccountMembersScreen.js +4 -4
  126. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
  127. package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
  128. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  129. package/lib/module/ui/screens/ConnectedAppsScreen.js +1 -1
  130. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  131. package/lib/module/ui/screens/DomainsScreen.js +1 -1
  132. package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
  133. package/lib/module/ui/screens/EditProfileFieldScreen.js +4 -2
  134. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  135. package/lib/module/ui/screens/FileManagementScreen.js +5 -5
  136. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  137. package/lib/module/ui/screens/HistoryViewScreen.js +1 -1
  138. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  139. package/lib/module/ui/screens/LanguageSelectorScreen.js +1 -1
  140. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  141. package/lib/module/ui/screens/LegalDocumentsScreen.js +1 -1
  142. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  143. package/lib/module/ui/screens/NotificationsScreen.js +8 -8
  144. package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
  145. package/lib/module/ui/screens/PaymentGatewayScreen.js +1 -1
  146. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  147. package/lib/module/ui/screens/PreferencesScreen.js +2 -2
  148. package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
  149. package/lib/module/ui/screens/PrivacySettingsScreen.js +37 -37
  150. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  151. package/lib/module/ui/screens/ProfileScreen.js +1 -1
  152. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  153. package/lib/module/ui/screens/SearchSettingsScreen.js +5 -5
  154. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  155. package/lib/module/ui/screens/UserListScreen.js +1 -1
  156. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  157. package/lib/module/ui/screens/WelcomeNewUserScreen.js +11 -11
  158. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  159. package/lib/module/ui/screens/fileManagement/UploadBar.js +1 -1
  160. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
  161. package/lib/module/ui/screens/trust/TrustCenterScreen.js +1 -1
  162. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  163. package/lib/module/ui/screens/trust/TrustRulesScreen.js +1 -1
  164. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  165. package/lib/typescript/commonjs/index.d.ts +4 -2
  166. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  167. package/lib/typescript/commonjs/ui/client.d.ts +19 -4
  168. package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
  169. package/lib/typescript/commonjs/ui/components/BenefitList.d.ts.map +1 -1
  170. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +1 -1
  171. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  172. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +3 -63
  173. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/ui/components/PeableButton.d.ts.map +1 -1
  175. package/lib/typescript/commonjs/ui/components/followRules.d.ts +71 -0
  176. package/lib/typescript/commonjs/ui/components/followRules.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  179. package/lib/typescript/module/index.d.ts +4 -2
  180. package/lib/typescript/module/index.d.ts.map +1 -1
  181. package/lib/typescript/module/ui/client.d.ts +19 -4
  182. package/lib/typescript/module/ui/client.d.ts.map +1 -1
  183. package/lib/typescript/module/ui/components/BenefitList.d.ts.map +1 -1
  184. package/lib/typescript/module/ui/components/FollowButton.d.ts +1 -1
  185. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  186. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +3 -63
  187. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
  188. package/lib/typescript/module/ui/components/PeableButton.d.ts.map +1 -1
  189. package/lib/typescript/module/ui/components/followRules.d.ts +71 -0
  190. package/lib/typescript/module/ui/components/followRules.d.ts.map +1 -0
  191. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
  192. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  193. package/package.json +5 -5
  194. package/src/index.ts +3 -3
  195. package/src/ui/client.ts +55 -4
  196. package/src/ui/components/BenefitList.tsx +1 -2
  197. package/src/ui/components/FollowButton.tsx +3 -3
  198. package/src/ui/components/FollowTargetButton.tsx +11 -115
  199. package/src/ui/components/PeableButton.tsx +3 -4
  200. package/src/ui/components/SurfaceHeaderAction.tsx +1 -1
  201. package/src/ui/components/SurfaceScreen.tsx +1 -1
  202. package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +9 -0
  203. package/src/ui/components/__tests__/followTargetButton.test.ts +1 -1
  204. package/src/ui/components/authChooser/AccountsMenuView.tsx +1 -1
  205. package/src/ui/components/authChooser/primitives.tsx +1 -1
  206. package/src/ui/components/authChooser/requestSurfaces.tsx +1 -1
  207. package/src/ui/components/followRules.ts +121 -0
  208. package/src/ui/components/payment/PaymentDetailsStep.tsx +2 -2
  209. package/src/ui/components/payment/PaymentMethodStep.tsx +2 -2
  210. package/src/ui/components/payment/PaymentReviewStep.tsx +2 -2
  211. package/src/ui/components/payment/PaymentSuccessStep.tsx +1 -1
  212. package/src/ui/components/payment/PaymentSummaryStep.tsx +2 -2
  213. package/src/ui/components/signIn/OxyAuthScreen.tsx +1 -1
  214. package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
  215. package/src/ui/components/signIn/OxyPasswordPanel.tsx +1 -1
  216. package/src/ui/components/surfaces/ActionSheetSurface.tsx +2 -1
  217. package/src/ui/screens/AccountMembersScreen.tsx +4 -4
  218. package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
  219. package/src/ui/screens/ConnectedAppsScreen.tsx +1 -1
  220. package/src/ui/screens/DomainsScreen.tsx +1 -1
  221. package/src/ui/screens/EditProfileFieldScreen.tsx +1 -2
  222. package/src/ui/screens/FileManagementScreen.tsx +5 -5
  223. package/src/ui/screens/HistoryViewScreen.tsx +1 -1
  224. package/src/ui/screens/LanguageSelectorScreen.tsx +1 -1
  225. package/src/ui/screens/LegalDocumentsScreen.tsx +1 -1
  226. package/src/ui/screens/NotificationsScreen.tsx +8 -8
  227. package/src/ui/screens/PaymentGatewayScreen.tsx +1 -1
  228. package/src/ui/screens/PreferencesScreen.tsx +2 -2
  229. package/src/ui/screens/PrivacySettingsScreen.tsx +21 -21
  230. package/src/ui/screens/ProfileScreen.tsx +1 -1
  231. package/src/ui/screens/SearchSettingsScreen.tsx +5 -5
  232. package/src/ui/screens/UserListScreen.tsx +1 -1
  233. package/src/ui/screens/WelcomeNewUserScreen.tsx +11 -11
  234. package/src/ui/screens/fileManagement/UploadBar.tsx +1 -1
  235. package/src/ui/screens/trust/TrustCenterScreen.tsx +1 -1
  236. package/src/ui/screens/trust/TrustRulesScreen.tsx +1 -1
@@ -78,8 +78,10 @@ export type { RequireOxyAuthProps, RequireOxyAuthPrompt } from './ui/components/
78
78
  export type { AccountQueriesConfig } from './ui/hooks/accountQueryPersistence.js';
79
79
  export { default as FollowButton } from './ui/components/FollowButton.js';
80
80
  export type { FollowButtonProps, SingleFollowButtonProps, MultiFollowButtonProps } from './ui/components/FollowButton.js';
81
- export { FollowTargetButton, buildFollowMenuItems, resolveFollowPrimaryAction, FOLLOW_ACTION_LEAVES_ACTIVE, } from './ui/components/FollowTargetButton.js';
82
- export type { FollowTargetButtonProps, FollowVerb, FollowLabels, FollowDuration, } from './ui/components/FollowTargetButton.js';
81
+ export { FollowTargetButton } from './ui/components/FollowTargetButton.js';
82
+ export { buildFollowMenuItems, resolveFollowPrimaryAction, FOLLOW_ACTION_LEAVES_ACTIVE, } from './ui/components/followRules.js';
83
+ export type { FollowDuration, FollowMenuItem } from './ui/components/followRules.js';
84
+ export type { FollowTargetButtonProps, FollowVerb, FollowLabels, } from './ui/components/FollowTargetButton.js';
83
85
  export { useFollowTarget } from './ui/hooks/useFollowTarget.js';
84
86
  export type { UseFollowTargetResult } from './ui/hooks/useFollowTarget.js';
85
87
  export { useFollowTargetStore, UNKNOWN_FOLLOW_STATUS, isFollowedGlobally, withApplicationMode, isCompleteFollowStatus, followRecordToStatus, followRecordsToStatusMap, } from './ui/stores/followTargetStore.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAYH,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gCAA6B,CAAC;AACrE,OAAO,EAAE,M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,sCAAmC,CAAC;AAQhF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAA8B,CAAC;AACjE,YAAY,EAAE,uBAAuB,EAAE,MAAM,iCAA8B,CAAC;AAU5E,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,uCAAoC,CAAC;AACvF,YAAY,EAAE,SAAS,EAAE,MAAM,2BAAwB,CAAC;AAKxD,OAAO,EAAE,gBAAgB,EAAE,KAAK,oBAAoB,EAAE,MAAM,gCAA6B,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,wCAAqC,CAAC;AAMzG,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,yCAAsC,CAAC"}
@@ -1,8 +1,13 @@
1
1
  /**
2
- * Client-only UI exports (tree-shakeable)
2
+ * Client-only UI exports — the lean entry.
3
3
  *
4
- * Import from this module for client-side bundles where tree-shaking is important.
5
- * These are direct exports without runtime detection overhead.
4
+ * Import from this module in an app's startup path. The root barrel also
5
+ * re-exports the sign-in panels (`OxySignInPanel`, `OxyLinkCommonsPanel` and
6
+ * its QR code, `OxyConsentScreen`, …) for apps that embed them, and Metro does
7
+ * not tree-shake, so importing ANY symbol from `@oxy.so/services` ships all of
8
+ * them — even though the account dialog that normally shows them is loaded on
9
+ * demand. Nothing exported here reaches those panels; the packaging test
10
+ * `clientEntryIsolation` pins it.
6
11
  *
7
12
  * @example
8
13
  * import { OxyProvider, useOxy, LogoIcon } from '@oxy.so/services/ui/client';
@@ -14,6 +19,8 @@ export type { OxyAuthPromptProps } from './components/OxyAuthPrompt.js';
14
19
  export { LogoIcon } from './components/logo/LogoIcon.js';
15
20
  export { LogoText } from './components/logo/LogoText.js';
16
21
  export { default as FollowButton } from './components/FollowButton.js';
22
+ export { default as ProfileButton } from './components/ProfileButton.js';
23
+ export type { ProfileButtonProps } from './components/ProfileButton.js';
17
24
  export { default as PeableButton } from './components/PeableButton.js';
18
25
  export type { PeableButtonProps } from './components/PeableButton.js';
19
26
  /** @deprecated Use `PeableButton` instead. */
@@ -25,9 +32,17 @@ export { useAuth } from './hooks/useAuth.js';
25
32
  export type { AuthState, AuthActions, SignInOutcome, UseAuthReturn } from './hooks/useAuth.js';
26
33
  export { createDeferredProductAnalytics } from './analytics/productAnalytics.js';
27
34
  export type { OxyProductEvent, ProductAnalytics } from './analytics/productAnalytics.js';
28
- export { useFollow } from './hooks/useFollow.js';
35
+ export { useFollow, useFollowerCounts, useSeedFollowStatuses } from './hooks/useFollow.js';
36
+ export { useFollowTarget } from './hooks/useFollowTarget.js';
37
+ export type { UseFollowTargetResult } from './hooks/useFollowTarget.js';
38
+ export { useUserProfile, useUserProfiles, useCurrentUser, useUserById, useUserByUsername, } from './hooks/queries/useAccountQueries.js';
29
39
  export { useStorage } from './hooks/useStorage.js';
30
40
  export type { UseStorageOptions, UseStorageResult } from './hooks/useStorage.js';
41
+ export { buildFollowMenuItems, resolveFollowPrimaryAction, FOLLOW_ACTION_LEAVES_ACTIVE, } from './components/followRules.js';
42
+ export type { FollowDuration, FollowMenuItem } from './components/followRules.js';
43
+ export { queryKeys, invalidateAccountQueries, invalidateUserQueries, invalidateSessionQueries, invalidateDeviceQueries, invalidatePrivacyQueries, invalidateSecurityQueries, invalidateStorageQueries, invalidatePaymentsQueries, invalidateConnectedAppsQueries, invalidateAuthMethodsQueries, } from './hooks/queries/queryKeys.js';
44
+ export { upsertCachedUser, upsertCachedUsers, CLEARABLE_USER_FIELDS, clearedFieldsFromProfileUpdate, clearedFieldsFromAccountUpdate, } from './hooks/queries/userCache.js';
45
+ export type { CacheableUser, ClearableUserField, UpsertCachedUserOptions, } from './hooks/queries/userCache.js';
31
46
  export { useAuthStore } from './stores/authStore.js';
32
47
  export { handleAuthError, isInvalidSessionError, isTimeoutOrNetworkError, extractErrorMessage, } from './utils/errorHandlers.js';
33
48
  export type { HandleAuthErrorOptions } from './utils/errorHandlers.js';
@@ -1 +1 @@
1
- {"version":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AqB,EACrB,uBAAuB,EACvB,mBAAmB,GACtB,MAAM,0BAAuB,CAAC;AAC/B,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitList.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/BenefitList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAkBpF,MAAM,WAAW,eAAe;IAC5B,4EAA4E;IAC5E,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oEAAoE;IACpE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkDhD,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC7B,oEAAoE;IACpE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAiBlD,CAAC"}
1
+ {"version":3,"file":"BenefitList.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/BenefitList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAkBpF,MAAM,WAAW,eAAe;IAC5B,4EAA4E;IAC5E,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oEAAoE;IACpE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkDhD,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC7B,oEAAoE;IACpE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAgBlD,CAAC"}
@@ -3,7 +3,7 @@ import type { ViewStyle, TextStyle, StyleProp } from 'react-native';
3
3
  import type { BulkFollowResult, BulkUnfollowResult } from '@oxy.so/core';
4
4
  /** Props shared by both single- and multi-user follow modes. */
5
5
  interface FollowButtonBaseProps {
6
- size?: 'small' | 'medium' | 'large';
6
+ size?: 'sm' | 'md' | 'lg';
7
7
  style?: StyleProp<ViewStyle>;
8
8
  textStyle?: StyleProp<TextStyle>;
9
9
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"FollowButton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qF;AACrF,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAClD,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACtD,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,sBAAsB,CAAC;AAkNjF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiD7C,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,eAAe,YAAY,CAAC"}
@@ -30,8 +30,9 @@
30
30
  * `/v2/follows`. When it is, that component is deleted and this one takes the
31
31
  * name — not aliased, not deprecated in place.
32
32
  */
33
- import type { FollowApplicationMode, FollowStatus } from '@oxy.so/contracts';
33
+ import type { FollowStatus } from '@oxy.so/contracts';
34
34
  import type { StyleProp, ViewStyle } from 'react-native';
35
+ import { type FollowDuration } from './followRules.js';
35
36
  /**
36
37
  * The small vocabulary of verbs the ecosystem actually uses. An application
37
38
  * whose verb is not here passes `labels` instead — the escape hatch exists so
@@ -48,74 +49,13 @@ export interface FollowLabels {
48
49
  /** Following globally, but switched off in this application. */
49
50
  disabled: string;
50
51
  }
51
- /** A timed-follow choice offered in the menu. */
52
- export interface FollowDuration {
53
- label: string;
54
- seconds: number;
55
- }
56
- /**
57
- * Whether an action leaves the target ACTIVE in this application.
58
- *
59
- * One table, read by both the primary button and the menu, because the same
60
- * action reached from two controls once reported differently — and a rule
61
- * living in two switch statements is a rule that drifts. `Record` rather than
62
- * a function with a default, so a new action is a compile error instead of a
63
- * silent `false`.
64
- */
65
- export declare const FOLLOW_ACTION_LEAVES_ACTIVE: Record<'follow' | 'follow-timed' | 'enable-here' | 'disable-here' | 'unfollow', boolean>;
66
- /** One line in the disclosure menu. */
67
- export interface FollowMenuItem {
68
- key: string;
69
- label: string;
70
- /** What the component should call. Named so the table below stays pure. */
71
- action: {
72
- type: 'follow-timed';
73
- seconds: number;
74
- durationLabel: string;
75
- } | {
76
- type: 'enable-here';
77
- } | {
78
- type: 'disable-here';
79
- } | {
80
- type: 'unfollow';
81
- };
82
- }
83
- /**
84
- * Which choices exist, given the state.
85
- *
86
- * Pure and exported because this is the product decision, not a rendering
87
- * detail: a timed follow is only offered before following, turning it off here
88
- * is only offered while following, and NEITHER is offered before the server has
89
- * answered — every one of them addresses a relationship that does not exist
90
- * yet, so offering them mid-write would mean sending a guessed id.
91
- */
92
- /**
93
- * What the main button should do for the current state.
94
- *
95
- * Exported because the product rule is not obvious from the label alone: a
96
- * follow switched off here still reads as "following" globally, so the primary
97
- * press must re-enable here — not unfollow everywhere.
98
- */
99
- export declare function resolveFollowPrimaryAction(input: {
100
- isFollowing: boolean;
101
- applicationMode: FollowApplicationMode;
102
- }): 'follow' | 'unfollow' | 'enable-here';
103
- export declare function buildFollowMenuItems(input: {
104
- following: boolean;
105
- applicationMode: FollowApplicationMode;
106
- hasRelationship: boolean;
107
- isPending: boolean;
108
- durations: FollowDuration[] | false;
109
- idleVerb: string;
110
- applicationName: string;
111
- }): FollowMenuItem[];
112
52
  export interface FollowTargetButtonProps {
113
53
  /** The registered target's id. Registration is separate — see the SDK. */
114
54
  targetId: string;
115
55
  verb?: FollowVerb;
116
56
  /** Full override, for a verb the vocabulary above does not carry. */
117
57
  labels?: Partial<FollowLabels>;
118
- size?: 'small' | 'medium' | 'large';
58
+ size?: 'sm' | 'md' | 'lg';
119
59
  style?: StyleProp<ViewStyle>;
120
60
  disabled?: boolean;
121
61
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"FollowTargetButton.d.ts","sourceRoot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,"file":"PeableButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/PeableButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,oCAAiC,CAAC;AAGzF,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4B7C,CAAC;AAcF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"PeableButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/PeableButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,oCAAiC,CAAC;AAGzF,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA2B7C,CAAC;AAcF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,71 @@
1
+ /**
2
+ * The follow button's product rules, without the button.
3
+ *
4
+ * Pure: no React, no Bloom. `FollowTargetButton` renders them, and an
5
+ * application drawing its own affordance (a chip grid, a compact row) imports
6
+ * them from here — through `@oxy.so/services/ui/client` — without paying for the
7
+ * button's dropdown menu.
8
+ */
9
+ import type { FollowApplicationMode } from '@oxy.so/contracts';
10
+ /** A timed-follow choice offered in the menu. */
11
+ export interface FollowDuration {
12
+ label: string;
13
+ seconds: number;
14
+ }
15
+ /**
16
+ * Whether an action leaves the target ACTIVE in this application.
17
+ *
18
+ * One table, read by both the primary button and the menu, because the same
19
+ * action reached from two controls once reported differently — and a rule
20
+ * living in two switch statements is a rule that drifts. `Record` rather than
21
+ * a function with a default, so a new action is a compile error instead of a
22
+ * silent `false`.
23
+ */
24
+ export declare const FOLLOW_ACTION_LEAVES_ACTIVE: Record<'follow' | 'follow-timed' | 'enable-here' | 'disable-here' | 'unfollow', boolean>;
25
+ /** One line in the disclosure menu. */
26
+ export interface FollowMenuItem {
27
+ key: string;
28
+ label: string;
29
+ /** What the component should call. Named so the table below stays pure. */
30
+ action: {
31
+ type: 'follow-timed';
32
+ seconds: number;
33
+ durationLabel: string;
34
+ } | {
35
+ type: 'enable-here';
36
+ } | {
37
+ type: 'disable-here';
38
+ } | {
39
+ type: 'unfollow';
40
+ };
41
+ }
42
+ /**
43
+ * Which choices exist, given the state.
44
+ *
45
+ * Pure and exported because this is the product decision, not a rendering
46
+ * detail: a timed follow is only offered before following, turning it off here
47
+ * is only offered while following, and NEITHER is offered before the server has
48
+ * answered — every one of them addresses a relationship that does not exist
49
+ * yet, so offering them mid-write would mean sending a guessed id.
50
+ */
51
+ /**
52
+ * What the main button should do for the current state.
53
+ *
54
+ * Exported because the product rule is not obvious from the label alone: a
55
+ * follow switched off here still reads as "following" globally, so the primary
56
+ * press must re-enable here — not unfollow everywhere.
57
+ */
58
+ export declare function resolveFollowPrimaryAction(input: {
59
+ isFollowing: boolean;
60
+ applicationMode: FollowApplicationMode;
61
+ }): 'follow' | 'unfollow' | 'enable-here';
62
+ export declare function buildFollowMenuItems(input: {
63
+ following: boolean;
64
+ applicationMode: FollowApplicationMode;
65
+ hasRelationship: boolean;
66
+ isPending: boolean;
67
+ durations: FollowDuration[] | false;
68
+ idleVerb: string;
69
+ applicationName: string;
70
+ }): FollowMenuItem[];
71
+ //# sourceMappingURL=followRules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"followRules.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/followRules.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,iDAAiD;AACjD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAC9C,QAAQ,GAAG,cAAc,GAAG,aAAa,GAAG,cAAc,GAAG,UAAU,EACvE,OAAO,CAUR,CAAC;AAEF,uCAAuC;AACvC,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,MAAM,EACF;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,GAChE;QAAE,IAAI,EAAE,aAAa,CAAA;KAAE,GACvB;QAAE,IAAI,EAAE,cAAc,CAAA;KAAE,GACxB;QAAE,IAAI,EAAE,UAAU,CAAA;KAAE,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE;IAChD,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,qBAAqB,CAAC;CACxC,GAAG,QAAQ,GAAG,UAAU,GAAG,aAAa,CAIxC;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAC1C,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,qBAAqB,CAAC;IACvC,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;CACzB,GAAG,cAAc,EAAE,CAmCnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetSurface.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/surfaces/ActionSheetSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAExE;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,MAAM;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,MAAM;IACrD,mEAAmE;IACnE,OAAO,EAAE,eAAe,CAAC;IACzB,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;CACvB;AAKD;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EAAE,EACjD,OAAO,EACP,KAAK,EACL,OAAO,EACP,OAAO,EACP,WAAW,GACd,EAAE,uBAAuB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAuCjD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EAC/C,OAAO,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GACrD,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAIxB"}
1
+ {"version":3,"file":"ActionSheetSurface.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/surfaces/ActionSheetSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAExE;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,MAAM;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,MAAM;IACrD,mEAAmE;IACnE,OAAO,EAAE,eAAe,CAAC;IACzB,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;CACvB;AAKD;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EAAE,EACjD,OAAO,EACP,KAAK,EACL,OAAO,EACP,OAAO,EACP,WAAW,GACd,EAAE,uBAAuB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAwCjD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EAC/C,OAAO,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GACrD,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAIxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"EditProfileFieldScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/EditProfileFieldScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAStE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AA0B3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACtB,aAAa,GACb,UAAU,GACV,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,CAAC;AAgFd,UAAU,2BAA4B,SAAQ,eAAe;IACzD,6BAA6B;IAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC;;AAqoBD,wBAAkD"}
1
+ {"version":3,"file":"EditProfileFieldScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/EditProfileFieldScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAStE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AA0B3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACtB,aAAa,GACb,UAAU,GACV,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,CAAC;AAgFd,UAAU,2BAA4B,SAAQ,eAAe;IACzD,6BAA6B;IAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC;;AAooBD,wBAAkD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxy.so/services",
3
- "version": "9.1.0",
3
+ "version": "10.0.0",
4
4
  "description": "OxyHQ Expo/React Native SDK — UI components, screens, and native features",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -155,7 +155,7 @@
155
155
  },
156
156
  "dependencies": {
157
157
  "@expo/config-plugins": "57.0.9",
158
- "@oxy.so/contracts": "^4.1.0",
158
+ "@oxy.so/contracts": "^4.3.0",
159
159
  "color": "^4.2.3"
160
160
  },
161
161
  "devDependencies": {
@@ -178,7 +178,7 @@
178
178
  "@types/jest": "^30.0.0",
179
179
  "@types/node": "^20.19.43",
180
180
  "@types/react": "*",
181
- "@oxy.so/bloom": "^5.1.0",
181
+ "@oxy.so/bloom": "^6.0.0",
182
182
  "copyfiles": "^2.4.1",
183
183
  "expo-clipboard": "~57.0.2",
184
184
  "expo-constants": "~57.0.5",
@@ -212,10 +212,10 @@
212
212
  "typescript": "^5.9.2",
213
213
  "zustand": "^5.0.14"
214
214
  },
215
- "//@oxy.so/bloom": "RE-RAISE THIS FLOOR ON EVERY BREAKING BLOOM RELEASE, in the same commit as the root package.json catalog entry and the code that requires it. The breaking position is the MAJOR, so `^3.0.1` means `>=3.0.1 <4.0.0`: 3.x minors are admitted on semver's additive promise, and Bloom 4.0.0 is refused until someone raises this deliberately. The CAP is the part that is load-bearing. An earlier revision of this key recorded the opposite trade -- an uncapped `>=` floor, accepted so that intentionally-breaking Bloom 0.x minors would not be blocked -- and that trade is closed by evidence rather than by preference: an unbounded range is exactly what let `bun install` pair this package with Bloom 1.0.0 and emit no warning at all, and 1.0.0 broke it four ways (a deleted provider, a renamed confirm option, a renamed Chip fill, and two REMOVED SUBPATHS that fail at bundle time, before any typecheck runs). A floor is a claim about what was measured; a cap is the claim that nothing beyond it was. RAISED TO 3.0.1 from `^2.1.0`. Bloom 3.0.0 breaks exactly two things -- `PageHeader` defaults to `presentation=\"floating\"` and stops hiding the title under `transparent`, and `Field disabled` now reaches the control that reads the field context -- and THIS PACKAGE IMPORTS NEITHER: it renders no `PageHeader` and no `Field`, and 3.0 removes no subpath (unlike 2.0.0, which is why that floor cost code changes and this one does not). Its six `transparent` occurrences are CSS colour values, not the PageHeader prop. The cap had to move rather than widen to a union, because leaving `^2.1.0` in place is what made `bun install` resolve a SECOND, nested Bloom 2.12.4 under this package for any app on Bloom 3 -- two copies of a library whose 3.0 contracts (`control-surface`, `TopEdgeProvider`, `ScrollOffsetProvider`) are React contexts, so a provider from one copy cannot be read by a consumer from the other. Mention's `oxyRuntimeCompatibility` test is what caught it; nothing in a typecheck can. RAISED AGAIN TO 3.2.0 from `^3.0.1`, for the same class of reason the 2.x note records, only in the other direction: 3.2.0 ADDS the per-glyph icon subpaths (`@oxy.so/bloom/icons/RiAtLine`) that this package's screens now import instead of the `@oxy.so/bloom/icons` barrel, and a missing subpath fails at bundle time, in the consumer's Metro, long after this package has typechecked and shipped. `^3.0.1` would have admitted Bloom 3.0.1 and 3.1.0, neither of which has those subpaths, so the floor is the only thing standing between a consumer and a red build. Nothing else about 3.1.0 or 3.2.0 is required here; the cap stays at the major. RAISED TO ^4.2.0: FollowButton now delegates its visuals to Bloom media-header FollowButton with loading, textStyle and large size; the new shared UI contracts require one Bloom4 context across Services and its consumer. RAISED TO ^4.31.0: the sign-in and account screens type one-time codes into `InputOtp` with `type=\"alphanumeric\"` (the long sign-in code and backup codes), which 4.31.0 adds; older 4.x drops the letters. RAISED TO ^4.35.0: every password field passes `revealable` to `TextFieldInput` (the eye button, 4.35.0); older 4.x drops the prop silently and the password cannot be shown. The provider also mounts `@oxy.so/bloom/locale` (4.32.0+). RAISED TO ^5.1.0 (services 9.0.0, a major because consumers must move to Bloom 5 with it): Bloom 5.0.0 types `Card`'s `style` without radius, border width or `overflow` (geometry goes through `radius`/`border`/`clipContent`) and stops clipping a Card's children by default, so `BenefitList`'s `overflow: 'visible'` became both a type error and unnecessary; it is removed. The cap MOVES rather than widening to a `^4 || ^5` union, for the reason the 3.0.1 note records: a union lets an app resolve a second, nested Bloom copy and split the React contexts. The floor is 5.1.0 because that is the version measured here (every package builds and tests against it); 5.0.0 was not measured.",
215
+ "//@oxy.so/bloom": "Bloom peer tracks the measured major: ^6.0.0 includes canonical appearance/tone/size props and shared Surface. Keep its upper bound and the root catalog in sync to prevent duplicate context instances. Services 10 removes FollowButton small/medium/large aliases in favor of sm/md/lg.",
216
216
  "peerDependencies": {
217
217
  "@expo/vector-icons": "^15.0.3",
218
- "@oxy.so/bloom": "^5.1.0",
218
+ "@oxy.so/bloom": "^6.0.0",
219
219
  "@oxy.so/core": "^3.2.0",
220
220
  "@react-native-async-storage/async-storage": "^2.0.0",
221
221
  "@react-native-community/netinfo": ">=11.4.1",
package/src/index.ts CHANGED
@@ -312,8 +312,8 @@ export type { AccountQueriesConfig } from './ui/hooks/accountQueryPersistence';
312
312
  export { default as FollowButton } from './ui/components/FollowButton';
313
313
  export type { FollowButtonProps, SingleFollowButtonProps, MultiFollowButtonProps } from './ui/components/FollowButton';
314
314
  // The follow graph (#809): follows anything registered, not just users.
315
+ export { FollowTargetButton } from './ui/components/FollowTargetButton';
315
316
  export {
316
- FollowTargetButton,
317
317
  // The product rules the button encodes, for an application drawing its own
318
318
  // affordance instead of using it — a chip grid, a compact row control.
319
319
  // Unexported, they get duplicated, and the duplicate is where the "off here"
@@ -322,12 +322,12 @@ export {
322
322
  buildFollowMenuItems,
323
323
  resolveFollowPrimaryAction,
324
324
  FOLLOW_ACTION_LEAVES_ACTIVE,
325
- } from './ui/components/FollowTargetButton';
325
+ } from './ui/components/followRules';
326
+ export type { FollowDuration, FollowMenuItem } from './ui/components/followRules';
326
327
  export type {
327
328
  FollowTargetButtonProps,
328
329
  FollowVerb,
329
330
  FollowLabels,
330
- FollowDuration,
331
331
  } from './ui/components/FollowTargetButton';
332
332
  export { useFollowTarget } from './ui/hooks/useFollowTarget';
333
333
  export type { UseFollowTargetResult } from './ui/hooks/useFollowTarget';
package/src/ui/client.ts CHANGED
@@ -1,8 +1,13 @@
1
1
  /**
2
- * Client-only UI exports (tree-shakeable)
2
+ * Client-only UI exports — the lean entry.
3
3
  *
4
- * Import from this module for client-side bundles where tree-shaking is important.
5
- * These are direct exports without runtime detection overhead.
4
+ * Import from this module in an app's startup path. The root barrel also
5
+ * re-exports the sign-in panels (`OxySignInPanel`, `OxyLinkCommonsPanel` and
6
+ * its QR code, `OxyConsentScreen`, …) for apps that embed them, and Metro does
7
+ * not tree-shake, so importing ANY symbol from `@oxy.so/services` ships all of
8
+ * them — even though the account dialog that normally shows them is loaded on
9
+ * demand. Nothing exported here reaches those panels; the packaging test
10
+ * `clientEntryIsolation` pins it.
6
11
  *
7
12
  * @example
8
13
  * import { OxyProvider, useOxy, LogoIcon } from '@oxy.so/services/ui/client';
@@ -16,6 +21,8 @@ export type { OxyAuthPromptProps } from './components/OxyAuthPrompt';
16
21
  export { LogoIcon } from './components/logo/LogoIcon';
17
22
  export { LogoText } from './components/logo/LogoText';
18
23
  export { default as FollowButton } from './components/FollowButton';
24
+ export { default as ProfileButton } from './components/ProfileButton';
25
+ export type { ProfileButtonProps } from './components/ProfileButton';
19
26
  export { default as PeableButton } from './components/PeableButton';
20
27
  export type { PeableButtonProps } from './components/PeableButton';
21
28
  /** @deprecated Use `PeableButton` instead. */
@@ -31,13 +38,57 @@ export { useAuth } from './hooks/useAuth';
31
38
  export type { AuthState, AuthActions, SignInOutcome, UseAuthReturn } from './hooks/useAuth';
32
39
  export { createDeferredProductAnalytics } from './analytics/productAnalytics';
33
40
  export type { OxyProductEvent, ProductAnalytics } from './analytics/productAnalytics';
34
- export { useFollow } from './hooks/useFollow';
41
+ export { useFollow, useFollowerCounts, useSeedFollowStatuses } from './hooks/useFollow';
42
+ export { useFollowTarget } from './hooks/useFollowTarget';
43
+ export type { UseFollowTargetResult } from './hooks/useFollowTarget';
44
+ export {
45
+ useUserProfile,
46
+ useUserProfiles,
47
+ useCurrentUser,
48
+ useUserById,
49
+ useUserByUsername,
50
+ } from './hooks/queries/useAccountQueries';
35
51
  export { useStorage } from './hooks/useStorage';
36
52
  export type { UseStorageOptions, UseStorageResult } from './hooks/useStorage';
37
53
 
38
54
  // Route screens live at `@oxy.so/services/screens` so client imports preserve
39
55
  // the route registry's lazy chunk boundaries.
40
56
 
57
+ // Follow rules, for an app drawing its own follow affordance
58
+ export {
59
+ buildFollowMenuItems,
60
+ resolveFollowPrimaryAction,
61
+ FOLLOW_ACTION_LEAVES_ACTIVE,
62
+ } from './components/followRules';
63
+ export type { FollowDuration, FollowMenuItem } from './components/followRules';
64
+
65
+ // Query keys, cache invalidation and the canonical user-cache upsert
66
+ export {
67
+ queryKeys,
68
+ invalidateAccountQueries,
69
+ invalidateUserQueries,
70
+ invalidateSessionQueries,
71
+ invalidateDeviceQueries,
72
+ invalidatePrivacyQueries,
73
+ invalidateSecurityQueries,
74
+ invalidateStorageQueries,
75
+ invalidatePaymentsQueries,
76
+ invalidateConnectedAppsQueries,
77
+ invalidateAuthMethodsQueries,
78
+ } from './hooks/queries/queryKeys';
79
+ export {
80
+ upsertCachedUser,
81
+ upsertCachedUsers,
82
+ CLEARABLE_USER_FIELDS,
83
+ clearedFieldsFromProfileUpdate,
84
+ clearedFieldsFromAccountUpdate,
85
+ } from './hooks/queries/userCache';
86
+ export type {
87
+ CacheableUser,
88
+ ClearableUserField,
89
+ UpsertCachedUserOptions,
90
+ } from './hooks/queries/userCache';
91
+
41
92
  // Stores
42
93
  export { useAuthStore } from './stores/authStore';
43
94
 
@@ -98,13 +98,12 @@ export const BenefitList: React.FC<BenefitListProps> = ({
98
98
  style,
99
99
  }) => (
100
100
  <Card
101
- variant="outlined"
102
101
  radius="radius-20"
103
102
  border="hairline"
104
103
  elevation="s"
105
104
  className={className}
106
105
  style={[{ padding: SPACING['space-16'], gap: SPACING['space-16'] }, style]}
107
- accessibilityLabel={accessibilityLabel}
106
+ accessibilityLabel={accessibilityLabel} appearance="outline"
108
107
  >
109
108
  {children}
110
109
  </Card>
@@ -19,7 +19,7 @@ const DEFAULT_FOLLOWED_ALL_LABEL = 'Following';
19
19
 
20
20
  /** Props shared by both single- and multi-user follow modes. */
21
21
  interface FollowButtonBaseProps {
22
- size?: 'small' | 'medium' | 'large';
22
+ size?: 'sm' | 'md' | 'lg';
23
23
  style?: StyleProp<ViewStyle>;
24
24
  textStyle?: StyleProp<TextStyle>;
25
25
  disabled?: boolean;
@@ -67,7 +67,7 @@ const FollowButtonInner = memo(function FollowButtonInner({
67
67
  oxyServices,
68
68
  initiallyFollowing,
69
69
  username,
70
- size = 'medium',
70
+ size = 'md',
71
71
  onFollowChange,
72
72
  style,
73
73
  textStyle,
@@ -140,7 +140,7 @@ const FollowButtonInner = memo(function FollowButtonInner({
140
140
  const FollowButtonMultiInner = memo(function FollowButtonMultiInner({
141
141
  userIds,
142
142
  initiallyAllFollowing = false,
143
- size = 'medium',
143
+ size = 'md',
144
144
  followAllLabel = DEFAULT_FOLLOW_ALL_LABEL,
145
145
  followedAllLabel = DEFAULT_FOLLOWED_ALL_LABEL,
146
146
  onFollowChange,