@oxy.so/services 15.1.1 → 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 (228) 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 +6 -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 +6 -13
  7. package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js +5 -3
  8. package/lib/commonjs/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
  9. package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +5 -2
  10. package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
  11. package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +5 -2
  12. package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
  13. package/lib/commonjs/ui/components/signIn/SessionsSection.js +5 -8
  14. package/lib/commonjs/ui/components/signIn/SessionsSection.js.map +1 -1
  15. package/lib/commonjs/ui/components/supervision/PersonPicker.js +5 -3
  16. package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
  17. package/lib/commonjs/ui/icons/subsetGlyphMaps.js +1 -8
  18. package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
  19. package/lib/commonjs/ui/illustrations/OxyEmptyState.js +33 -0
  20. package/lib/commonjs/ui/illustrations/OxyEmptyState.js.map +1 -0
  21. package/lib/commonjs/ui/illustrations/ThemedIllustration.js +91 -0
  22. package/lib/commonjs/ui/illustrations/ThemedIllustration.js.map +1 -0
  23. package/lib/commonjs/ui/illustrations/connected-apps.svg +93 -0
  24. package/lib/commonjs/ui/illustrations/connected-apps.svg.json +1 -0
  25. package/lib/commonjs/ui/illustrations/family.svg +150 -0
  26. package/lib/commonjs/ui/illustrations/family.svg.json +1 -0
  27. package/lib/commonjs/ui/illustrations/library.svg +68 -0
  28. package/lib/commonjs/ui/illustrations/library.svg.json +1 -0
  29. package/lib/commonjs/ui/illustrations/people.svg +62 -0
  30. package/lib/commonjs/ui/illustrations/people.svg.json +1 -0
  31. package/lib/commonjs/ui/illustrations/security.svg +78 -0
  32. package/lib/commonjs/ui/illustrations/security.svg.json +1 -0
  33. package/lib/commonjs/ui/illustrations/sessions.svg +74 -0
  34. package/lib/commonjs/ui/illustrations/sessions.svg.json +1 -0
  35. package/lib/commonjs/ui/screens/AccountMembersScreen.js +5 -3
  36. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
  37. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +5 -10
  38. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  39. package/lib/commonjs/ui/screens/DomainsScreen.js +5 -3
  40. package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
  41. package/lib/commonjs/ui/screens/FileManagementScreen.js +11 -34
  42. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  43. package/lib/commonjs/ui/screens/FileTrashScreen.js +4 -17
  44. package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
  45. package/lib/commonjs/ui/screens/HistoryViewScreen.js +5 -4
  46. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  47. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +9 -7
  48. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  49. package/lib/commonjs/ui/screens/SupervisionScreen.js +13 -6
  50. package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
  51. package/lib/commonjs/ui/screens/UserListScreen.js +13 -22
  52. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  53. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +10 -25
  54. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
  55. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +6 -17
  56. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  57. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +7 -10
  58. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  59. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +5 -3
  60. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  61. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +5 -15
  62. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  63. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +5 -3
  64. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  65. package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  66. package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  67. package/lib/module/assets/assets/fonts/icons/manifest.json +6 -13
  68. package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  69. package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  70. package/lib/module/assets/fonts/icons/manifest.json +6 -13
  71. package/lib/module/ui/components/fileManagement/FileAppAccessSection.js +5 -3
  72. package/lib/module/ui/components/fileManagement/FileAppAccessSection.js.map +1 -1
  73. package/lib/module/ui/components/organizations/OrganizationClaimReview.js +5 -2
  74. package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
  75. package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +5 -2
  76. package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
  77. package/lib/module/ui/components/signIn/SessionsSection.js +5 -8
  78. package/lib/module/ui/components/signIn/SessionsSection.js.map +1 -1
  79. package/lib/module/ui/components/supervision/PersonPicker.js +5 -3
  80. package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
  81. package/lib/module/ui/icons/subsetGlyphMaps.js +1 -8
  82. package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
  83. package/lib/module/ui/illustrations/OxyEmptyState.js +28 -0
  84. package/lib/module/ui/illustrations/OxyEmptyState.js.map +1 -0
  85. package/lib/module/ui/illustrations/ThemedIllustration.js +84 -0
  86. package/lib/module/ui/illustrations/ThemedIllustration.js.map +1 -0
  87. package/lib/module/ui/illustrations/connected-apps.svg +93 -0
  88. package/lib/module/ui/illustrations/connected-apps.svg.json +1 -0
  89. package/lib/module/ui/illustrations/family.svg +150 -0
  90. package/lib/module/ui/illustrations/family.svg.json +1 -0
  91. package/lib/module/ui/illustrations/library.svg +68 -0
  92. package/lib/module/ui/illustrations/library.svg.json +1 -0
  93. package/lib/module/ui/illustrations/people.svg +62 -0
  94. package/lib/module/ui/illustrations/people.svg.json +1 -0
  95. package/lib/module/ui/illustrations/security.svg +78 -0
  96. package/lib/module/ui/illustrations/security.svg.json +1 -0
  97. package/lib/module/ui/illustrations/sessions.svg +74 -0
  98. package/lib/module/ui/illustrations/sessions.svg.json +1 -0
  99. package/lib/module/ui/screens/AccountMembersScreen.js +5 -3
  100. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
  101. package/lib/module/ui/screens/ConnectedAppsScreen.js +5 -10
  102. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  103. package/lib/module/ui/screens/DomainsScreen.js +5 -3
  104. package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
  105. package/lib/module/ui/screens/FileManagementScreen.js +11 -34
  106. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  107. package/lib/module/ui/screens/FileTrashScreen.js +4 -17
  108. package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
  109. package/lib/module/ui/screens/HistoryViewScreen.js +5 -4
  110. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  111. package/lib/module/ui/screens/PrivacySettingsScreen.js +9 -7
  112. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  113. package/lib/module/ui/screens/SupervisionScreen.js +13 -6
  114. package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
  115. package/lib/module/ui/screens/UserListScreen.js +13 -22
  116. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  117. package/lib/module/ui/screens/fileManagement/FileListSection.js +10 -24
  118. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
  119. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +6 -17
  120. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  121. package/lib/module/ui/screens/trust/TrustCenterScreen.js +7 -10
  122. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  123. package/lib/module/ui/screens/trust/TrustFAQScreen.js +5 -3
  124. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  125. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +5 -15
  126. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  127. package/lib/module/ui/screens/trust/TrustRulesScreen.js +5 -3
  128. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  129. package/lib/typescript/commonjs/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
  130. package/lib/typescript/commonjs/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
  131. package/lib/typescript/commonjs/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
  132. package/lib/typescript/commonjs/ui/components/signIn/SessionsSection.d.ts.map +1 -1
  133. package/lib/typescript/commonjs/ui/components/supervision/PersonPicker.d.ts.map +1 -1
  134. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
  135. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
  136. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  137. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  138. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +1 -8
  139. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  140. package/lib/typescript/commonjs/ui/illustrations/OxyEmptyState.d.ts +16 -0
  141. package/lib/typescript/commonjs/ui/illustrations/OxyEmptyState.d.ts.map +1 -0
  142. package/lib/typescript/commonjs/ui/illustrations/ThemedIllustration.d.ts +20 -0
  143. package/lib/typescript/commonjs/ui/illustrations/ThemedIllustration.d.ts.map +1 -0
  144. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
  145. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  146. package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -1
  147. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  148. package/lib/typescript/commonjs/ui/screens/FileTrashScreen.d.ts.map +1 -1
  149. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  150. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  151. package/lib/typescript/commonjs/ui/screens/SupervisionScreen.d.ts.map +1 -1
  152. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  153. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  154. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  155. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  156. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  157. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  158. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  159. package/lib/typescript/module/ui/components/fileManagement/FileAppAccessSection.d.ts.map +1 -1
  160. package/lib/typescript/module/ui/components/organizations/OrganizationClaimReview.d.ts.map +1 -1
  161. package/lib/typescript/module/ui/components/organizations/OrganizationDirectorySearch.d.ts.map +1 -1
  162. package/lib/typescript/module/ui/components/signIn/SessionsSection.d.ts.map +1 -1
  163. package/lib/typescript/module/ui/components/supervision/PersonPicker.d.ts.map +1 -1
  164. package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
  165. package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
  166. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  167. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  168. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +1 -8
  169. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  170. package/lib/typescript/module/ui/illustrations/OxyEmptyState.d.ts +16 -0
  171. package/lib/typescript/module/ui/illustrations/OxyEmptyState.d.ts.map +1 -0
  172. package/lib/typescript/module/ui/illustrations/ThemedIllustration.d.ts +20 -0
  173. package/lib/typescript/module/ui/illustrations/ThemedIllustration.d.ts.map +1 -0
  174. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
  175. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  176. package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -1
  177. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  178. package/lib/typescript/module/ui/screens/FileTrashScreen.d.ts.map +1 -1
  179. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  180. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  181. package/lib/typescript/module/ui/screens/SupervisionScreen.d.ts.map +1 -1
  182. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  183. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  184. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  185. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  186. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  187. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  188. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  189. package/package.json +15 -3
  190. package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  191. package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  192. package/src/assets/fonts/icons/manifest.json +6 -13
  193. package/src/ui/components/fileManagement/FileAppAccessSection.tsx +6 -1
  194. package/src/ui/components/organizations/OrganizationClaimReview.tsx +8 -1
  195. package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +8 -1
  196. package/src/ui/components/signIn/SessionsSection.tsx +4 -4
  197. package/src/ui/components/supervision/PersonPicker.tsx +4 -1
  198. package/src/ui/icons/subsetGlyphMaps.ts +1 -8
  199. package/src/ui/illustrations/OxyEmptyState.tsx +29 -0
  200. package/src/ui/illustrations/ThemedIllustration.tsx +74 -0
  201. package/src/ui/illustrations/__tests__/ThemedIllustration.test.ts +41 -0
  202. package/src/ui/illustrations/connected-apps.svg +93 -0
  203. package/src/ui/illustrations/connected-apps.svg.json +1 -0
  204. package/src/ui/illustrations/family.svg +150 -0
  205. package/src/ui/illustrations/family.svg.json +1 -0
  206. package/src/ui/illustrations/library.svg +68 -0
  207. package/src/ui/illustrations/library.svg.json +1 -0
  208. package/src/ui/illustrations/people.svg +62 -0
  209. package/src/ui/illustrations/people.svg.json +1 -0
  210. package/src/ui/illustrations/security.svg +78 -0
  211. package/src/ui/illustrations/security.svg.json +1 -0
  212. package/src/ui/illustrations/sessions.svg +74 -0
  213. package/src/ui/illustrations/sessions.svg.json +1 -0
  214. package/src/ui/screens/AccountMembersScreen.tsx +6 -3
  215. package/src/ui/screens/ConnectedAppsScreen.tsx +9 -7
  216. package/src/ui/screens/DomainsScreen.tsx +2 -1
  217. package/src/ui/screens/FileManagementScreen.tsx +31 -31
  218. package/src/ui/screens/FileTrashScreen.tsx +5 -9
  219. package/src/ui/screens/HistoryViewScreen.tsx +6 -1
  220. package/src/ui/screens/PrivacySettingsScreen.tsx +11 -6
  221. package/src/ui/screens/SupervisionScreen.tsx +8 -3
  222. package/src/ui/screens/UserListScreen.tsx +16 -22
  223. package/src/ui/screens/fileManagement/FileListSection.tsx +6 -10
  224. package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +19 -18
  225. package/src/ui/screens/trust/TrustCenterScreen.tsx +38 -36
  226. package/src/ui/screens/trust/TrustFAQScreen.tsx +9 -4
  227. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +9 -14
  228. package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -1
