@oxy.so/services 15.1.0 → 15.1.3

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 (272) hide show
  1. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  2. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  3. package/lib/commonjs/assets/assets/fonts/icons/manifest.json +7 -13
  4. package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  5. package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  6. package/lib/commonjs/assets/fonts/icons/manifest.json +7 -13
  7. package/lib/commonjs/ui/components/OxyDeviceSignIn.js +2 -3
  8. package/lib/commonjs/ui/components/OxyDeviceSignIn.js.map +1 -1
  9. package/lib/commonjs/ui/components/QRCode.js +86 -0
  10. package/lib/commonjs/ui/components/QRCode.js.map +1 -0
  11. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +2 -2
  12. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
  13. package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js +5 -3
  14. package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
  15. package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +5 -2
  16. package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
  17. package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +5 -2
  18. package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
  19. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +2 -3
  20. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
  21. package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +2 -3
  22. package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
  23. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +2 -3
  24. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  25. package/lib/commonjs/ui/components/signIn/SessionsSection.js +5 -8
  26. package/lib/commonjs/ui/components/signIn/SessionsSection.js.map +1 -1
  27. package/lib/commonjs/ui/components/supervision/PersonPicker.js +5 -3
  28. package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
  29. package/lib/commonjs/ui/icons/subsetGlyphMaps.js +2 -8
  30. package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
  31. package/lib/commonjs/ui/illustrations/OxyEmptyState.js +33 -0
  32. package/lib/commonjs/ui/illustrations/OxyEmptyState.js.map +1 -0
  33. package/lib/commonjs/ui/illustrations/ThemedIllustration.js +91 -0
  34. package/lib/commonjs/ui/illustrations/ThemedIllustration.js.map +1 -0
  35. package/lib/commonjs/ui/illustrations/connected-apps.svg +93 -0
  36. package/lib/commonjs/ui/illustrations/connected-apps.svg.json +1 -0
  37. package/lib/commonjs/ui/illustrations/family.svg +150 -0
  38. package/lib/commonjs/ui/illustrations/family.svg.json +1 -0
  39. package/lib/commonjs/ui/illustrations/library.svg +68 -0
  40. package/lib/commonjs/ui/illustrations/library.svg.json +1 -0
  41. package/lib/commonjs/ui/illustrations/people.svg +62 -0
  42. package/lib/commonjs/ui/illustrations/people.svg.json +1 -0
  43. package/lib/commonjs/ui/illustrations/security.svg +78 -0
  44. package/lib/commonjs/ui/illustrations/security.svg.json +1 -0
  45. package/lib/commonjs/ui/illustrations/sessions.svg +74 -0
  46. package/lib/commonjs/ui/illustrations/sessions.svg.json +1 -0
  47. package/lib/commonjs/ui/screens/AccountMembersScreen.js +5 -3
  48. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
  49. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +5 -10
  50. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  51. package/lib/commonjs/ui/screens/DomainsScreen.js +5 -3
  52. package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
  53. package/lib/commonjs/ui/screens/FileManagementScreen.js +11 -34
  54. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  55. package/lib/commonjs/ui/screens/FileTrashScreen.js +4 -17
  56. package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
  57. package/lib/commonjs/ui/screens/HistoryViewScreen.js +5 -4
  58. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  59. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -2
  60. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  61. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +9 -7
  62. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  63. package/lib/commonjs/ui/screens/SupervisionScreen.js +13 -6
  64. package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
  65. package/lib/commonjs/ui/screens/UserListScreen.js +13 -22
  66. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  67. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +10 -25
  68. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
  69. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +6 -17
  70. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  71. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +7 -10
  72. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  73. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +5 -3
  74. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  75. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +5 -15
  76. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  77. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +5 -3
  78. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  79. package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  80. package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  81. package/lib/module/assets/assets/fonts/icons/manifest.json +7 -13
  82. package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  83. package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  84. package/lib/module/assets/fonts/icons/manifest.json +7 -13
  85. package/lib/module/ui/components/OxyDeviceSignIn.js +1 -1
  86. package/lib/module/ui/components/OxyDeviceSignIn.js.map +1 -1
  87. package/lib/module/ui/components/QRCode.js +79 -0
  88. package/lib/module/ui/components/QRCode.js.map +1 -0
  89. package/lib/module/ui/components/authChooser/requestSurfaces.js +1 -1
  90. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
  91. package/lib/module/ui/components/fileManagement/FileAppAccessSection.js +5 -3
  92. package/lib/module/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
  93. package/lib/module/ui/components/organizations/OrganizationClaimReview.js +5 -2
  94. package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
  95. package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +5 -2
  96. package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
  97. package/lib/module/ui/components/signIn/InlineCommonsQr.js +1 -1
  98. package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
  99. package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +1 -1
  100. package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
  101. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
  102. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  103. package/lib/module/ui/components/signIn/SessionsSection.js +5 -8
  104. package/lib/module/ui/components/signIn/SessionsSection.js.map +1 -1
  105. package/lib/module/ui/components/supervision/PersonPicker.js +5 -3
  106. package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
  107. package/lib/module/ui/icons/subsetGlyphMaps.js +2 -8
  108. package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
  109. package/lib/module/ui/illustrations/OxyEmptyState.js +28 -0
  110. package/lib/module/ui/illustrations/OxyEmptyState.js.map +1 -0
  111. package/lib/module/ui/illustrations/ThemedIllustration.js +84 -0
  112. package/lib/module/ui/illustrations/ThemedIllustration.js.map +1 -0
  113. package/lib/module/ui/illustrations/connected-apps.svg +93 -0
  114. package/lib/module/ui/illustrations/connected-apps.svg.json +1 -0
  115. package/lib/module/ui/illustrations/family.svg +150 -0
  116. package/lib/module/ui/illustrations/family.svg.json +1 -0
  117. package/lib/module/ui/illustrations/library.svg +68 -0
  118. package/lib/module/ui/illustrations/library.svg.json +1 -0
  119. package/lib/module/ui/illustrations/people.svg +62 -0
  120. package/lib/module/ui/illustrations/people.svg.json +1 -0
  121. package/lib/module/ui/illustrations/security.svg +78 -0
  122. package/lib/module/ui/illustrations/security.svg.json +1 -0
  123. package/lib/module/ui/illustrations/sessions.svg +74 -0
  124. package/lib/module/ui/illustrations/sessions.svg.json +1 -0
  125. package/lib/module/ui/screens/AccountMembersScreen.js +5 -3
  126. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
  127. package/lib/module/ui/screens/ConnectedAppsScreen.js +5 -10
  128. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  129. package/lib/module/ui/screens/DomainsScreen.js +5 -3
  130. package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
  131. package/lib/module/ui/screens/FileManagementScreen.js +11 -34
  132. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  133. package/lib/module/ui/screens/FileTrashScreen.js +4 -17
  134. package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
  135. package/lib/module/ui/screens/HistoryViewScreen.js +5 -4
  136. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  137. package/lib/module/ui/screens/PaymentGatewayScreen.js +1 -1
  138. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  139. package/lib/module/ui/screens/PrivacySettingsScreen.js +9 -7
  140. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  141. package/lib/module/ui/screens/SupervisionScreen.js +13 -6
  142. package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
  143. package/lib/module/ui/screens/UserListScreen.js +13 -22
  144. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  145. package/lib/module/ui/screens/fileManagement/FileListSection.js +10 -24
  146. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
  147. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +6 -17
  148. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  149. package/lib/module/ui/screens/trust/TrustCenterScreen.js +7 -10
  150. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  151. package/lib/module/ui/screens/trust/TrustFAQScreen.js +5 -3
  152. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  153. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +5 -15
  154. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  155. package/lib/module/ui/screens/trust/TrustRulesScreen.js +5 -3
  156. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  157. package/lib/typescript/commonjs/ui/components/QRCode.d.ts +25 -0
  158. package/lib/typescript/commonjs/ui/components/QRCode.d.ts.map +1 -0
  159. package/lib/typescript/commonjs/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
  161. package/lib/typescript/commonjs/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
  162. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +1 -1
  163. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/ui/components/signIn/SessionsSection.d.ts.map +1 -1
  165. package/lib/typescript/commonjs/ui/components/supervision/PersonPicker.d.ts.map +1 -1
  166. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
  167. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
  168. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  169. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  170. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +2 -8
  171. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  172. package/lib/typescript/commonjs/ui/illustrations/OxyEmptyState.d.ts +16 -0
  173. package/lib/typescript/commonjs/ui/illustrations/OxyEmptyState.d.ts.map +1 -0
  174. package/lib/typescript/commonjs/ui/illustrations/ThemedIllustration.d.ts +20 -0
  175. package/lib/typescript/commonjs/ui/illustrations/ThemedIllustration.d.ts.map +1 -0
  176. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
  177. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
  179. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  180. package/lib/typescript/commonjs/ui/screens/FileTrashScreen.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  182. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/ui/screens/SupervisionScreen.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  188. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  190. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  191. package/lib/typescript/module/ui/components/QRCode.d.ts +25 -0
  192. package/lib/typescript/module/ui/components/QRCode.d.ts.map +1 -0
  193. package/lib/typescript/module/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
  194. package/lib/typescript/module/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
  195. package/lib/typescript/module/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
  196. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +1 -1
  197. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  198. package/lib/typescript/module/ui/components/signIn/SessionsSection.d.ts.map +1 -1
  199. package/lib/typescript/module/ui/components/supervision/PersonPicker.d.ts.map +1 -1
  200. package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
  201. package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
  202. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  203. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  204. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +2 -8
  205. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  206. package/lib/typescript/module/ui/illustrations/OxyEmptyState.d.ts +16 -0
  207. package/lib/typescript/module/ui/illustrations/OxyEmptyState.d.ts.map +1 -0
  208. package/lib/typescript/module/ui/illustrations/ThemedIllustration.d.ts +20 -0
  209. package/lib/typescript/module/ui/illustrations/ThemedIllustration.d.ts.map +1 -0
  210. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
  211. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  212. package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
  213. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  214. package/lib/typescript/module/ui/screens/FileTrashScreen.d.ts.map +1 -1
  215. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  216. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  217. package/lib/typescript/module/ui/screens/SupervisionScreen.d.ts.map +1 -1
  218. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  219. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  220. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  221. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  222. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  223. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  224. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  225. package/package.json +18 -4
  226. package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  227. package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  228. package/src/assets/fonts/icons/manifest.json +7 -13
  229. package/src/ui/components/OxyDeviceSignIn.tsx +1 -1
  230. package/src/ui/components/QRCode.tsx +67 -0
  231. package/src/ui/components/authChooser/requestSurfaces.tsx +1 -1
  232. package/src/ui/components/fileManagement/FileAppAccessSection.tsx +6 -1
  233. package/src/ui/components/organizations/OrganizationClaimReview.tsx +8 -1
  234. package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +8 -1
  235. package/src/ui/components/payment/PaymentDetailsStep.tsx +1 -1
  236. package/src/ui/components/signIn/InlineCommonsQr.tsx +1 -1
  237. package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +1 -1
  238. package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
  239. package/src/ui/components/signIn/SessionsSection.tsx +4 -4
  240. package/src/ui/components/supervision/PersonPicker.tsx +4 -1
  241. package/src/ui/icons/subsetGlyphMaps.ts +2 -8
  242. package/src/ui/illustrations/OxyEmptyState.tsx +29 -0
  243. package/src/ui/illustrations/ThemedIllustration.tsx +74 -0
  244. package/src/ui/illustrations/__tests__/ThemedIllustration.test.ts +41 -0
  245. package/src/ui/illustrations/connected-apps.svg +93 -0
  246. package/src/ui/illustrations/connected-apps.svg.json +1 -0
  247. package/src/ui/illustrations/family.svg +150 -0
  248. package/src/ui/illustrations/family.svg.json +1 -0
  249. package/src/ui/illustrations/library.svg +68 -0
  250. package/src/ui/illustrations/library.svg.json +1 -0
  251. package/src/ui/illustrations/people.svg +62 -0
  252. package/src/ui/illustrations/people.svg.json +1 -0
  253. package/src/ui/illustrations/security.svg +78 -0
  254. package/src/ui/illustrations/security.svg.json +1 -0
  255. package/src/ui/illustrations/sessions.svg +74 -0
  256. package/src/ui/illustrations/sessions.svg.json +1 -0
  257. package/src/ui/screens/AccountMembersScreen.tsx +6 -3
  258. package/src/ui/screens/ConnectedAppsScreen.tsx +9 -7
  259. package/src/ui/screens/DomainsScreen.tsx +2 -1
  260. package/src/ui/screens/FileManagementScreen.tsx +31 -31
  261. package/src/ui/screens/FileTrashScreen.tsx +5 -9
  262. package/src/ui/screens/HistoryViewScreen.tsx +6 -1
  263. package/src/ui/screens/PaymentGatewayScreen.tsx +1 -1
  264. package/src/ui/screens/PrivacySettingsScreen.tsx +11 -6
  265. package/src/ui/screens/SupervisionScreen.tsx +8 -3
  266. package/src/ui/screens/UserListScreen.tsx +16 -22
  267. package/src/ui/screens/fileManagement/FileListSection.tsx +6 -10
  268. package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +19 -18
  269. package/src/ui/screens/trust/TrustCenterScreen.tsx +38 -36
  270. package/src/ui/screens/trust/TrustFAQScreen.tsx +9 -4
  271. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +9 -14
  272. package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -1
@@ -5,8 +5,8 @@
5
5
  "ionicons": {
6
6
  "fontFamily": "OxyServicesIonicons",
7
7
  "file": "src/assets/fonts/icons/OxyServicesIonicons.ttf",
8
- "bytes": 41864,
9
- "sha256": "ac06aec2125a5f8ed386dabd3dbc7aae3c2687594671786303c1173d24444c2f",
8
+ "bytes": 39916,
9
+ "sha256": "d1106746457ebd80c21f40a90151895a7677893cc792390a3668ff7ab8ed1472",
10
10
  "names": [
11
11
  "add",
12
12
  "add-circle-outline",
@@ -70,7 +70,6 @@
70
70
  "flame",
71
71
  "flash",
72
72
  "folder",
73
- "folder-open-outline",
74
73
  "folder-outline",
75
74
  "footsteps",
76
75
  "gift",
@@ -79,14 +78,12 @@
79
78
  "hand-left",
80
79
  "hardware-chip-outline",
81
80
  "heart",
82
- "heart-outline",
83
81
  "help-circle",
84
82
  "help-circle-outline",
85
83
  "hourglass-outline",
86
84
  "image",
87
85
  "image-outline",
88
86
  "images",
89
- "images-outline",
90
87
  "infinite",
91
88
  "information",
92
89
  "information-circle",
@@ -106,7 +103,6 @@
106
103
  "open",
107
104
  "pencil-outline",
108
105
  "people",
109
- "people-outline",
110
106
  "play",
111
107
  "pricetag-outline",
112
108
  "pulse",
@@ -138,7 +134,6 @@
138
134
  "trash",
139
135
  "trash-outline",
140
136
  "trophy",
141
- "trophy-outline",
142
137
  "videocam",
143
138
  "volume-off",
144
139
  "wallet-outline",
@@ -150,8 +145,8 @@
150
145
  "materialCommunityIcons": {
151
146
  "fontFamily": "OxyServicesMaterialCommunityIcons",
152
147
  "file": "src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf",
153
- "bytes": 28516,
154
- "sha256": "c5e7314182886fe878bce3d789010c102104bf5c92d2ecadad95d63cb3b78393",
148
+ "bytes": 28280,
149
+ "sha256": "a8fcd19b3a892f1c5a1c9d7d860468ea7645da810d638c5d1ad7e91b929568d9",
155
150
  "names": [
156
151
  "account",
157
152
  "account-circle",
@@ -243,7 +238,6 @@
243
238
  "flash",
244
239
  "folder",
245
240
  "folder-image",
246
- "folder-open-outline",
247
241
  "folder-outline",
248
242
  "folder-zip-outline",
249
243
  "forward",
@@ -254,7 +248,6 @@
254
248
  "grid",
255
249
  "group",
256
250
  "heart",
257
- "heart-outline",
258
251
  "help-circle",
259
252
  "help-circle-outline",
260
253
  "history",
@@ -300,6 +293,7 @@
300
293
  "post",
301
294
  "presentation",
302
295
  "pulse",
296
+ "qrcode",
303
297
  "radio",
304
298
  "react",
305
299
  "read",
@@ -308,6 +302,7 @@
308
302
  "rocket",
309
303
  "scale",
310
304
  "school-outline",
305
+ "security",
311
306
  "server",
312
307
  "share-outline",
313
308
  "shield",
@@ -331,7 +326,6 @@
331
326
  "trash-can-outline",
332
327
  "tray-arrow-down",
333
328
  "trophy",
334
- "trophy-outline",
335
329
  "upload",
336
330
  "video-outline",
337
331
  "volume-off",
@@ -347,5 +341,5 @@
347
341
  }
348
342
  },
349
343
  "glyphMapsFile": "src/ui/icons/subsetGlyphMaps.ts",
350
- "glyphMapsSha256": "75fe9abf0e02566d876c15fd5612284e7ab604c95f9b670df849f680f1129296"
344
+ "glyphMapsSha256": "6abc10d694f05bc13a7614f3763b45e1bde788798b9d0dae3cd9a87f18fe24f0"
351
345
  }
@@ -30,7 +30,7 @@
30
30
  import type React from 'react';
31
31
  import { useEffect } from 'react';
32
32
  import { StyleSheet, View } from 'react-native';
33
- import QRCode from 'react-native-qrcode-svg';
33
+ import { QRCode } from './QRCode';
34
34
  import { Button } from '@oxy.so/bloom/button';
35
35
  import { Code } from '@oxy.so/bloom/code';
36
36
  import { RiCheckboxCircleLine } from '@oxy.so/bloom/icons/RiCheckboxCircleLine';
@@ -0,0 +1,67 @@
1
+ import { create } from 'qrcode';
2
+ import { useMemo } from 'react';
3
+ import Svg, { G, Path, Rect } from 'react-native-svg';
4
+
5
+ export interface QRCodeProps {
6
+ /** The text the code holds. */
7
+ value: string;
8
+ /** Width and height, in points. */
9
+ size?: number;
10
+ /** The modules' colour. */
11
+ color?: string;
12
+ /** The plate behind them. */
13
+ backgroundColor?: string;
14
+ }
15
+
16
+ /**
17
+ * The QR matrix as one stroked path: a horizontal run per row of dark modules, each `cellSize` wide.
18
+ * Exactly what react-native-qrcode-svg 6.3 drew (`genMatrix` and `transformMatrixIntoPath`, MIT), at
19
+ * error correction level M on the same `qrcode` encoder, so a code is the same pixels. That package
20
+ * is not imported: its logo support links `react-native-svg/css` (css-tree, css-select, entities:
21
+ * about 200 KB of every Android bundle) whether or not a logo is drawn.
22
+ */
23
+ export function qrCodePath(value: string, size: number): { path: string; cellSize: number } {
24
+ const { modules } = create(value, { errorCorrectionLevel: 'M' });
25
+ const count = modules.size;
26
+ const cellSize = size / count;
27
+ let path = '';
28
+ for (let i = 0; i < count; i++) {
29
+ const y = cellSize / 2 + cellSize * i;
30
+ let drawing = false;
31
+ for (let j = 0; j < count; j++) {
32
+ if (modules.get(i, j)) {
33
+ if (!drawing) {
34
+ path += `M${cellSize * j} ${y} `;
35
+ drawing = true;
36
+ }
37
+ if (j === count - 1) path += `L${cellSize * (j + 1)} ${y} `;
38
+ } else if (drawing) {
39
+ path += `L${cellSize * j} ${y} `;
40
+ drawing = false;
41
+ }
42
+ }
43
+ }
44
+ return { path, cellSize };
45
+ }
46
+
47
+ /** A QR code drawn with react-native-svg, on its plate. */
48
+ export function QRCode({
49
+ value,
50
+ size = 100,
51
+ color = 'black',
52
+ backgroundColor = 'white',
53
+ }: QRCodeProps) {
54
+ const { path, cellSize } = useMemo(() => qrCodePath(value, size), [value, size]);
55
+ return (
56
+ <Svg viewBox={`0 0 ${size} ${size}`} width={size} height={size}>
57
+ <G>
58
+ <Rect x={0} y={0} width={size} height={size} fill={backgroundColor} />
59
+ </G>
60
+ <G>
61
+ <Path d={path} strokeLinecap="butt" stroke={color} strokeWidth={cellSize} />
62
+ </G>
63
+ </Svg>
64
+ );
65
+ }
66
+
67
+ export default QRCode;
@@ -15,7 +15,7 @@
15
15
  import type React from 'react';
16
16
  import { View } from 'react-native';
17
17
  import MaterialCommunityIcons from '../../icons/MaterialCommunityIcons';
18
- import QRCode from 'react-native-qrcode-svg';
18
+ import { QRCode } from '../QRCode';
19
19
  import { Button } from '@oxy.so/bloom/button';
20
20
  import { Loading } from '@oxy.so/bloom/loading';
21
21
  import { Text } from '@oxy.so/bloom/typography';
@@ -1,3 +1,4 @@
1
+ import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
1
2
  import type React from 'react';
2
3
  import { useCallback, useState } from 'react';
3
4
  import { ActivityIndicator, View } from 'react-native';
@@ -73,7 +74,11 @@ export const FileAppAccessSection: React.FC<FileAppAccessSectionProps> = ({ file
73
74
  ) : isError ? (
74
75
  <Text style={styles.mutedText2}>{t('fileManagement.appAccess.loadError')}</Text>
75
76
  ) : !apps || apps.length === 0 ? (
76
- <Text style={styles.mutedText2}>{t('fileManagement.appAccess.empty')}</Text>
77
+ <OxyEmptyState
78
+ art="library"
79
+ variant="compact"
80
+ title={t('fileManagement.appAccess.empty')}
81
+ />
77
82
  ) : (
78
83
  <GroupedSection>
79
84
  {apps.map((app) => (
@@ -1,3 +1,4 @@
1
+ import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
1
2
  import { useState } from 'react';
2
3
  import { ActivityIndicator, View, StyleSheet } from 'react-native';
3
4
  import { skip, useAction, useEntity, useList, useStore, withStore } from '@oxy.so/bloom-data';
@@ -71,7 +72,13 @@ function ReviewQueue() {
71
72
  return <ReviewDetail claimId={selected} key={selected} onClose={() => setSelected(null)} />;
72
73
  return (
73
74
  <View style={styles.stack}>
74
- {requests.ids.length === 0 ? <Text>{t('organizationDirectory.review.empty')}</Text> : null}
75
+ {requests.ids.length === 0 ? (
76
+ <OxyEmptyState
77
+ art="people"
78
+ variant="compact"
79
+ title={t('organizationDirectory.review.empty')}
80
+ />
81
+ ) : null}
75
82
  {requests.ids.map((id) => (
76
83
  <ReviewRow
77
84
  key={id}
@@ -1,3 +1,4 @@
1
+ import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
1
2
  import {
2
3
  useCallback,
3
4
  useEffect,
@@ -317,7 +318,13 @@ function OrganizationDirectorySearchContent({
317
318
  onSelect={() => setSelected(withStore(store, () => Organization.get(id)) ?? null)}
318
319
  />
319
320
  ))}
320
- {results.ids.length === 0 ? <Text>{t('organizationDirectory.empty')}</Text> : null}
321
+ {results.ids.length === 0 ? (
322
+ <OxyEmptyState
323
+ art="people"
324
+ variant="compact"
325
+ title={t('organizationDirectory.empty')}
326
+ />
327
+ ) : null}
321
328
  {results.hasMore ? (
322
329
  <Button onPress={() => results.more()} disabled={results.isFetching}>
323
330
  {t('organizationDirectory.loadMore')}
@@ -23,7 +23,7 @@ interface PaymentDetailsStepProps {
23
23
  qrSize: number;
24
24
  onBack: () => void;
25
25
  onNext: () => void;
26
- QRCodeComponent?: React.ComponentType<{ value?: string; size?: number }>;
26
+ QRCodeComponent?: React.ComponentType<{ value: string; size?: number }>;
27
27
  }
28
28
 
29
29
  const PaymentDetailsStep: React.FC<PaymentDetailsStepProps> = ({
@@ -16,7 +16,7 @@
16
16
  import type React from 'react';
17
17
  import { useEffect, useState } from 'react';
18
18
  import { StyleSheet, View } from 'react-native';
19
- import QRCode from 'react-native-qrcode-svg';
19
+ import { QRCode } from '../QRCode';
20
20
  import { Button } from '@oxy.so/bloom/button';
21
21
  import { RiCheckboxCircleLine } from '@oxy.so/bloom/icons/RiCheckboxCircleLine';
22
22
  import { RiRefreshLine } from '@oxy.so/bloom/icons/RiRefreshLine';
@@ -14,7 +14,7 @@
14
14
  import type React from 'react';
15
15
  import { useState } from 'react';
16
16
  import { StyleSheet, View } from 'react-native';
17
- import QRCode from 'react-native-qrcode-svg';
17
+ import { QRCode } from '../QRCode';
18
18
  import { CodeBlock } from '@oxy.so/bloom/code';
19
19
  import { useTheme } from '@oxy.so/bloom/theme';
20
20
  import { toast } from '@oxy.so/bloom/toast';
@@ -15,7 +15,7 @@
15
15
  import type React from 'react';
16
16
  import { useCallback, useEffect, useRef, useState } from 'react';
17
17
  import { StyleSheet, View } from 'react-native';
18
- import QRCode from 'react-native-qrcode-svg';
18
+ import { QRCode } from '../QRCode';
19
19
  import { Button } from '@oxy.so/bloom/button';
20
20
  import { Loading } from '@oxy.so/bloom/loading';
21
21
  import { useTheme } from '@oxy.so/bloom/theme';
@@ -1,3 +1,4 @@
1
+ import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
1
2
  /**
2
3
  * "Where you're signed in": the signed-in account's sessions on every device,
3
4
  * from the server (`oxy.devices.sessions`). Removing one ends that session;
@@ -159,11 +160,10 @@ export const SessionsSection: React.FC = () => {
159
160
  disabled
160
161
  />
161
162
  ) : deviceIds.length === 0 ? (
162
- <GroupedSectionItem
163
- icon={<SettingsIcon name="cellphone" color={bloomTheme.colors.textTertiary} />}
163
+ <OxyEmptyState
164
+ art="sessions"
165
+ variant="compact"
164
166
  title={t('manageAccount.sessions.empty') || 'No active sessions'}
165
- showChevron={false}
166
- disabled
167
167
  />
168
168
  ) : (
169
169
  deviceIds.map((id) => (
@@ -1,3 +1,4 @@
1
+ import { OxyEmptyState } from '../../illustrations/OxyEmptyState';
1
2
  import { useState } from 'react';
2
3
  import { View } from 'react-native';
3
4
  import { skip } from '@oxy.so/bloom-data';
@@ -59,7 +60,9 @@ export function PersonPicker({
59
60
  </Button>
60
61
  ))
61
62
  )}
62
- {results.value?.items.length === 0 ? <Text>{t('supervision.noPeople')}</Text> : null}
63
+ {results.value?.items.length === 0 ? (
64
+ <OxyEmptyState art="family" variant="compact" title={t('supervision.noPeople')} />
65
+ ) : null}
63
66
  </View>
64
67
  );
65
68
  }
@@ -61,7 +61,6 @@ export const ioniconsGlyphMap = {
61
61
  "flame": 62227,
62
62
  "flash": 62230,
63
63
  "folder": 62245,
64
- "folder-open-outline": 62247,
65
64
  "folder-outline": 62249,
66
65
  "footsteps": 62254,
67
66
  "gift": 62263,
@@ -70,14 +69,12 @@ export const ioniconsGlyphMap = {
70
69
  "hand-left": 62299,
71
70
  "hardware-chip-outline": 62309,
72
71
  "heart": 62314,
73
- "heart-outline": 62327,
74
72
  "help-circle": 62333,
75
73
  "help-circle-outline": 62334,
76
74
  "hourglass-outline": 62342,
77
75
  "image": 62350,
78
76
  "image-outline": 62351,
79
77
  "images": 62353,
80
- "images-outline": 62354,
81
78
  "infinite": 62356,
82
79
  "information": 62359,
83
80
  "information-circle": 62360,
@@ -97,7 +94,6 @@ export const ioniconsGlyphMap = {
97
94
  "open": 62599,
98
95
  "pencil-outline": 62621,
99
96
  "people": 62623,
100
- "people-outline": 62627,
101
97
  "play": 62662,
102
98
  "pricetag-outline": 62699,
103
99
  "pulse": 62710,
@@ -129,7 +125,6 @@ export const ioniconsGlyphMap = {
129
125
  "trash": 62962,
130
126
  "trash-outline": 62966,
131
127
  "trophy": 62977,
132
- "trophy-outline": 62978,
133
128
  "videocam": 62989,
134
129
  "volume-off": 63007,
135
130
  "wallet-outline": 63014,
@@ -229,7 +224,6 @@ export const materialCommunityIconsGlyphMap = {
229
224
  "flash": 983617,
230
225
  "folder": 983627,
231
226
  "folder-image": 983631,
232
- "folder-open-outline": 986575,
233
227
  "folder-outline": 983638,
234
228
  "folder-zip-outline": 985017,
235
229
  "forward": 983693,
@@ -240,7 +234,6 @@ export const materialCommunityIconsGlyphMap = {
240
234
  "grid": 983745,
241
235
  "group": 983747,
242
236
  "heart": 983761,
243
- "heart-outline": 983765,
244
237
  "help-circle": 983767,
245
238
  "help-circle-outline": 984613,
246
239
  "history": 983770,
@@ -286,6 +279,7 @@ export const materialCommunityIconsGlyphMap = {
286
279
  "post": 987144,
287
280
  "presentation": 984104,
288
281
  "pulse": 984112,
282
+ "qrcode": 984114,
289
283
  "radio": 984121,
290
284
  "react": 984840,
291
285
  "read": 984135,
@@ -294,6 +288,7 @@ export const materialCommunityIconsGlyphMap = {
294
288
  "rocket": 984163,
295
289
  "scale": 984178,
296
290
  "school-outline": 987520,
291
+ "security": 984195,
297
292
  "server": 984203,
298
293
  "share-outline": 985394,
299
294
  "shield": 984216,
@@ -317,7 +312,6 @@ export const materialCommunityIconsGlyphMap = {
317
312
  "trash-can-outline": 985722,
318
313
  "tray-arrow-down": 983328,
319
314
  "trophy": 984376,
320
- "trophy-outline": 984378,
321
315
  "upload": 984402,
322
316
  "video-outline": 986076,
323
317
  "volume-off": 984449,
@@ -0,0 +1,29 @@
1
+ import { EmptyState, type EmptyStateProps } from '@oxy.so/bloom/empty-state';
2
+ import { IllustrationSlot, lazyIllustration } from './ThemedIllustration';
3
+
4
+ const pictures = {
5
+ library: lazyIllustration(() => import('./library.svg.json')),
6
+ people: lazyIllustration(() => import('./people.svg.json')),
7
+ security: lazyIllustration(() => import('./security.svg.json')),
8
+ family: lazyIllustration(() => import('./family.svg.json')),
9
+ sessions: lazyIllustration(() => import('./sessions.svg.json')),
10
+ connected: lazyIllustration(() => import('./connected-apps.svg.json')),
11
+ };
12
+
13
+ export type OxyIllustrationName = keyof typeof pictures;
14
+
15
+ export interface OxyEmptyStateProps extends Omit<EmptyStateProps, 'illustration'> {
16
+ art?: OxyIllustrationName;
17
+ }
18
+
19
+ export function OxyEmptyState({ art = 'library', variant, ...props }: OxyEmptyStateProps) {
20
+ return (
21
+ <EmptyState
22
+ {...props}
23
+ variant={variant}
24
+ illustration={
25
+ <IllustrationSlot art={pictures[art]} size={variant === 'compact' ? 76 : 120} />
26
+ }
27
+ />
28
+ );
29
+ }
@@ -0,0 +1,74 @@
1
+ import { parseRgb, useTheme } from '@oxy.so/bloom/theme';
2
+ import { lazy, Suspense, useMemo, type ComponentType } from 'react';
3
+ import { View } from 'react-native';
4
+ import { SvgXml } from 'react-native-svg';
5
+
6
+ type PaintRole = 'surface' | 'vivid' | 'secondary';
7
+ type Paint = Record<PaintRole, string>;
8
+
9
+ export interface IllustrationProps {
10
+ size: number;
11
+ }
12
+
13
+ const paintAttributes =
14
+ /fill="(#[0-9a-fA-F]{6})" data-bloom-role="(surface|vivid|secondary)" data-bloom-strength="([0-9]{1,3})"/g;
15
+
16
+ /** Resolve just the annotated SVG fills. Unmarked paths retain their own colors. */
17
+ export function paintIllustration(svg: string, paint: Paint): string {
18
+ const palette = {
19
+ surface: parseRgb(paint.surface),
20
+ vivid: parseRgb(paint.vivid),
21
+ secondary: parseRgb(paint.secondary),
22
+ };
23
+
24
+ return svg.replace(
25
+ paintAttributes,
26
+ (_match, original: string, role: PaintRole, strength: string) => {
27
+ const base = parseRgb(original);
28
+ const tint = palette[role];
29
+ if (!base || !tint) return `fill="${original}"`;
30
+
31
+ const weight = Number(strength) / 100;
32
+ const red = Math.round(base.r * (1 - weight) + tint.r * weight);
33
+ const green = Math.round(base.g * (1 - weight) + tint.g * weight);
34
+ const blue = Math.round(base.b * (1 - weight) + tint.b * weight);
35
+ return `fill="rgb(${red},${green},${blue})"`;
36
+ },
37
+ );
38
+ }
39
+
40
+ export function ThemedIllustration({ svg, size }: IllustrationProps & { svg: string }) {
41
+ const { colors } = useTheme();
42
+ // Older Bloom versions expose the same surface and brand roles as primaryLight and tint.
43
+ const surface = colors.primaryLight;
44
+ const vivid = 'vivid' in colors && typeof colors.vivid === 'string' ? colors.vivid : colors.tint;
45
+ const secondary = colors.secondary;
46
+ const xml = useMemo(
47
+ () => paintIllustration(svg, { surface, vivid, secondary }),
48
+ [svg, surface, vivid, secondary],
49
+ );
50
+
51
+ return <SvgXml xml={xml} width={size} height={size} aria-hidden />;
52
+ }
53
+
54
+ /** Keep vector geometry off the initial web chunk and reserve the illustration slot while it loads. */
55
+ export function lazyIllustration(load: () => Promise<{ default: string } | string>) {
56
+ return lazy(async () => {
57
+ const module = await load();
58
+ const svg = typeof module === 'string' ? module : module.default;
59
+ return {
60
+ default: ({ size }: IllustrationProps) => <ThemedIllustration svg={svg} size={size} />,
61
+ };
62
+ });
63
+ }
64
+
65
+ export function IllustrationSlot({
66
+ art: Picture,
67
+ size,
68
+ }: IllustrationProps & { art: ComponentType<IllustrationProps> }) {
69
+ return (
70
+ <Suspense fallback={<View aria-hidden style={{ width: size, height: size }} />}>
71
+ <Picture size={size} />
72
+ </Suspense>
73
+ );
74
+ }
@@ -0,0 +1,41 @@
1
+ import { paintIllustration } from '../ThemedIllustration';
2
+
3
+ jest.mock('react-native-svg', () => ({ SvgXml: 'SvgXml' }));
4
+ jest.mock('@oxy.so/bloom/theme', () => {
5
+ const { dirname, join } = jest.requireActual('node:path');
6
+ const bloom = dirname(require.resolve('@oxy.so/bloom/package.json'));
7
+ return jest.requireActual(join(bloom, 'lib/commonjs/theme/color-utils.js'));
8
+ });
9
+
10
+ it('blends only marked fills with the active Bloom palette', () => {
11
+ const svg =
12
+ '<svg><path fill="#204060" data-bloom-role="surface" data-bloom-strength="50"/><path fill="#204060"/><path fill="#112233" data-bloom-role="vivid" data-bloom-strength="100"/></svg>';
13
+
14
+ expect(
15
+ paintIllustration(svg, {
16
+ surface: 'rgb(224 224 224)',
17
+ vivid: '#e0a4f5',
18
+ secondary: '#005500',
19
+ }),
20
+ ).toBe(
21
+ '<svg><path fill="rgb(128,144,160)"/><path fill="#204060"/><path fill="rgb(224,164,245)"/></svg>',
22
+ );
23
+
24
+ expect(
25
+ paintIllustration(svg, {
26
+ surface: 'rgb(32 32 32)',
27
+ vivid: '#c970e0',
28
+ secondary: '#00aa00',
29
+ }),
30
+ ).toBe(
31
+ '<svg><path fill="rgb(32,48,64)"/><path fill="#204060"/><path fill="rgb(201,112,224)"/></svg>',
32
+ );
33
+ });
34
+
35
+ it('retains the asset fill when Bloom supplies a color the SVG parser cannot read', () => {
36
+ const svg =
37
+ '<svg><path fill="#8899aa" data-bloom-role="secondary" data-bloom-strength="60"/></svg>';
38
+ expect(paintIllustration(svg, { surface: '', vivid: '', secondary: 'transparent' })).toBe(
39
+ '<svg><path fill="#8899aa"/></svg>',
40
+ );
41
+ });