@@ -61,7 +61,6 @@ export declare const ioniconsGlyphMap: {
61
61
  readonly flame: 62227;
62
62
  readonly flash: 62230;
63
63
  readonly folder: 62245;
64
- readonly "folder-open-outline": 62247;
65
64
  readonly "folder-outline": 62249;
66
65
  readonly footsteps: 62254;
67
66
  readonly gift: 62263;
@@ -70,14 +69,12 @@ export declare const ioniconsGlyphMap: {
70
69
  readonly "hand-left": 62299;
71
70
  readonly "hardware-chip-outline": 62309;
72
71
  readonly heart: 62314;
73
- readonly "heart-outline": 62327;
74
72
  readonly "help-circle": 62333;
75
73
  readonly "help-circle-outline": 62334;
76
74
  readonly "hourglass-outline": 62342;
77
75
  readonly image: 62350;
78
76
  readonly "image-outline": 62351;
79
77
  readonly images: 62353;
80
- readonly "images-outline": 62354;
81
78
  readonly infinite: 62356;
82
79
  readonly information: 62359;
83
80
  readonly "information-circle": 62360;
@@ -97,7 +94,6 @@ export declare const ioniconsGlyphMap: {
97
94
  readonly open: 62599;
98
95
  readonly "pencil-outline": 62621;
99
96
  readonly people: 62623;
100
- readonly "people-outline": 62627;
101
97
  readonly play: 62662;
102
98
  readonly "pricetag-outline": 62699;
103
99
  readonly pulse: 62710;
@@ -129,7 +125,6 @@ export declare const ioniconsGlyphMap: {
129
125
  readonly trash: 62962;
130
126
  readonly "trash-outline": 62966;
131
127
  readonly trophy: 62977;
132
- readonly "trophy-outline": 62978;
133
128
  readonly videocam: 62989;
134
129
  readonly "volume-off": 63007;
135
130
  readonly "wallet-outline": 63014;
@@ -228,7 +223,6 @@ export declare const materialCommunityIconsGlyphMap: {
228
223
  readonly flash: 983617;
229
224
  readonly folder: 983627;
230
225
  readonly "folder-image": 983631;
231
- readonly "folder-open-outline": 986575;
232
226
  readonly "folder-outline": 983638;
233
227
  readonly "folder-zip-outline": 985017;
234
228
  readonly forward: 983693;
@@ -239,7 +233,6 @@ export declare const materialCommunityIconsGlyphMap: {
239
233
  readonly grid: 983745;
240
234
  readonly group: 983747;
241
235
  readonly heart: 983761;
242
- readonly "heart-outline": 983765;
243
236
  readonly "help-circle": 983767;
244
237
  readonly "help-circle-outline": 984613;
245
238
  readonly history: 983770;
@@ -294,6 +287,7 @@ export declare const materialCommunityIconsGlyphMap: {
294
287
  readonly rocket: 984163;
295
288
  readonly scale: 984178;
296
289
  readonly "school-outline": 987520;
290
+ readonly security: 984195;
297
291
  readonly server: 984203;
298
292
  readonly "share-outline": 985394;
299
293
  readonly shield: 984216;
@@ -317,7 +311,6 @@ export declare const materialCommunityIconsGlyphMap: {
317
311
  readonly "trash-can-outline": 985722;
318
312
  readonly "tray-arrow-down": 983328;
319
313
  readonly trophy: 984376;
320
- readonly "trophy-outline": 984378;
321
314
  readonly upload: 984402;
322
315
  readonly "video-outline": 986076;
323
316
  readonly "volume-off": 984449;
@@ -1 +1 @@
1
- {"version":3,"file":"subsetGlyphMaps.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/subsetGlyphMaps.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0InB,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgMjC,CAAC"}
1
+ {"version":3,"file":"subsetGlyphMaps.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/subsetGlyphMaps.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqInB,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8LjC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { type EmptyStateProps } from '@oxy.so/bloom/empty-state';
2
+ declare const pictures: {
3
+ library: import("react").LazyExoticComponent<({ size }: import("./ThemedIllustration.js").IllustrationProps) => import("react").JSX.Element>;
4
+ people: import("react").LazyExoticComponent<({ size }: import("./ThemedIllustration.js").IllustrationProps) => import("react").JSX.Element>;
5
+ security: import("react").LazyExoticComponent<({ size }: import("./ThemedIllustration.js").IllustrationProps) => import("react").JSX.Element>;
6
+ family: import("react").LazyExoticComponent<({ size }: import("./ThemedIllustration.js").IllustrationProps) => import("react").JSX.Element>;
7
+ sessions: import("react").LazyExoticComponent<({ size }: import("./ThemedIllustration.js").IllustrationProps) => import("react").JSX.Element>;
8
+ connected: import("react").LazyExoticComponent<({ size }: import("./ThemedIllustration.js").IllustrationProps) => import("react").JSX.Element>;
9
+ };
10
+ export type OxyIllustrationName = keyof typeof pictures;
11
+ export interface OxyEmptyStateProps extends Omit<EmptyStateProps, 'illustration'> {
12
+ art?: OxyIllustrationName;
13
+ }
14
+ export declare function OxyEmptyState({ art, variant, ...props }: OxyEmptyStateProps): import("react").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=OxyEmptyState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxyEmptyState.d.ts","sourceRoot":"","sources":["../../../../../src/ui/illustrations/OxyEmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAG7E,QAAA,MAAM,QAAQ;;;;;;;CAOb,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,QAAQ,CAAC;AAExD,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,eAAe,EAAE,cAAc,CAAC;IAC/E,GAAG,CAAC,EAAE,mBAAmB,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,EAAE,GAAe,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BAUvF"}
@@ -0,0 +1,20 @@
1
+ import { type ComponentType } from 'react';
2
+ type PaintRole = 'surface' | 'vivid' | 'secondary';
3
+ type Paint = Record<PaintRole, string>;
4
+ export interface IllustrationProps {
5
+ size: number;
6
+ }
7
+ /** Resolve just the annotated SVG fills. Unmarked paths retain their own colors. */
8
+ export declare function paintIllustration(svg: string, paint: Paint): string;
9
+ export declare function ThemedIllustration({ svg, size }: IllustrationProps & {
10
+ svg: string;
11
+ }): import("react").JSX.Element;
12
+ /** Keep vector geometry off the initial web chunk and reserve the illustration slot while it loads. */
13
+ export declare function lazyIllustration(load: () => Promise<{
14
+ default: string;
15
+ } | string>): import("react").LazyExoticComponent<({ size }: IllustrationProps) => import("react").JSX.Element>;
16
+ export declare function IllustrationSlot({ art: Picture, size, }: IllustrationProps & {
17
+ art: ComponentType<IllustrationProps>;
18
+ }): import("react").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=ThemedIllustration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemedIllustration.d.ts","sourceRoot":"","sources":["../../../../../src/ui/illustrations/ThemedIllustration.tsx"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAIpE,KAAK,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;AACnD,KAAK,KAAK,GAAG,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;CACd;AAKD,oFAAoF;AACpF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAqBnE;AAED,wBAAgB,kBAAkB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,iBAAiB,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,+BAYpF;AAED,uGAAuG;AACvG,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAAC,kDAKxD,iBAAiB,kCAG1C;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,GAAG,EAAE,OAAO,EACZ,IAAI,GACL,EAAE,iBAAiB,GAAG;IAAE,GAAG,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;CAAE,+BAM/D"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccountMembersScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/AccountMembersScreen.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AAgC3D;;;;GAIG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqZnD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"AccountMembersScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/AccountMembersScreen.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AAgC3D;;;;GAIG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuZnD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectedAppsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/ConnectedAppsScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAQrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;;AAqK3D,wBAA+C"}
1
+ {"version":3,"file":"ConnectedAppsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/ConnectedAppsScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAQrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;;AAuK3D,wBAA+C"}
@@ -1 +1 @@
1
- {"version":3,"file":"DomainsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/DomainsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAYrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;;AAiO3D,wBAAyC"}
1
+ {"version":3,"file":"DomainsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/DomainsScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAYrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;;AAiO3D,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileManagementScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/FileManagementScreen.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAAyB,CAAC;AAwCzE,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA67C7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"FileManagementScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/FileManagementScreen.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAAyB,CAAC;AAwCzE,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA47C7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileTrashScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/FileTrashScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AAa3D;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CA6LpE,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"FileTrashScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/FileTrashScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AAa3D;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAwLpE,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HistoryViewScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/HistoryViewScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;;AA+J3D,wBAA6C"}
1
+ {"version":3,"file":"HistoryViewScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/HistoryViewScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;;AAmK3D,wBAA6C"}
@@ -1 +1 @@
1
- {"version":3,"file":"PrivacySettingsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/PrivacySettingsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;;AAmf3D,wBAAiD"}
1
+ {"version":3,"file":"PrivacySettingsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/PrivacySettingsScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;;AAuf3D,wBAAiD"}
@@ -1 +1 @@
1
- {"version":3,"file":"SupervisionScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/SupervisionScreen.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AAihB3D,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAE,eAAe,+BAO/D"}
1
+ {"version":3,"file":"SupervisionScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/SupervisionScreen.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AAqhB3D,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAE,eAAe,+BAO/D"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserListScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/UserListScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AAW3D,OAAO,KAAK,EAAQ,eAAe,EAAE,MAAM,cAAc,CAAC;AAG1D,KAAK,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC;AAE1C,UAAU,mBAAoB,SAAQ,eAAe;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB;AAcD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA0QjD,CAAC;AA2BF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"UserListScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/UserListScreen.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AAW3D,OAAO,KAAK,EAAQ,eAAe,EAAE,MAAM,cAAc,CAAC;AAG1D,KAAK,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC;AAE1C,UAAU,mBAAoB,SAAQ,eAAe;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB;AAcD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmQjD,CAAC;AA2BF,eAAe,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileListSection.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/fileManagement/FileListSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,UAAU,EAA8B,MAAM,cAAc,CAAC;AAI5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC;AAEzD,6EAA6E;AAC7E,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC;AAED,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC;IAC7E,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,MAAM,EAAE;QAAE,WAAW,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;IACnD,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;IACnE,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,mEAAmE;IACnE,gBAAgB,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;CACzC;AAED;;;;GAIG;AACH,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwEnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"FileListSection.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/fileManagement/FileListSection.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,UAAU,EAA8B,MAAM,cAAc,CAAC;AAI5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC;AAEzD,6EAA6E;AAC7E,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC;AAED,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC;IAC7E,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,MAAM,EAAE;QAAE,WAAW,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;IACnD,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;IACnE,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,mEAAmE;IACnE,gBAAgB,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;CACzC;AAED;;;;GAIG;AACH,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmEnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PhotoPickerSection.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/fileManagement/PhotoPickerSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAetE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AA6EjD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB,+EAA+E;IAC/E,SAAS,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,MAAM,GAAG,SAAS,CAAC;IACxD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,cAAc,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC9C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;CACpE;AA2MD,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAqPnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"PhotoPickerSection.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/fileManagement/PhotoPickerSection.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAetE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AA6EjD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB,+EAA+E;IAC/E,SAAS,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,MAAM,GAAG,SAAS,CAAC;IACxD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,cAAc,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC9C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;CACpE;AA2MD,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAqPnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TrustCenterScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/trust/TrustCenterScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAAwB,CAAC;AAS9D,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqIhD,CAAC;AAcF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"TrustCenterScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/trust/TrustCenterScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAAwB,CAAC;AAU9D,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsIhD,CAAC;AAcF,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TrustFAQScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/trust/TrustFAQScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAAwB,CAAC;;AA6F9D,wBAA0C"}
1
+ {"version":3,"file":"TrustFAQScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/trust/TrustFAQScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAAwB,CAAC;;AAiG9D,wBAA0C"}
@@ -1 +1 @@
1
- {"version":3,"file":"TrustLeaderboardScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/trust/TrustLeaderboardScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAAwB,CAAC;AAa9D,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyIrD,CAAC;AAkCF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"TrustLeaderboardScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/trust/TrustLeaderboardScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAAwB,CAAC;AAa9D,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmIrD,CAAC;AAkCF,eAAe,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TrustRulesScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/trust/TrustRulesScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAAwB,CAAC;AAmB9D,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0E/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"TrustRulesScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/screens/trust/TrustRulesScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAAwB,CAAC;AAmB9D,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8E/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxy.so/services",
3
- "version": "15.1.1",
3
+ "version": "15.1.3",
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",
@@ -110,6 +110,18 @@
110
110
  "./plugins/*": "./plugins/*.js",
111
111
  "./expo-module.config.json": "./expo-module.config.json",
112
112
  "./package.json": "./package.json",
113
+ "./ui/empty-state": {
114
+ "react-native": "./src/ui/illustrations/OxyEmptyState.tsx",
115
+ "import": {
116
+ "types": "./lib/typescript/module/ui/illustrations/OxyEmptyState.d.ts",
117
+ "default": "./lib/module/ui/illustrations/OxyEmptyState.js"
118
+ },
119
+ "require": {
120
+ "types": "./lib/typescript/commonjs/ui/illustrations/OxyEmptyState.d.ts",
121
+ "default": "./lib/commonjs/ui/illustrations/OxyEmptyState.js"
122
+ },
123
+ "default": "./lib/module/ui/illustrations/OxyEmptyState.js"
124
+ },
113
125
  "./ui/one-video": {
114
126
  "react-native": "./src/ui/one-video.tsx",
115
127
  "import": {
@@ -176,7 +188,7 @@
176
188
  "delete-dts.js": "find ./lib/commonjs ./lib/module \\( -name '*.d.js*' -o -name '*.d.ts' \\) -delete"
177
189
  },
178
190
  "dependencies": {
179
- "@oxy.so/contracts": "^7.8.0",
191
+ "@oxy.so/contracts": "^7.12.0",
180
192
  "color": "^5.0.3",
181
193
  "@peable.to/sdk": "^4.0.0",
182
194
  "qrcode": "^1.5.4",
@@ -185,7 +197,7 @@
185
197
  "devDependencies": {
186
198
  "@expo/app-integrity": "~58.0.2",
187
199
  "@expo/vector-icons": "^15.1.1",
188
- "@oxy.so/core": "7.61.0",
200
+ "@oxy.so/core": "7.65.0",
189
201
  "@react-native-async-storage/async-storage": "^3.1.1",
190
202
  "@react-native-community/netinfo": "^12.0.1",
191
203
  "@react-native/babel-preset": "^0.88.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": 28720,
154
- "sha256": "575a808944902da9b8f54140aa33a17a95db27b3a14b8832d02923c230e974a7",
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",
@@ -309,6 +302,7 @@
309
302
  "rocket",
310
303
  "scale",
311
304
  "school-outline",
305
+ "security",
312
306
  "server",
313
307
  "share-outline",
314
308
  "shield",
@@ -332,7 +326,6 @@
332
326
  "trash-can-outline",
333
327
  "tray-arrow-down",
334
328
  "trophy",
335
- "trophy-outline",
336
329
  "upload",
337
330
  "video-outline",
338
331
  "volume-off",
@@ -348,5 +341,5 @@
348
341
  }
349
342
  },
350
343
  "glyphMapsFile": "src/ui/icons/subsetGlyphMaps.ts",
351
- "glyphMapsSha256": "df4256ee3243433eed204ca00896198f7960a91f5d45f74bb4052ba4fb5ce364"
344
+ "glyphMapsSha256": "6abc10d694f05bc13a7614f3763b45e1bde788798b9d0dae3cd9a87f18fe24f0"
352
345
  }
@@ -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')}
@@ -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,
@@ -295,6 +288,7 @@ export const materialCommunityIconsGlyphMap = {
295
288
  "rocket": 984163,
296
289
  "scale": 984178,
297
290
  "school-outline": 987520,
291
+ "security": 984195,
298
292
  "server": 984203,
299
293
  "share-outline": 985394,
300
294
  "shield": 984216,
@@ -318,7 +312,6 @@ export const materialCommunityIconsGlyphMap = {
318
312
  "trash-can-outline": 985722,
319
313
  "tray-arrow-down": 983328,
320
314
  "trophy": 984376,
321
- "trophy-outline": 984378,
322
315
  "upload": 984402,
323
316
  "video-outline": 986076,
324
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
+ }