@bifold/core 2.2.1 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (721) hide show
  1. package/lib/commonjs/App.js +1 -1
  2. package/lib/commonjs/App.js.map +1 -1
  3. package/lib/commonjs/components/animated/ButtonLoading.js +2 -2
  4. package/lib/commonjs/components/animated/ButtonLoading.js.map +1 -1
  5. package/lib/commonjs/components/animated/ConnectionLoading.js +3 -3
  6. package/lib/commonjs/components/animated/ConnectionLoading.js.map +1 -1
  7. package/lib/commonjs/components/animated/LoadingIndicator.js +2 -2
  8. package/lib/commonjs/components/animated/LoadingIndicator.js.map +1 -1
  9. package/lib/commonjs/components/animated/PresentationLoading.js +3 -3
  10. package/lib/commonjs/components/animated/PresentationLoading.js.map +1 -1
  11. package/lib/commonjs/components/animated/RecordLoading.js +5 -5
  12. package/lib/commonjs/components/animated/RecordLoading.js.map +1 -1
  13. package/lib/commonjs/components/animated/SendingProof.js +3 -3
  14. package/lib/commonjs/components/animated/SendingProof.js.map +1 -1
  15. package/lib/commonjs/components/animated/SentProof.js +3 -3
  16. package/lib/commonjs/components/animated/SentProof.js.map +1 -1
  17. package/lib/commonjs/components/buttons/Button.js +1 -1
  18. package/lib/commonjs/components/buttons/Button.js.map +1 -1
  19. package/lib/commonjs/components/buttons/IconButton.js +3 -3
  20. package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
  21. package/lib/commonjs/components/buttons/ToggleButton.js +3 -3
  22. package/lib/commonjs/components/buttons/ToggleButton.js.map +1 -1
  23. package/lib/commonjs/components/chat/ActionSlider.js +3 -3
  24. package/lib/commonjs/components/chat/ActionSlider.js.map +1 -1
  25. package/lib/commonjs/components/forms/WalletNameForm.js +2 -2
  26. package/lib/commonjs/components/forms/WalletNameForm.js.map +1 -1
  27. package/lib/commonjs/components/inputs/BiometryControl.js +2 -2
  28. package/lib/commonjs/components/inputs/BiometryControl.js.map +1 -1
  29. package/lib/commonjs/components/inputs/BulletPoint.js +2 -2
  30. package/lib/commonjs/components/inputs/BulletPoint.js.map +1 -1
  31. package/lib/commonjs/components/listItems/ContactCredentialListItem.js +3 -3
  32. package/lib/commonjs/components/listItems/ContactCredentialListItem.js.map +1 -1
  33. package/lib/commonjs/components/listItems/ContactListItem.js +2 -2
  34. package/lib/commonjs/components/listItems/ContactListItem.js.map +1 -1
  35. package/lib/commonjs/components/listItems/NotificationListItem.js +22 -22
  36. package/lib/commonjs/components/listItems/NotificationListItem.js.map +1 -1
  37. package/lib/commonjs/components/misc/ConnectionAlert.js +5 -5
  38. package/lib/commonjs/components/misc/ConnectionAlert.js.map +1 -1
  39. package/lib/commonjs/components/misc/ConnectionImage.js +3 -3
  40. package/lib/commonjs/components/misc/ConnectionImage.js.map +1 -1
  41. package/lib/commonjs/components/misc/CredentialCard.js +2 -2
  42. package/lib/commonjs/components/misc/CredentialCard.js.map +1 -1
  43. package/lib/commonjs/components/misc/CredentialCard10.js +6 -6
  44. package/lib/commonjs/components/misc/CredentialCard10.js.map +1 -1
  45. package/lib/commonjs/components/misc/CredentialCard11.js +43 -22
  46. package/lib/commonjs/components/misc/CredentialCard11.js.map +1 -1
  47. package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js +3 -3
  48. package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js.map +1 -1
  49. package/lib/commonjs/components/misc/EmptyList.js +2 -2
  50. package/lib/commonjs/components/misc/EmptyList.js.map +1 -1
  51. package/lib/commonjs/components/misc/EmptyListContacts.js +2 -2
  52. package/lib/commonjs/components/misc/EmptyListContacts.js.map +1 -1
  53. package/lib/commonjs/components/misc/FauxHeader.js +2 -2
  54. package/lib/commonjs/components/misc/FauxHeader.js.map +1 -1
  55. package/lib/commonjs/components/misc/InfoBox.js +29 -29
  56. package/lib/commonjs/components/misc/InfoBox.js.map +1 -1
  57. package/lib/commonjs/components/misc/NoNewUpdates.js +2 -2
  58. package/lib/commonjs/components/misc/NoNewUpdates.js.map +1 -1
  59. package/lib/commonjs/components/misc/PINValidationHelper.js +3 -3
  60. package/lib/commonjs/components/misc/PINValidationHelper.js.map +1 -1
  61. package/lib/commonjs/components/misc/QRRenderer.js +2 -2
  62. package/lib/commonjs/components/misc/QRRenderer.js.map +1 -1
  63. package/lib/commonjs/components/misc/QRScanner.js +3 -3
  64. package/lib/commonjs/components/misc/QRScanner.js.map +1 -1
  65. package/lib/commonjs/components/misc/QRScannerTorch.js +4 -4
  66. package/lib/commonjs/components/misc/QRScannerTorch.js.map +1 -1
  67. package/lib/commonjs/components/misc/SharedProofData.js +2 -2
  68. package/lib/commonjs/components/misc/SharedProofData.js.map +1 -1
  69. package/lib/commonjs/components/misc/UnorderedList.js +3 -3
  70. package/lib/commonjs/components/misc/UnorderedList.js.map +1 -1
  71. package/lib/commonjs/components/misc/VerifierCredentialCard.js +7 -7
  72. package/lib/commonjs/components/misc/VerifierCredentialCard.js.map +1 -1
  73. package/lib/commonjs/components/modals/AppGuideModal.js +7 -7
  74. package/lib/commonjs/components/modals/AppGuideModal.js.map +1 -1
  75. package/lib/commonjs/components/modals/CameraDisclosureModal.js +4 -4
  76. package/lib/commonjs/components/modals/CameraDisclosureModal.js.map +1 -1
  77. package/lib/commonjs/components/modals/CommonRemoveModal.js +7 -7
  78. package/lib/commonjs/components/modals/CommonRemoveModal.js.map +1 -1
  79. package/lib/commonjs/components/modals/DismissiblePopupModal.js +7 -7
  80. package/lib/commonjs/components/modals/DismissiblePopupModal.js.map +1 -1
  81. package/lib/commonjs/components/modals/ErrorModal.js +4 -4
  82. package/lib/commonjs/components/modals/ErrorModal.js.map +1 -1
  83. package/lib/commonjs/components/modals/ImageModal.js +4 -4
  84. package/lib/commonjs/components/modals/ImageModal.js.map +1 -1
  85. package/lib/commonjs/components/modals/PopupModal.js +2 -2
  86. package/lib/commonjs/components/modals/PopupModal.js.map +1 -1
  87. package/lib/commonjs/components/modals/ProofCancelModal.js +2 -2
  88. package/lib/commonjs/components/modals/ProofCancelModal.js.map +1 -1
  89. package/lib/commonjs/components/record/RecordFooter.js +2 -2
  90. package/lib/commonjs/components/record/RecordFooter.js.map +1 -1
  91. package/lib/commonjs/components/record/RecordHeader.js +2 -2
  92. package/lib/commonjs/components/record/RecordHeader.js.map +1 -1
  93. package/lib/commonjs/components/record/RecordRemove.js +5 -5
  94. package/lib/commonjs/components/record/RecordRemove.js.map +1 -1
  95. package/lib/commonjs/components/texts/HighlightTextBox.js +3 -3
  96. package/lib/commonjs/components/texts/HighlightTextBox.js.map +1 -1
  97. package/lib/commonjs/components/texts/InfoTextBox.js +17 -17
  98. package/lib/commonjs/components/texts/InfoTextBox.js.map +1 -1
  99. package/lib/commonjs/components/texts/Link.js +2 -2
  100. package/lib/commonjs/components/texts/Link.js.map +1 -1
  101. package/lib/commonjs/components/toast/BaseToast.js +17 -17
  102. package/lib/commonjs/components/toast/BaseToast.js.map +1 -1
  103. package/lib/commonjs/components/tour/CredentialOfferTourSteps.js +2 -2
  104. package/lib/commonjs/components/tour/CredentialOfferTourSteps.js.map +1 -1
  105. package/lib/commonjs/components/tour/CredentialsTourSteps.js +2 -2
  106. package/lib/commonjs/components/tour/CredentialsTourSteps.js.map +1 -1
  107. package/lib/commonjs/components/tour/HomeTourSteps.js +6 -6
  108. package/lib/commonjs/components/tour/HomeTourSteps.js.map +1 -1
  109. package/lib/commonjs/components/tour/ProofRequestTourSteps.js +2 -2
  110. package/lib/commonjs/components/tour/ProofRequestTourSteps.js.map +1 -1
  111. package/lib/commonjs/components/tour/TourBox.js +6 -6
  112. package/lib/commonjs/components/tour/TourBox.js.map +1 -1
  113. package/lib/commonjs/components/views/Banner.js +19 -9
  114. package/lib/commonjs/components/views/Banner.js.map +1 -1
  115. package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js +3 -3
  116. package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
  117. package/lib/commonjs/components/views/KeyboardView.js +2 -2
  118. package/lib/commonjs/components/views/KeyboardView.js.map +1 -1
  119. package/lib/commonjs/components/views/ProgressBar.js +3 -3
  120. package/lib/commonjs/components/views/ProgressBar.js.map +1 -1
  121. package/lib/commonjs/contexts/reducers/store.js +2 -15
  122. package/lib/commonjs/contexts/reducers/store.js.map +1 -1
  123. package/lib/commonjs/contexts/store.js +1 -2
  124. package/lib/commonjs/contexts/store.js.map +1 -1
  125. package/lib/commonjs/hooks/chat-messages.js +3 -3
  126. package/lib/commonjs/hooks/chat-messages.js.map +1 -1
  127. package/lib/commonjs/hooks/credential-card-styles.js +4 -4
  128. package/lib/commonjs/hooks/credential-card-styles.js.map +1 -1
  129. package/lib/commonjs/index.js +11 -3
  130. package/lib/commonjs/index.js.map +1 -1
  131. package/lib/commonjs/localization/fr/fr.json +0 -1
  132. package/lib/commonjs/localization/pt-br/pt-br.json +1 -2
  133. package/lib/commonjs/modules/history/ui/HistoryPage.js +2 -2
  134. package/lib/commonjs/modules/history/ui/HistoryPage.js.map +1 -1
  135. package/lib/commonjs/modules/history/ui/HistorySettings.js +2 -2
  136. package/lib/commonjs/modules/history/ui/HistorySettings.js.map +1 -1
  137. package/lib/commonjs/modules/history/ui/components/HistoryListItem.js +2 -2
  138. package/lib/commonjs/modules/history/ui/components/HistoryListItem.js.map +1 -1
  139. package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js +5 -5
  140. package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
  141. package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
  142. package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
  143. package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
  144. package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
  145. package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js +3 -3
  146. package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
  147. package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js +4 -4
  148. package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
  149. package/lib/commonjs/navigators/ContactStack.js +0 -16
  150. package/lib/commonjs/navigators/ContactStack.js.map +1 -1
  151. package/lib/commonjs/navigators/DeliveryStack.js +0 -16
  152. package/lib/commonjs/navigators/DeliveryStack.js.map +1 -1
  153. package/lib/commonjs/navigators/MainStack.js.map +1 -1
  154. package/lib/commonjs/navigators/NotificationStack.js +0 -16
  155. package/lib/commonjs/navigators/NotificationStack.js.map +1 -1
  156. package/lib/commonjs/navigators/OnboardingScreens.js.map +1 -1
  157. package/lib/commonjs/navigators/TabStack.js +2 -2
  158. package/lib/commonjs/navigators/TabStack.js.map +1 -1
  159. package/lib/commonjs/navigators/defaultStackOptions.js +3 -3
  160. package/lib/commonjs/navigators/defaultStackOptions.js.map +1 -1
  161. package/lib/commonjs/screens/AttemptLockout.js +2 -2
  162. package/lib/commonjs/screens/AttemptLockout.js.map +1 -1
  163. package/lib/commonjs/screens/AutoLock.js +7 -7
  164. package/lib/commonjs/screens/AutoLock.js.map +1 -1
  165. package/lib/commonjs/screens/Chat.js +1 -1
  166. package/lib/commonjs/screens/Chat.js.map +1 -1
  167. package/lib/commonjs/screens/ConfigureMediator.js +7 -7
  168. package/lib/commonjs/screens/ConfigureMediator.js.map +1 -1
  169. package/lib/commonjs/screens/ContactDetails.js +9 -9
  170. package/lib/commonjs/screens/ContactDetails.js.map +1 -1
  171. package/lib/commonjs/screens/CredentialDetails.js +16 -16
  172. package/lib/commonjs/screens/CredentialDetails.js.map +1 -1
  173. package/lib/commonjs/screens/CredentialOffer.js +2 -2
  174. package/lib/commonjs/screens/CredentialOffer.js.map +1 -1
  175. package/lib/commonjs/screens/DataRetention.js +11 -11
  176. package/lib/commonjs/screens/DataRetention.js.map +1 -1
  177. package/lib/commonjs/screens/Developer.js +29 -29
  178. package/lib/commonjs/screens/Developer.js.map +1 -1
  179. package/lib/commonjs/screens/Home.js +2 -2
  180. package/lib/commonjs/screens/Home.js.map +1 -1
  181. package/lib/commonjs/screens/JSONDetails.js +3 -3
  182. package/lib/commonjs/screens/JSONDetails.js.map +1 -1
  183. package/lib/commonjs/screens/Language.js +7 -7
  184. package/lib/commonjs/screens/Language.js.map +1 -1
  185. package/lib/commonjs/screens/ListContacts.js +3 -3
  186. package/lib/commonjs/screens/ListContacts.js.map +1 -1
  187. package/lib/commonjs/screens/ListCredentials.js +2 -2
  188. package/lib/commonjs/screens/ListCredentials.js.map +1 -1
  189. package/lib/commonjs/screens/ListProofRequests.js +2 -2
  190. package/lib/commonjs/screens/ListProofRequests.js.map +1 -1
  191. package/lib/commonjs/screens/MobileVerifierLoading.js +3 -3
  192. package/lib/commonjs/screens/MobileVerifierLoading.js.map +1 -1
  193. package/lib/commonjs/screens/PINChange.js +2 -4
  194. package/lib/commonjs/screens/PINChange.js.map +1 -1
  195. package/lib/commonjs/screens/PINCreate.js +2 -2
  196. package/lib/commonjs/screens/PINCreate.js.map +1 -1
  197. package/lib/commonjs/screens/PINEnter.js +5 -9
  198. package/lib/commonjs/screens/PINEnter.js.map +1 -1
  199. package/lib/commonjs/screens/PINExplainer.js +3 -3
  200. package/lib/commonjs/screens/PINExplainer.js.map +1 -1
  201. package/lib/commonjs/screens/PINVerify.js +2 -2
  202. package/lib/commonjs/screens/PINVerify.js.map +1 -1
  203. package/lib/commonjs/screens/PasteUrl.js +4 -4
  204. package/lib/commonjs/screens/PasteUrl.js.map +1 -1
  205. package/lib/commonjs/screens/ProofChangeCredential.js +2 -2
  206. package/lib/commonjs/screens/ProofChangeCredential.js.map +1 -1
  207. package/lib/commonjs/screens/ProofDetails.js +3 -3
  208. package/lib/commonjs/screens/ProofDetails.js.map +1 -1
  209. package/lib/commonjs/screens/ProofRequest.js +7 -7
  210. package/lib/commonjs/screens/ProofRequest.js.map +1 -1
  211. package/lib/commonjs/screens/ProofRequestAccept.js +3 -3
  212. package/lib/commonjs/screens/ProofRequestAccept.js.map +1 -1
  213. package/lib/commonjs/screens/ProofRequestDetails.js +4 -4
  214. package/lib/commonjs/screens/ProofRequestDetails.js.map +1 -1
  215. package/lib/commonjs/screens/ProofRequestUsageHistory.js +2 -2
  216. package/lib/commonjs/screens/ProofRequestUsageHistory.js.map +1 -1
  217. package/lib/commonjs/screens/ProofRequesting.js +5 -5
  218. package/lib/commonjs/screens/ProofRequesting.js.map +1 -1
  219. package/lib/commonjs/screens/RenameContact.js +2 -2
  220. package/lib/commonjs/screens/RenameContact.js.map +1 -1
  221. package/lib/commonjs/screens/Settings.js +5 -5
  222. package/lib/commonjs/screens/Settings.js.map +1 -1
  223. package/lib/commonjs/screens/Splash.js +2 -2
  224. package/lib/commonjs/screens/Splash.js.map +1 -1
  225. package/lib/commonjs/screens/Terms.js +1 -19
  226. package/lib/commonjs/screens/Terms.js.map +1 -1
  227. package/lib/commonjs/screens/ToggleBiometry.js +2 -2
  228. package/lib/commonjs/screens/ToggleBiometry.js.map +1 -1
  229. package/lib/commonjs/screens/TogglePushNotifications.js +5 -5
  230. package/lib/commonjs/screens/TogglePushNotifications.js.map +1 -1
  231. package/lib/commonjs/screens/Tours.js +5 -5
  232. package/lib/commonjs/screens/Tours.js.map +1 -1
  233. package/lib/commonjs/screens/UpdateAvailable.js +2 -2
  234. package/lib/commonjs/screens/UpdateAvailable.js.map +1 -1
  235. package/lib/commonjs/screens/WhatAreContacts.js +2 -2
  236. package/lib/commonjs/screens/WhatAreContacts.js.map +1 -1
  237. package/lib/commonjs/services/logger.js +32 -8
  238. package/lib/commonjs/services/logger.js.map +1 -1
  239. package/lib/commonjs/theme-builder.js +116 -0
  240. package/lib/commonjs/theme-builder.js.map +1 -0
  241. package/lib/commonjs/theme.interface.js +6 -0
  242. package/lib/commonjs/theme.interface.js.map +1 -0
  243. package/lib/commonjs/theme.js +904 -670
  244. package/lib/commonjs/theme.js.map +1 -1
  245. package/lib/commonjs/utils/credential.js +3 -3
  246. package/lib/commonjs/utils/credential.js.map +1 -1
  247. package/lib/commonjs/utils/mediatorhelpers.js +16 -12
  248. package/lib/commonjs/utils/mediatorhelpers.js.map +1 -1
  249. package/lib/module/App.js +1 -1
  250. package/lib/module/App.js.map +1 -1
  251. package/lib/module/components/animated/ButtonLoading.js +2 -2
  252. package/lib/module/components/animated/ButtonLoading.js.map +1 -1
  253. package/lib/module/components/animated/ConnectionLoading.js +3 -3
  254. package/lib/module/components/animated/ConnectionLoading.js.map +1 -1
  255. package/lib/module/components/animated/LoadingIndicator.js +2 -2
  256. package/lib/module/components/animated/LoadingIndicator.js.map +1 -1
  257. package/lib/module/components/animated/PresentationLoading.js +3 -3
  258. package/lib/module/components/animated/PresentationLoading.js.map +1 -1
  259. package/lib/module/components/animated/RecordLoading.js +5 -5
  260. package/lib/module/components/animated/RecordLoading.js.map +1 -1
  261. package/lib/module/components/animated/SendingProof.js +3 -3
  262. package/lib/module/components/animated/SendingProof.js.map +1 -1
  263. package/lib/module/components/animated/SentProof.js +3 -3
  264. package/lib/module/components/animated/SentProof.js.map +1 -1
  265. package/lib/module/components/buttons/Button.js +1 -1
  266. package/lib/module/components/buttons/Button.js.map +1 -1
  267. package/lib/module/components/buttons/IconButton.js +3 -3
  268. package/lib/module/components/buttons/IconButton.js.map +1 -1
  269. package/lib/module/components/buttons/ToggleButton.js +3 -3
  270. package/lib/module/components/buttons/ToggleButton.js.map +1 -1
  271. package/lib/module/components/chat/ActionSlider.js +3 -3
  272. package/lib/module/components/chat/ActionSlider.js.map +1 -1
  273. package/lib/module/components/forms/WalletNameForm.js +2 -2
  274. package/lib/module/components/forms/WalletNameForm.js.map +1 -1
  275. package/lib/module/components/inputs/BiometryControl.js +2 -2
  276. package/lib/module/components/inputs/BiometryControl.js.map +1 -1
  277. package/lib/module/components/inputs/BulletPoint.js +2 -2
  278. package/lib/module/components/inputs/BulletPoint.js.map +1 -1
  279. package/lib/module/components/listItems/ContactCredentialListItem.js +3 -3
  280. package/lib/module/components/listItems/ContactCredentialListItem.js.map +1 -1
  281. package/lib/module/components/listItems/ContactListItem.js +2 -2
  282. package/lib/module/components/listItems/ContactListItem.js.map +1 -1
  283. package/lib/module/components/listItems/NotificationListItem.js +22 -22
  284. package/lib/module/components/listItems/NotificationListItem.js.map +1 -1
  285. package/lib/module/components/misc/ConnectionAlert.js +5 -5
  286. package/lib/module/components/misc/ConnectionAlert.js.map +1 -1
  287. package/lib/module/components/misc/ConnectionImage.js +3 -3
  288. package/lib/module/components/misc/ConnectionImage.js.map +1 -1
  289. package/lib/module/components/misc/CredentialCard.js +2 -2
  290. package/lib/module/components/misc/CredentialCard.js.map +1 -1
  291. package/lib/module/components/misc/CredentialCard10.js +6 -6
  292. package/lib/module/components/misc/CredentialCard10.js.map +1 -1
  293. package/lib/module/components/misc/CredentialCard11.js +43 -22
  294. package/lib/module/components/misc/CredentialCard11.js.map +1 -1
  295. package/lib/module/components/misc/CredentialCard11ActionFooter.js +3 -3
  296. package/lib/module/components/misc/CredentialCard11ActionFooter.js.map +1 -1
  297. package/lib/module/components/misc/EmptyList.js +2 -2
  298. package/lib/module/components/misc/EmptyList.js.map +1 -1
  299. package/lib/module/components/misc/EmptyListContacts.js +2 -2
  300. package/lib/module/components/misc/EmptyListContacts.js.map +1 -1
  301. package/lib/module/components/misc/FauxHeader.js +2 -2
  302. package/lib/module/components/misc/FauxHeader.js.map +1 -1
  303. package/lib/module/components/misc/InfoBox.js +29 -29
  304. package/lib/module/components/misc/InfoBox.js.map +1 -1
  305. package/lib/module/components/misc/NoNewUpdates.js +2 -2
  306. package/lib/module/components/misc/NoNewUpdates.js.map +1 -1
  307. package/lib/module/components/misc/PINValidationHelper.js +3 -3
  308. package/lib/module/components/misc/PINValidationHelper.js.map +1 -1
  309. package/lib/module/components/misc/QRRenderer.js +2 -2
  310. package/lib/module/components/misc/QRRenderer.js.map +1 -1
  311. package/lib/module/components/misc/QRScanner.js +3 -3
  312. package/lib/module/components/misc/QRScanner.js.map +1 -1
  313. package/lib/module/components/misc/QRScannerTorch.js +4 -4
  314. package/lib/module/components/misc/QRScannerTorch.js.map +1 -1
  315. package/lib/module/components/misc/SharedProofData.js +2 -2
  316. package/lib/module/components/misc/SharedProofData.js.map +1 -1
  317. package/lib/module/components/misc/UnorderedList.js +3 -3
  318. package/lib/module/components/misc/UnorderedList.js.map +1 -1
  319. package/lib/module/components/misc/VerifierCredentialCard.js +7 -7
  320. package/lib/module/components/misc/VerifierCredentialCard.js.map +1 -1
  321. package/lib/module/components/modals/AppGuideModal.js +7 -7
  322. package/lib/module/components/modals/AppGuideModal.js.map +1 -1
  323. package/lib/module/components/modals/CameraDisclosureModal.js +4 -4
  324. package/lib/module/components/modals/CameraDisclosureModal.js.map +1 -1
  325. package/lib/module/components/modals/CommonRemoveModal.js +7 -7
  326. package/lib/module/components/modals/CommonRemoveModal.js.map +1 -1
  327. package/lib/module/components/modals/DismissiblePopupModal.js +7 -7
  328. package/lib/module/components/modals/DismissiblePopupModal.js.map +1 -1
  329. package/lib/module/components/modals/ErrorModal.js +4 -4
  330. package/lib/module/components/modals/ErrorModal.js.map +1 -1
  331. package/lib/module/components/modals/ImageModal.js +4 -4
  332. package/lib/module/components/modals/ImageModal.js.map +1 -1
  333. package/lib/module/components/modals/PopupModal.js +2 -2
  334. package/lib/module/components/modals/PopupModal.js.map +1 -1
  335. package/lib/module/components/modals/ProofCancelModal.js +2 -2
  336. package/lib/module/components/modals/ProofCancelModal.js.map +1 -1
  337. package/lib/module/components/record/RecordFooter.js +2 -2
  338. package/lib/module/components/record/RecordFooter.js.map +1 -1
  339. package/lib/module/components/record/RecordHeader.js +2 -2
  340. package/lib/module/components/record/RecordHeader.js.map +1 -1
  341. package/lib/module/components/record/RecordRemove.js +5 -5
  342. package/lib/module/components/record/RecordRemove.js.map +1 -1
  343. package/lib/module/components/texts/HighlightTextBox.js +3 -3
  344. package/lib/module/components/texts/HighlightTextBox.js.map +1 -1
  345. package/lib/module/components/texts/InfoTextBox.js +17 -17
  346. package/lib/module/components/texts/InfoTextBox.js.map +1 -1
  347. package/lib/module/components/texts/Link.js +2 -2
  348. package/lib/module/components/texts/Link.js.map +1 -1
  349. package/lib/module/components/toast/BaseToast.js +17 -17
  350. package/lib/module/components/toast/BaseToast.js.map +1 -1
  351. package/lib/module/components/tour/CredentialOfferTourSteps.js +2 -2
  352. package/lib/module/components/tour/CredentialOfferTourSteps.js.map +1 -1
  353. package/lib/module/components/tour/CredentialsTourSteps.js +2 -2
  354. package/lib/module/components/tour/CredentialsTourSteps.js.map +1 -1
  355. package/lib/module/components/tour/HomeTourSteps.js +6 -6
  356. package/lib/module/components/tour/HomeTourSteps.js.map +1 -1
  357. package/lib/module/components/tour/ProofRequestTourSteps.js +2 -2
  358. package/lib/module/components/tour/ProofRequestTourSteps.js.map +1 -1
  359. package/lib/module/components/tour/TourBox.js +6 -6
  360. package/lib/module/components/tour/TourBox.js.map +1 -1
  361. package/lib/module/components/views/Banner.js +19 -9
  362. package/lib/module/components/views/Banner.js.map +1 -1
  363. package/lib/module/components/views/CredentialDetailPrimaryHeader.js +3 -3
  364. package/lib/module/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
  365. package/lib/module/components/views/KeyboardView.js +2 -2
  366. package/lib/module/components/views/KeyboardView.js.map +1 -1
  367. package/lib/module/components/views/ProgressBar.js +3 -3
  368. package/lib/module/components/views/ProgressBar.js.map +1 -1
  369. package/lib/module/contexts/reducers/store.js +2 -15
  370. package/lib/module/contexts/reducers/store.js.map +1 -1
  371. package/lib/module/contexts/store.js +1 -2
  372. package/lib/module/contexts/store.js.map +1 -1
  373. package/lib/module/hooks/chat-messages.js +3 -3
  374. package/lib/module/hooks/chat-messages.js.map +1 -1
  375. package/lib/module/hooks/credential-card-styles.js +4 -4
  376. package/lib/module/hooks/credential-card-styles.js.map +1 -1
  377. package/lib/module/index.js +3 -2
  378. package/lib/module/index.js.map +1 -1
  379. package/lib/module/localization/fr/fr.json +0 -1
  380. package/lib/module/localization/pt-br/pt-br.json +1 -2
  381. package/lib/module/modules/history/ui/HistoryPage.js +2 -2
  382. package/lib/module/modules/history/ui/HistoryPage.js.map +1 -1
  383. package/lib/module/modules/history/ui/HistorySettings.js +2 -2
  384. package/lib/module/modules/history/ui/HistorySettings.js.map +1 -1
  385. package/lib/module/modules/history/ui/components/HistoryListItem.js +2 -2
  386. package/lib/module/modules/history/ui/components/HistoryListItem.js.map +1 -1
  387. package/lib/module/modules/openid/components/OpenIDCredentialCard.js +5 -5
  388. package/lib/module/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
  389. package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
  390. package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
  391. package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
  392. package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
  393. package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js +3 -3
  394. package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
  395. package/lib/module/modules/openid/screens/OpenIDProofPresentation.js +4 -4
  396. package/lib/module/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
  397. package/lib/module/navigators/ContactStack.js +0 -16
  398. package/lib/module/navigators/ContactStack.js.map +1 -1
  399. package/lib/module/navigators/DeliveryStack.js +0 -16
  400. package/lib/module/navigators/DeliveryStack.js.map +1 -1
  401. package/lib/module/navigators/MainStack.js.map +1 -1
  402. package/lib/module/navigators/NotificationStack.js +0 -16
  403. package/lib/module/navigators/NotificationStack.js.map +1 -1
  404. package/lib/module/navigators/OnboardingScreens.js.map +1 -1
  405. package/lib/module/navigators/TabStack.js +2 -2
  406. package/lib/module/navigators/TabStack.js.map +1 -1
  407. package/lib/module/navigators/defaultStackOptions.js +3 -3
  408. package/lib/module/navigators/defaultStackOptions.js.map +1 -1
  409. package/lib/module/screens/AttemptLockout.js +2 -2
  410. package/lib/module/screens/AttemptLockout.js.map +1 -1
  411. package/lib/module/screens/AutoLock.js +7 -7
  412. package/lib/module/screens/AutoLock.js.map +1 -1
  413. package/lib/module/screens/Chat.js +2 -2
  414. package/lib/module/screens/Chat.js.map +1 -1
  415. package/lib/module/screens/ConfigureMediator.js +7 -7
  416. package/lib/module/screens/ConfigureMediator.js.map +1 -1
  417. package/lib/module/screens/ContactDetails.js +9 -9
  418. package/lib/module/screens/ContactDetails.js.map +1 -1
  419. package/lib/module/screens/CredentialDetails.js +16 -16
  420. package/lib/module/screens/CredentialDetails.js.map +1 -1
  421. package/lib/module/screens/CredentialOffer.js +2 -2
  422. package/lib/module/screens/CredentialOffer.js.map +1 -1
  423. package/lib/module/screens/DataRetention.js +11 -11
  424. package/lib/module/screens/DataRetention.js.map +1 -1
  425. package/lib/module/screens/Developer.js +29 -29
  426. package/lib/module/screens/Developer.js.map +1 -1
  427. package/lib/module/screens/Home.js +2 -2
  428. package/lib/module/screens/Home.js.map +1 -1
  429. package/lib/module/screens/JSONDetails.js +3 -3
  430. package/lib/module/screens/JSONDetails.js.map +1 -1
  431. package/lib/module/screens/Language.js +7 -7
  432. package/lib/module/screens/Language.js.map +1 -1
  433. package/lib/module/screens/ListContacts.js +3 -3
  434. package/lib/module/screens/ListContacts.js.map +1 -1
  435. package/lib/module/screens/ListCredentials.js +2 -2
  436. package/lib/module/screens/ListCredentials.js.map +1 -1
  437. package/lib/module/screens/ListProofRequests.js +2 -2
  438. package/lib/module/screens/ListProofRequests.js.map +1 -1
  439. package/lib/module/screens/MobileVerifierLoading.js +3 -3
  440. package/lib/module/screens/MobileVerifierLoading.js.map +1 -1
  441. package/lib/module/screens/PINChange.js +2 -4
  442. package/lib/module/screens/PINChange.js.map +1 -1
  443. package/lib/module/screens/PINCreate.js +2 -2
  444. package/lib/module/screens/PINCreate.js.map +1 -1
  445. package/lib/module/screens/PINEnter.js +5 -9
  446. package/lib/module/screens/PINEnter.js.map +1 -1
  447. package/lib/module/screens/PINExplainer.js +3 -3
  448. package/lib/module/screens/PINExplainer.js.map +1 -1
  449. package/lib/module/screens/PINVerify.js +2 -2
  450. package/lib/module/screens/PINVerify.js.map +1 -1
  451. package/lib/module/screens/PasteUrl.js +4 -4
  452. package/lib/module/screens/PasteUrl.js.map +1 -1
  453. package/lib/module/screens/ProofChangeCredential.js +2 -2
  454. package/lib/module/screens/ProofChangeCredential.js.map +1 -1
  455. package/lib/module/screens/ProofDetails.js +3 -3
  456. package/lib/module/screens/ProofDetails.js.map +1 -1
  457. package/lib/module/screens/ProofRequest.js +7 -7
  458. package/lib/module/screens/ProofRequest.js.map +1 -1
  459. package/lib/module/screens/ProofRequestAccept.js +3 -3
  460. package/lib/module/screens/ProofRequestAccept.js.map +1 -1
  461. package/lib/module/screens/ProofRequestDetails.js +4 -4
  462. package/lib/module/screens/ProofRequestDetails.js.map +1 -1
  463. package/lib/module/screens/ProofRequestUsageHistory.js +2 -2
  464. package/lib/module/screens/ProofRequestUsageHistory.js.map +1 -1
  465. package/lib/module/screens/ProofRequesting.js +5 -5
  466. package/lib/module/screens/ProofRequesting.js.map +1 -1
  467. package/lib/module/screens/RenameContact.js +2 -2
  468. package/lib/module/screens/RenameContact.js.map +1 -1
  469. package/lib/module/screens/Settings.js +5 -5
  470. package/lib/module/screens/Settings.js.map +1 -1
  471. package/lib/module/screens/Splash.js +2 -2
  472. package/lib/module/screens/Splash.js.map +1 -1
  473. package/lib/module/screens/Terms.js +1 -19
  474. package/lib/module/screens/Terms.js.map +1 -1
  475. package/lib/module/screens/ToggleBiometry.js +2 -2
  476. package/lib/module/screens/ToggleBiometry.js.map +1 -1
  477. package/lib/module/screens/TogglePushNotifications.js +5 -5
  478. package/lib/module/screens/TogglePushNotifications.js.map +1 -1
  479. package/lib/module/screens/Tours.js +5 -5
  480. package/lib/module/screens/Tours.js.map +1 -1
  481. package/lib/module/screens/UpdateAvailable.js +2 -2
  482. package/lib/module/screens/UpdateAvailable.js.map +1 -1
  483. package/lib/module/screens/WhatAreContacts.js +2 -2
  484. package/lib/module/screens/WhatAreContacts.js.map +1 -1
  485. package/lib/module/services/logger.js +32 -8
  486. package/lib/module/services/logger.js.map +1 -1
  487. package/lib/module/theme-builder.js +109 -0
  488. package/lib/module/theme-builder.js.map +1 -0
  489. package/lib/module/theme.interface.js +2 -0
  490. package/lib/module/theme.interface.js.map +1 -0
  491. package/lib/module/theme.js +888 -669
  492. package/lib/module/theme.js.map +1 -1
  493. package/lib/module/utils/credential.js +3 -3
  494. package/lib/module/utils/credential.js.map +1 -1
  495. package/lib/module/utils/mediatorhelpers.js +16 -12
  496. package/lib/module/utils/mediatorhelpers.js.map +1 -1
  497. package/lib/typescript/src/App.d.ts.map +1 -1
  498. package/lib/typescript/src/components/buttons/IconButton.d.ts.map +1 -1
  499. package/lib/typescript/src/components/chat/ChatActions.d.ts.map +1 -1
  500. package/lib/typescript/src/components/chat/ChatBubble.d.ts.map +1 -1
  501. package/lib/typescript/src/components/chat/MessageInput.d.ts.map +1 -1
  502. package/lib/typescript/src/components/listItems/ContactCredentialListItem.d.ts.map +1 -1
  503. package/lib/typescript/src/components/misc/CredentialCard11.d.ts.map +1 -1
  504. package/lib/typescript/src/components/misc/CredentialCard11ActionFooter.d.ts.map +1 -1
  505. package/lib/typescript/src/components/misc/PINHeader.d.ts.map +1 -1
  506. package/lib/typescript/src/components/tour/TourOverlay.d.ts.map +1 -1
  507. package/lib/typescript/src/components/views/Banner.d.ts.map +1 -1
  508. package/lib/typescript/src/container-api.d.ts.map +1 -1
  509. package/lib/typescript/src/contexts/navigation.d.ts.map +1 -1
  510. package/lib/typescript/src/contexts/network.d.ts.map +1 -1
  511. package/lib/typescript/src/contexts/reducers/store.d.ts +1 -3
  512. package/lib/typescript/src/contexts/reducers/store.d.ts.map +1 -1
  513. package/lib/typescript/src/contexts/store.d.ts.map +1 -1
  514. package/lib/typescript/src/contexts/theme.d.ts.map +1 -1
  515. package/lib/typescript/src/hooks/chat-messages.d.ts.map +1 -1
  516. package/lib/typescript/src/hooks/connections.d.ts.map +1 -1
  517. package/lib/typescript/src/hooks/credential-card-styles.d.ts +377 -15
  518. package/lib/typescript/src/hooks/credential-card-styles.d.ts.map +1 -1
  519. package/lib/typescript/src/hooks/credentials.d.ts.map +1 -1
  520. package/lib/typescript/src/hooks/developer-mode.d.ts.map +1 -1
  521. package/lib/typescript/src/hooks/notifications.d.ts.map +1 -1
  522. package/lib/typescript/src/hooks/oob.d.ts.map +1 -1
  523. package/lib/typescript/src/hooks/proof-request-templates.d.ts.map +1 -1
  524. package/lib/typescript/src/hooks/proofs.d.ts.map +1 -1
  525. package/lib/typescript/src/hooks/screen-capture.d.ts.map +1 -1
  526. package/lib/typescript/src/hooks/useOnboardingState.d.ts.map +1 -1
  527. package/lib/typescript/src/hooks/usePINValidation.d.ts.map +1 -1
  528. package/lib/typescript/src/index.d.ts +4 -3
  529. package/lib/typescript/src/index.d.ts.map +1 -1
  530. package/lib/typescript/src/localization/index.d.ts.map +1 -1
  531. package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts +2 -3
  532. package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts.map +1 -1
  533. package/lib/typescript/src/modules/openid/hooks/openid.d.ts.map +1 -1
  534. package/lib/typescript/src/modules/openid/offerResolve.d.ts.map +1 -1
  535. package/lib/typescript/src/modules/openid/resolverProof.d.ts.map +1 -1
  536. package/lib/typescript/src/modules/openid/utils/utils.d.ts.map +1 -1
  537. package/lib/typescript/src/navigators/ContactStack.d.ts.map +1 -1
  538. package/lib/typescript/src/navigators/DeliveryStack.d.ts.map +1 -1
  539. package/lib/typescript/src/navigators/NotificationStack.d.ts.map +1 -1
  540. package/lib/typescript/src/navigators/OnboardingScreens.d.ts +10 -10
  541. package/lib/typescript/src/navigators/OnboardingScreens.d.ts.map +1 -1
  542. package/lib/typescript/src/navigators/defaultStackOptions.d.ts +1 -1
  543. package/lib/typescript/src/navigators/defaultStackOptions.d.ts.map +1 -1
  544. package/lib/typescript/src/onboarding.d.ts.map +1 -1
  545. package/lib/typescript/src/screens/Chat.d.ts.map +1 -1
  546. package/lib/typescript/src/screens/ConfigureMediator.d.ts.map +1 -1
  547. package/lib/typescript/src/screens/CredentialDetails.d.ts +2 -2
  548. package/lib/typescript/src/screens/CredentialDetails.d.ts.map +1 -1
  549. package/lib/typescript/src/screens/Developer.d.ts.map +1 -1
  550. package/lib/typescript/src/screens/JSONDetails.d.ts.map +1 -1
  551. package/lib/typescript/src/screens/OnboardingPages.d.ts.map +1 -1
  552. package/lib/typescript/src/screens/PINChange.d.ts +2 -3
  553. package/lib/typescript/src/screens/PINChange.d.ts.map +1 -1
  554. package/lib/typescript/src/screens/PINEnter.d.ts.map +1 -1
  555. package/lib/typescript/src/screens/Terms.d.ts.map +1 -1
  556. package/lib/typescript/src/services/keychain.d.ts.map +1 -1
  557. package/lib/typescript/src/services/storage.d.ts.map +1 -1
  558. package/lib/typescript/src/theme-builder.d.ts +62 -0
  559. package/lib/typescript/src/theme-builder.d.ts.map +1 -0
  560. package/lib/typescript/src/theme.d.ts +204 -702
  561. package/lib/typescript/src/theme.d.ts.map +1 -1
  562. package/lib/typescript/src/theme.interface.d.ts +557 -0
  563. package/lib/typescript/src/theme.interface.d.ts.map +1 -0
  564. package/lib/typescript/src/types/navigators.d.ts +1 -0
  565. package/lib/typescript/src/types/navigators.d.ts.map +1 -1
  566. package/lib/typescript/src/types/state.d.ts +1 -2
  567. package/lib/typescript/src/types/state.d.ts.map +1 -1
  568. package/lib/typescript/src/utils/PINValidation.d.ts.map +1 -1
  569. package/lib/typescript/src/utils/agent.d.ts.map +1 -1
  570. package/lib/typescript/src/utils/anonCredsProofRequestMapper.d.ts.map +1 -1
  571. package/lib/typescript/src/utils/contacts.d.ts.map +1 -1
  572. package/lib/typescript/src/utils/credential.d.ts +1 -1
  573. package/lib/typescript/src/utils/credential.d.ts.map +1 -1
  574. package/lib/typescript/src/utils/crypto.d.ts.map +1 -1
  575. package/lib/typescript/src/utils/fileCache.d.ts.map +1 -1
  576. package/lib/typescript/src/utils/helpers.d.ts +1 -3
  577. package/lib/typescript/src/utils/helpers.d.ts.map +1 -1
  578. package/lib/typescript/src/utils/luminance.d.ts.map +1 -1
  579. package/lib/typescript/src/utils/mediatorhelpers.d.ts.map +1 -1
  580. package/lib/typescript/src/utils/migration.d.ts.map +1 -1
  581. package/lib/typescript/src/utils/network.d.ts.map +1 -1
  582. package/lib/typescript/src/utils/oca.d.ts.map +1 -1
  583. package/lib/typescript/src/utils/parsers.d.ts.map +1 -1
  584. package/lib/typescript/src/utils/proofBundle.d.ts.map +1 -1
  585. package/lib/typescript/src/utils/testable.d.ts.map +1 -1
  586. package/package.json +147 -148
  587. package/src/App.tsx +1 -1
  588. package/src/components/animated/ButtonLoading.tsx +2 -2
  589. package/src/components/animated/ConnectionLoading.tsx +3 -3
  590. package/src/components/animated/LoadingIndicator.tsx +2 -2
  591. package/src/components/animated/PresentationLoading.tsx +3 -3
  592. package/src/components/animated/RecordLoading.tsx +5 -5
  593. package/src/components/animated/SendingProof.tsx +3 -3
  594. package/src/components/animated/SentProof.tsx +3 -3
  595. package/src/components/buttons/Button.tsx +25 -25
  596. package/src/components/buttons/IconButton.tsx +5 -3
  597. package/src/components/buttons/ToggleButton.tsx +3 -3
  598. package/src/components/chat/ActionSlider.tsx +3 -3
  599. package/src/components/forms/WalletNameForm.tsx +2 -2
  600. package/src/components/inputs/BiometryControl.tsx +2 -2
  601. package/src/components/inputs/BulletPoint.tsx +2 -2
  602. package/src/components/listItems/ContactCredentialListItem.tsx +3 -3
  603. package/src/components/listItems/ContactListItem.tsx +2 -2
  604. package/src/components/listItems/NotificationListItem.tsx +22 -22
  605. package/src/components/misc/ConnectionAlert.tsx +5 -5
  606. package/src/components/misc/ConnectionImage.tsx +3 -3
  607. package/src/components/misc/CredentialCard.tsx +2 -2
  608. package/src/components/misc/CredentialCard10.tsx +6 -6
  609. package/src/components/misc/CredentialCard11.tsx +51 -23
  610. package/src/components/misc/CredentialCard11ActionFooter.tsx +3 -3
  611. package/src/components/misc/EmptyList.tsx +2 -2
  612. package/src/components/misc/EmptyListContacts.tsx +2 -2
  613. package/src/components/misc/FauxHeader.tsx +2 -2
  614. package/src/components/misc/InfoBox.tsx +29 -29
  615. package/src/components/misc/NoNewUpdates.tsx +2 -2
  616. package/src/components/misc/PINValidationHelper.tsx +3 -3
  617. package/src/components/misc/QRRenderer.tsx +2 -2
  618. package/src/components/misc/QRScanner.tsx +3 -3
  619. package/src/components/misc/QRScannerTorch.tsx +4 -4
  620. package/src/components/misc/SharedProofData.tsx +2 -2
  621. package/src/components/misc/UnorderedList.tsx +3 -3
  622. package/src/components/misc/VerifierCredentialCard.tsx +7 -7
  623. package/src/components/modals/AppGuideModal.tsx +7 -7
  624. package/src/components/modals/CameraDisclosureModal.tsx +4 -4
  625. package/src/components/modals/CommonRemoveModal.tsx +7 -7
  626. package/src/components/modals/DismissiblePopupModal.tsx +7 -7
  627. package/src/components/modals/ErrorModal.tsx +4 -4
  628. package/src/components/modals/ImageModal.tsx +4 -4
  629. package/src/components/modals/PopupModal.tsx +2 -2
  630. package/src/components/modals/ProofCancelModal.tsx +2 -2
  631. package/src/components/record/RecordFooter.tsx +2 -2
  632. package/src/components/record/RecordHeader.tsx +2 -2
  633. package/src/components/record/RecordRemove.tsx +5 -5
  634. package/src/components/texts/HighlightTextBox.tsx +3 -3
  635. package/src/components/texts/InfoTextBox.tsx +17 -17
  636. package/src/components/texts/Link.tsx +2 -2
  637. package/src/components/toast/BaseToast.tsx +17 -17
  638. package/src/components/tour/CredentialOfferTourSteps.tsx +2 -2
  639. package/src/components/tour/CredentialsTourSteps.tsx +2 -2
  640. package/src/components/tour/HomeTourSteps.tsx +6 -6
  641. package/src/components/tour/ProofRequestTourSteps.tsx +2 -2
  642. package/src/components/tour/TourBox.tsx +6 -6
  643. package/src/components/views/Banner.tsx +21 -14
  644. package/src/components/views/CredentialDetailPrimaryHeader.tsx +4 -4
  645. package/src/components/views/KeyboardView.tsx +2 -2
  646. package/src/components/views/ProgressBar.tsx +3 -3
  647. package/src/contexts/reducers/store.ts +4 -14
  648. package/src/contexts/store.tsx +0 -1
  649. package/src/hooks/chat-messages.tsx +3 -3
  650. package/src/hooks/credential-card-styles.ts +4 -4
  651. package/src/index.ts +4 -2
  652. package/src/localization/fr/fr.json +0 -1
  653. package/src/localization/pt-br/pt-br.json +1 -2
  654. package/src/modules/history/ui/HistoryPage.tsx +2 -2
  655. package/src/modules/history/ui/HistorySettings.tsx +4 -5
  656. package/src/modules/history/ui/components/HistoryListItem.tsx +2 -2
  657. package/src/modules/openid/components/OpenIDCredentialCard.tsx +5 -5
  658. package/src/modules/openid/screens/OpenIDCredentialDetails.tsx +2 -2
  659. package/src/modules/openid/screens/OpenIDCredentialOffer.tsx +2 -2
  660. package/src/modules/openid/screens/OpenIDProofChangeCredential.tsx +3 -3
  661. package/src/modules/openid/screens/OpenIDProofPresentation.tsx +4 -4
  662. package/src/navigators/ContactStack.tsx +0 -15
  663. package/src/navigators/DeliveryStack.tsx +0 -18
  664. package/src/navigators/MainStack.tsx +2 -2
  665. package/src/navigators/NotificationStack.tsx +0 -18
  666. package/src/navigators/OnboardingScreens.ts +10 -10
  667. package/src/navigators/TabStack.tsx +2 -2
  668. package/src/navigators/defaultStackOptions.tsx +3 -3
  669. package/src/screens/AttemptLockout.tsx +2 -2
  670. package/src/screens/AutoLock.tsx +7 -7
  671. package/src/screens/Chat.tsx +6 -2
  672. package/src/screens/ConfigureMediator.tsx +7 -7
  673. package/src/screens/ContactDetails.tsx +9 -9
  674. package/src/screens/CredentialDetails.tsx +21 -18
  675. package/src/screens/CredentialOffer.tsx +2 -2
  676. package/src/screens/DataRetention.tsx +11 -11
  677. package/src/screens/Developer.tsx +24 -22
  678. package/src/screens/Home.tsx +2 -2
  679. package/src/screens/JSONDetails.tsx +3 -3
  680. package/src/screens/Language.tsx +7 -7
  681. package/src/screens/ListContacts.tsx +3 -3
  682. package/src/screens/ListCredentials.tsx +2 -2
  683. package/src/screens/ListProofRequests.tsx +2 -2
  684. package/src/screens/MobileVerifierLoading.tsx +3 -3
  685. package/src/screens/PINChange.tsx +5 -6
  686. package/src/screens/PINCreate.tsx +2 -2
  687. package/src/screens/PINEnter.tsx +4 -9
  688. package/src/screens/PINExplainer.tsx +3 -3
  689. package/src/screens/PINVerify.tsx +2 -2
  690. package/src/screens/PasteUrl.tsx +4 -4
  691. package/src/screens/ProofChangeCredential.tsx +2 -2
  692. package/src/screens/ProofDetails.tsx +3 -3
  693. package/src/screens/ProofRequest.tsx +7 -7
  694. package/src/screens/ProofRequestAccept.tsx +3 -3
  695. package/src/screens/ProofRequestDetails.tsx +4 -4
  696. package/src/screens/ProofRequestUsageHistory.tsx +2 -2
  697. package/src/screens/ProofRequesting.tsx +5 -5
  698. package/src/screens/RenameContact.tsx +2 -2
  699. package/src/screens/Settings.tsx +5 -5
  700. package/src/screens/Splash.tsx +2 -2
  701. package/src/screens/Terms.tsx +3 -13
  702. package/src/screens/ToggleBiometry.tsx +2 -2
  703. package/src/screens/TogglePushNotifications.tsx +4 -4
  704. package/src/screens/Tours.tsx +5 -5
  705. package/src/screens/UpdateAvailable.tsx +2 -2
  706. package/src/screens/WhatAreContacts.tsx +2 -2
  707. package/src/services/logger.ts +8 -8
  708. package/src/theme-builder.ts +140 -0
  709. package/src/theme.interface.ts +580 -0
  710. package/src/theme.ts +881 -774
  711. package/src/types/navigators.ts +1 -0
  712. package/src/types/state.ts +1 -2
  713. package/src/utils/credential.ts +3 -3
  714. package/src/utils/mediatorhelpers.ts +23 -12
  715. package/lib/commonjs/hooks/onboarding.js +0 -23
  716. package/lib/commonjs/hooks/onboarding.js.map +0 -1
  717. package/lib/module/hooks/onboarding.js +0 -16
  718. package/lib/module/hooks/onboarding.js.map +0 -1
  719. package/lib/typescript/src/hooks/onboarding.d.ts +0 -2
  720. package/lib/typescript/src/hooks/onboarding.d.ts.map +0 -1
  721. package/src/hooks/onboarding.ts +0 -16
@@ -12,7 +12,7 @@ import { ThemedText } from '../components/texts/ThemedText'
12
12
  const Developer: React.FC = () => {
13
13
  const [store, dispatch] = useStore()
14
14
  const { t } = useTranslation()
15
- const { ColorPallet } = useTheme()
15
+ const { ColorPalette } = useTheme()
16
16
  const [useVerifierCapability, setUseVerifierCapability] = useState(!!store.preferences.useVerifierCapability)
17
17
  const [useConnectionInviterCapability, setConnectionInviterCapability] = useState(
18
18
  !!store.preferences.useConnectionInviterCapability
@@ -136,9 +136,9 @@ const Developer: React.FC = () => {
136
136
  testID={testIdWithKey('ToggleVerifierCapability')}
137
137
  >
138
138
  <Switch
139
- trackColor={{ false: ColorPallet.grayscale.lightGrey, true: ColorPallet.brand.primaryDisabled }}
140
- thumbColor={useVerifierCapability ? ColorPallet.brand.primary : ColorPallet.grayscale.mediumGrey}
141
- ios_backgroundColor={ColorPallet.grayscale.lightGrey}
139
+ trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
140
+ thumbColor={useVerifierCapability ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
141
+ ios_backgroundColor={ColorPalette.grayscale.lightGrey}
142
142
  onValueChange={toggleVerifierCapabilitySwitch}
143
143
  testID={testIdWithKey('VerifierCapabilitySwitchElement')}
144
144
  value={useVerifierCapability}
@@ -158,9 +158,9 @@ const Developer: React.FC = () => {
158
158
  testID={testIdWithKey('ToggleAcceptDevCredentials')}
159
159
  >
160
160
  <Switch
161
- trackColor={{ false: ColorPallet.grayscale.lightGrey, true: ColorPallet.brand.primaryDisabled }}
162
- thumbColor={acceptDevCredentials ? ColorPallet.brand.primary : ColorPallet.grayscale.mediumGrey}
163
- ios_backgroundColor={ColorPallet.grayscale.lightGrey}
161
+ trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
162
+ thumbColor={acceptDevCredentials ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
163
+ ios_backgroundColor={ColorPalette.grayscale.lightGrey}
164
164
  onValueChange={toggleAcceptDevCredentialsSwitch}
165
165
  testID={testIdWithKey('AcceptDevCredentialsSwitchElement')}
166
166
  value={acceptDevCredentials}
@@ -180,9 +180,11 @@ const Developer: React.FC = () => {
180
180
  testID={testIdWithKey('ToggleConnectionInviterCapabilitySwitch')}
181
181
  >
182
182
  <Switch
183
- trackColor={{ false: ColorPallet.grayscale.lightGrey, true: ColorPallet.brand.primaryDisabled }}
184
- thumbColor={useConnectionInviterCapability ? ColorPallet.brand.primary : ColorPallet.grayscale.mediumGrey}
185
- ios_backgroundColor={ColorPallet.grayscale.lightGrey}
183
+ trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
184
+ thumbColor={
185
+ useConnectionInviterCapability ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey
186
+ }
187
+ ios_backgroundColor={ColorPalette.grayscale.lightGrey}
186
188
  onValueChange={toggleConnectionInviterCapabilitySwitch}
187
189
  testID={testIdWithKey('ConnectionInviterCapabilitySwitchElement')}
188
190
  value={useConnectionInviterCapability}
@@ -202,9 +204,9 @@ const Developer: React.FC = () => {
202
204
  testID={testIdWithKey('ToggleDevVerifierTemplatesSwitch')}
203
205
  >
204
206
  <Switch
205
- trackColor={{ false: ColorPallet.grayscale.lightGrey, true: ColorPallet.brand.primaryDisabled }}
206
- thumbColor={useDevVerifierTemplates ? ColorPallet.brand.primary : ColorPallet.grayscale.mediumGrey}
207
- ios_backgroundColor={ColorPallet.grayscale.lightGrey}
207
+ trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
208
+ thumbColor={useDevVerifierTemplates ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
209
+ ios_backgroundColor={ColorPalette.grayscale.lightGrey}
208
210
  onValueChange={toggleDevVerifierTemplatesSwitch}
209
211
  testID={testIdWithKey('DevVerifierTemplatesSwitchElement')}
210
212
  value={useDevVerifierTemplates}
@@ -225,9 +227,9 @@ const Developer: React.FC = () => {
225
227
  testID={testIdWithKey('ToggleEnableWalletNamingSwitch')}
226
228
  >
227
229
  <Switch
228
- trackColor={{ false: ColorPallet.grayscale.lightGrey, true: ColorPallet.brand.primaryDisabled }}
229
- thumbColor={enableWalletNaming ? ColorPallet.brand.primary : ColorPallet.grayscale.mediumGrey}
230
- ios_backgroundColor={ColorPallet.grayscale.lightGrey}
230
+ trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
231
+ thumbColor={enableWalletNaming ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
232
+ ios_backgroundColor={ColorPalette.grayscale.lightGrey}
231
233
  onValueChange={toggleWalletNamingSwitch}
232
234
  testID={testIdWithKey('EnableWalletNamingSwitchElement')}
233
235
  value={enableWalletNaming}
@@ -248,9 +250,9 @@ const Developer: React.FC = () => {
248
250
  testID={testIdWithKey('TogglePreventAutoLockSwitch')}
249
251
  >
250
252
  <Switch
251
- trackColor={{ false: ColorPallet.grayscale.lightGrey, true: ColorPallet.brand.primaryDisabled }}
252
- thumbColor={preventAutoLock ? ColorPallet.brand.primary : ColorPallet.grayscale.mediumGrey}
253
- ios_backgroundColor={ColorPallet.grayscale.lightGrey}
253
+ trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
254
+ thumbColor={preventAutoLock ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
255
+ ios_backgroundColor={ColorPalette.grayscale.lightGrey}
254
256
  onValueChange={togglePreventAutoLockSwitch}
255
257
  testID={testIdWithKey('PreventAutoLockSwitchElement')}
256
258
  value={preventAutoLock}
@@ -270,9 +272,9 @@ const Developer: React.FC = () => {
270
272
  testID={testIdWithKey('ToggleUseShareableLink')}
271
273
  >
272
274
  <Switch
273
- trackColor={{ false: ColorPallet.grayscale.lightGrey, true: ColorPallet.brand.primaryDisabled }}
274
- thumbColor={enableShareableLink ? ColorPallet.brand.primary : ColorPallet.grayscale.mediumGrey}
275
- ios_backgroundColor={ColorPallet.grayscale.lightGrey}
275
+ trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
276
+ thumbColor={enableShareableLink ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
277
+ ios_backgroundColor={ColorPalette.grayscale.lightGrey}
276
278
  onValueChange={toggleShareableLinkSwitch}
277
279
  testID={testIdWithKey('ShareableLinkSwitchElement')}
278
280
  value={enableShareableLink}
@@ -34,7 +34,7 @@ const Home: React.FC<HomeProps> = () => {
34
34
  ])
35
35
  const notifications = useNotifications({})
36
36
  const { t } = useTranslation()
37
- const { ColorPallet } = useTheme()
37
+ const { ColorPalette } = useTheme()
38
38
  const [store, dispatch] = useStore()
39
39
  const { start, stop } = useTour()
40
40
  const [showTourPopup, setShowTourPopup] = useState(false)
@@ -148,7 +148,7 @@ const Home: React.FC<HomeProps> = () => {
148
148
  paddingHorizontal: 20,
149
149
  paddingTop: index === 0 ? 20 : 0,
150
150
  paddingBottom: index === notifications.length - 1 ? 20 : 10,
151
- backgroundColor: ColorPallet.brand.secondaryBackground,
151
+ backgroundColor: ColorPalette.brand.secondaryBackground,
152
152
  }}
153
153
  >
154
154
  {DisplayListItemType(item)}
@@ -19,12 +19,12 @@ const JSONDetails = ({ route }: JSONDetailsProps) => {
19
19
  throw new Error('JSONDetails route params were not set properly')
20
20
  }
21
21
  const { t } = useTranslation()
22
- const { ColorPallet } = useTheme()
22
+ const { ColorPalette } = useTheme()
23
23
  const { jsonBlob } = route.params
24
24
  const styles = StyleSheet.create({
25
25
  container: {
26
26
  flex: 1,
27
- backgroundColor: ColorPallet.brand.primaryBackground,
27
+ backgroundColor: ColorPalette.brand.primaryBackground,
28
28
  padding: 20,
29
29
  },
30
30
  title: {
@@ -36,7 +36,7 @@ const JSONDetails = ({ route }: JSONDetailsProps) => {
36
36
  },
37
37
  jsonContainer: {
38
38
  padding: 16,
39
- backgroundColor: ColorPallet.brand.secondaryBackground,
39
+ backgroundColor: ColorPalette.brand.secondaryBackground,
40
40
  height: '75%',
41
41
  borderWidth: 1,
42
42
  borderStyle: 'solid',
@@ -17,7 +17,7 @@ interface Language {
17
17
 
18
18
  const Language = () => {
19
19
  const { t, i18n } = useTranslation()
20
- const { ColorPallet, SettingsTheme } = useTheme()
20
+ const { ColorPalette, SettingsTheme } = useTheme()
21
21
  const [{ supportedLanguages }] = useServices([TOKENS.CONFIG])
22
22
 
23
23
  const languages: Language[] = supportedLanguages.map((lang) => ({
@@ -27,7 +27,7 @@ const Language = () => {
27
27
 
28
28
  const styles = StyleSheet.create({
29
29
  container: {
30
- backgroundColor: ColorPallet.brand.primaryBackground,
30
+ backgroundColor: ColorPalette.brand.primaryBackground,
31
31
  width: '100%',
32
32
  },
33
33
  section: {
@@ -42,7 +42,7 @@ const Language = () => {
42
42
  },
43
43
  itemSeparator: {
44
44
  borderBottomWidth: 1,
45
- borderBottomColor: ColorPallet.brand.primaryBackground,
45
+ borderBottomColor: ColorPalette.brand.primaryBackground,
46
46
  marginHorizontal: 25,
47
47
  },
48
48
  })
@@ -71,11 +71,11 @@ const Language = () => {
71
71
  accessibilityLabel={`${id === i18n.language ? t('Language.Checked') : t('Language.NotChecked')}`} // add on voice over the text checked / not checked after the text from value above
72
72
  accessibilityRole="radio"
73
73
  disableText
74
- fillColor={ColorPallet.brand.secondaryBackground}
75
- unfillColor={ColorPallet.brand.secondaryBackground}
74
+ fillColor={ColorPalette.brand.secondaryBackground}
75
+ unfillColor={ColorPalette.brand.secondaryBackground}
76
76
  size={36}
77
- innerIconStyle={{ borderColor: ColorPallet.brand.primary, borderWidth: 2 }}
78
- ImageComponent={() => <Icon name="circle" size={18} color={ColorPallet.brand.primary}></Icon>}
77
+ innerIconStyle={{ borderColor: ColorPalette.brand.primary, borderWidth: 2 }}
78
+ ImageComponent={() => <Icon name="circle" size={18} color={ColorPalette.brand.primary}></Icon>}
79
79
  onPress={async () => await handleLanguageChange(language)}
80
80
  isChecked={id === i18n.language}
81
81
  disableBuiltInState
@@ -22,7 +22,7 @@ interface ListContactsProps {
22
22
  }
23
23
 
24
24
  const ListContacts: React.FC<ListContactsProps> = ({ navigation }) => {
25
- const { ColorPallet } = useTheme()
25
+ const { ColorPalette } = useTheme()
26
26
  const { t } = useTranslation()
27
27
  const { agent } = useAgent()
28
28
  const [connections, setConnections] = useState<ConnectionRecord[]>([])
@@ -35,10 +35,10 @@ const ListContacts: React.FC<ListContactsProps> = ({ navigation }) => {
35
35
  ])
36
36
  const style = StyleSheet.create({
37
37
  list: {
38
- backgroundColor: ColorPallet.brand.secondaryBackground,
38
+ backgroundColor: ColorPalette.brand.secondaryBackground,
39
39
  },
40
40
  itemSeparator: {
41
- backgroundColor: ColorPallet.brand.primaryBackground,
41
+ backgroundColor: ColorPalette.brand.primaryBackground,
42
42
  height: 1,
43
43
  marginHorizontal: 16,
44
44
  },
@@ -37,7 +37,7 @@ const ListCredentials: React.FC = () => {
37
37
  TOKENS.CONFIG,
38
38
  ])
39
39
  const navigation = useNavigation<StackNavigationProp<RootStackParams>>()
40
- const { ColorPallet } = useTheme()
40
+ const { ColorPalette } = useTheme()
41
41
  const { start, stop } = useTour()
42
42
  const screenIsFocused = useIsFocused()
43
43
  const {
@@ -108,7 +108,7 @@ const ListCredentials: React.FC = () => {
108
108
  return (
109
109
  <View>
110
110
  <FlatList
111
- style={{ backgroundColor: ColorPallet.brand.primaryBackground }}
111
+ style={{ backgroundColor: ColorPalette.brand.primaryBackground }}
112
112
  data={credentials.sort((a, b) => new Date(b.createdAt).valueOf() - new Date(a.createdAt).valueOf())}
113
113
  keyExtractor={(credential) => credential.id}
114
114
  renderItem={({ item: credential, index }) => {
@@ -112,7 +112,7 @@ type ListProofRequestsProps = StackScreenProps<ProofRequestsStackParams, Screens
112
112
 
113
113
  const ListProofRequests: React.FC<ListProofRequestsProps> = ({ navigation, route }) => {
114
114
  const { t } = useTranslation()
115
- const { ColorPallet } = useTheme()
115
+ const { ColorPalette } = useTheme()
116
116
  const [store] = useStore()
117
117
 
118
118
  const style = StyleSheet.create({
@@ -133,7 +133,7 @@ const ListProofRequests: React.FC<ListProofRequestsProps> = ({ navigation, route
133
133
  return (
134
134
  <SafeAreaView style={style.container} edges={['left', 'right']}>
135
135
  <FlatList
136
- style={{ backgroundColor: ColorPallet.brand.primaryBackground }}
136
+ style={{ backgroundColor: ColorPalette.brand.primaryBackground }}
137
137
  data={proofRequestTemplates}
138
138
  keyExtractor={(records) => records.id}
139
139
  renderItem={({ item }) => {
@@ -21,7 +21,7 @@ const MobileVerifierLoading: React.FC<MobileVerifierLoadingProps> = ({ navigatio
21
21
  const goalCode = useOutOfBandByConnectionId(connectionId)?.outOfBandInvitation.goalCode
22
22
  const proofRecord = useProofById(proofId)
23
23
  const { t } = useTranslation()
24
- const { ColorPallet, TextTheme } = useTheme()
24
+ const { ColorPalette, TextTheme } = useTheme()
25
25
  const { agent } = useAgent()
26
26
 
27
27
  if (!agent) {
@@ -31,7 +31,7 @@ const MobileVerifierLoading: React.FC<MobileVerifierLoadingProps> = ({ navigatio
31
31
  const styles = StyleSheet.create({
32
32
  container: {
33
33
  height: '100%',
34
- backgroundColor: ColorPallet.brand.modalPrimaryBackground,
34
+ backgroundColor: ColorPalette.brand.modalPrimaryBackground,
35
35
  padding: 20,
36
36
  },
37
37
  image: {
@@ -73,7 +73,7 @@ const MobileVerifierLoading: React.FC<MobileVerifierLoadingProps> = ({ navigatio
73
73
 
74
74
  return (
75
75
  <SafeAreaModal transparent animationType={'slide'}>
76
- <SafeAreaView style={{ backgroundColor: ColorPallet.brand.modalPrimaryBackground }}>
76
+ <SafeAreaView style={{ backgroundColor: ColorPalette.brand.modalPrimaryBackground }}>
77
77
  <ScrollView style={styles.container}>
78
78
  <View style={styles.messageContainer}>
79
79
  <ThemedText
@@ -1,4 +1,4 @@
1
- import { ParamListBase, useNavigation } from '@react-navigation/native'
1
+ import { useNavigation } from '@react-navigation/native'
2
2
  import { StackNavigationProp, StackScreenProps } from '@react-navigation/stack'
3
3
  import React, { useCallback, useMemo, useRef, useState } from 'react'
4
4
  import { useTranslation } from 'react-i18next'
@@ -13,7 +13,6 @@ import {
13
13
  View,
14
14
  } from 'react-native'
15
15
 
16
- // eslint-disable-next-line import/no-named-as-default
17
16
  import { ButtonType } from '../components/buttons/Button-api'
18
17
  import PINInput from '../components/inputs/PINInput'
19
18
  import PINValidationHelper from '../components/misc/PINValidationHelper'
@@ -29,11 +28,11 @@ import usePreventScreenCapture from '../hooks/screen-capture'
29
28
  import { usePINValidation } from '../hooks/usePINValidation'
30
29
  import { HistoryCardType, HistoryRecord } from '../modules/history/types'
31
30
  import { BifoldError } from '../types/error'
32
- import { OnboardingStackParams, Screens } from '../types/navigators'
31
+ import { OnboardingStackParams, Screens, SettingStackParams } from '../types/navigators'
33
32
  import { useAppAgent } from '../utils/agent'
34
33
  import { testIdWithKey } from '../utils/testable'
35
34
 
36
- const PINChange: React.FC<StackScreenProps<ParamListBase, Screens.ChangePIN>> = () => {
35
+ const PINChange: React.FC<StackScreenProps<SettingStackParams, Screens.ChangePIN>> = () => {
37
36
  const { agent } = useAppAgent()
38
37
  const { checkWalletPIN, rekeyWallet } = useAuth()
39
38
  const [PIN, setPIN] = useState('')
@@ -43,7 +42,7 @@ const PINChange: React.FC<StackScreenProps<ParamListBase, Screens.ChangePIN>> =
43
42
  const navigation = useNavigation<StackNavigationProp<OnboardingStackParams>>()
44
43
  const [store] = useStore()
45
44
  const { t } = useTranslation()
46
- const { ColorPallet } = useTheme()
45
+ const { ColorPalette } = useTheme()
47
46
  const { ButtonLoading } = useAnimatedComponents()
48
47
  const PINTwoInputRef = useRef<TextInput>(null)
49
48
  const createPINButtonRef = useRef<TouchableOpacity>(null)
@@ -83,7 +82,7 @@ const PINChange: React.FC<StackScreenProps<ParamListBase, Screens.ChangePIN>> =
83
82
  const style = StyleSheet.create({
84
83
  screenContainer: {
85
84
  height: '100%',
86
- backgroundColor: ColorPallet.brand.primaryBackground,
85
+ backgroundColor: ColorPalette.brand.primaryBackground,
87
86
  padding: 20,
88
87
  justifyContent: 'space-between',
89
88
  },
@@ -45,7 +45,7 @@ const PINCreate: React.FC<PINCreateProps> = ({ setAuthenticated, explainedStatus
45
45
  const [, dispatch] = useStore()
46
46
  const { t } = useTranslation()
47
47
 
48
- const { ColorPallet } = useTheme()
48
+ const { ColorPalette } = useTheme()
49
49
  const { ButtonLoading } = useAnimatedComponents()
50
50
  const PINTwoInputRef = useRef<TextInput>(null)
51
51
  const createPINButtonRef = useRef<TouchableOpacity>(null)
@@ -65,7 +65,7 @@ const PINCreate: React.FC<PINCreateProps> = ({ setAuthenticated, explainedStatus
65
65
  const style = StyleSheet.create({
66
66
  screenContainer: {
67
67
  height: '100%',
68
- backgroundColor: ColorPallet.brand.primaryBackground,
68
+ backgroundColor: ColorPalette.brand.primaryBackground,
69
69
  padding: 20,
70
70
  justifyContent: 'space-between',
71
71
  },
@@ -19,7 +19,6 @@ import { useStore } from '../contexts/store'
19
19
  import { useTheme } from '../contexts/theme'
20
20
  import { useDeveloperMode } from '../hooks/developer-mode'
21
21
  import { useLockout } from '../hooks/lockout'
22
- import { useGotoPostAuthScreens } from '../hooks/onboarding'
23
22
  import usePreventScreenCapture from '../hooks/screen-capture'
24
23
  import { BifoldError } from '../types/error'
25
24
  import { testIdWithKey } from '../utils/testable'
@@ -41,7 +40,7 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
41
40
  const [forgotPINModalVisible, setForgotPINModalVisible] = useState(false)
42
41
  const [devModalVisible, setDevModalVisible] = useState(false)
43
42
  const [biometricsEnrollmentChange, setBiometricsEnrollmentChange] = useState(false)
44
- const { ColorPallet, TextTheme } = useTheme()
43
+ const { ColorPalette, TextTheme } = useTheme()
45
44
  const { ButtonLoading } = useAnimatedComponents()
46
45
  const [
47
46
  logger,
@@ -61,7 +60,6 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
61
60
  setDevModalVisible(true)
62
61
  }
63
62
  const { incrementDeveloperMenuCounter } = useDeveloperMode(onDevModeTriggered)
64
- const gotoPostAuthScreens = useGotoPostAuthScreens()
65
63
  const isContinueDisabled = inlineMessages.enabled ? !continueEnabled : !continueEnabled || PIN.length < minPINLength
66
64
  usePreventScreenCapture(preventScreenCapture)
67
65
 
@@ -89,9 +87,8 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
89
87
  payload: [{ loginAttempts: 0 }],
90
88
  })
91
89
  setAuthenticated(true)
92
- gotoPostAuthScreens()
93
90
  }
94
- }, [getWalletSecret, dispatch, setAuthenticated, gotoPostAuthScreens])
91
+ }, [getWalletSecret, dispatch, setAuthenticated])
95
92
 
96
93
  useEffect(() => {
97
94
  const handle = InteractionManager.runAfterInteractions(async () => {
@@ -189,7 +186,6 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
189
186
  payload: [{ displayNotification: false }],
190
187
  })
191
188
  setAuthenticated(true)
192
- gotoPostAuthScreens()
193
189
  } catch (err: unknown) {
194
190
  const error = new BifoldError(
195
191
  t('Error.Title1041'),
@@ -207,7 +203,6 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
207
203
  getLockoutPenalty,
208
204
  dispatch,
209
205
  setAuthenticated,
210
- gotoPostAuthScreens,
211
206
  t,
212
207
  attemptLockout,
213
208
  inlineMessages,
@@ -241,7 +236,7 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
241
236
  height: '100%',
242
237
  padding: 20,
243
238
  justifyContent: 'space-between',
244
- backgroundColor: ColorPallet.brand.primaryBackground,
239
+ backgroundColor: ColorPalette.brand.primaryBackground,
245
240
  },
246
241
  buttonContainer: {
247
242
  width: '100%',
@@ -269,7 +264,7 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
269
264
  marginBottom: 20,
270
265
  },
271
266
  forgotPINText: {
272
- color: ColorPallet.brand.link,
267
+ color: ColorPalette.brand.link,
273
268
  fontSize: 20,
274
269
  },
275
270
  buildNumberText: {
@@ -15,12 +15,12 @@ export interface PINExplainerProps {
15
15
 
16
16
  const PINExplainer: React.FC<PINExplainerProps> = ({ continueCreatePIN }) => {
17
17
  const { t } = useTranslation()
18
- const { ColorPallet, TextTheme, Assets } = useTheme()
18
+ const { ColorPalette, TextTheme, Assets } = useTheme()
19
19
 
20
20
  const style = StyleSheet.create({
21
21
  safeAreaView: {
22
22
  flex: 1,
23
- backgroundColor: ColorPallet.brand.primaryBackground,
23
+ backgroundColor: ColorPalette.brand.primaryBackground,
24
24
  },
25
25
  scrollViewContentContainer: {
26
26
  padding: 20,
@@ -37,7 +37,7 @@ const PINExplainer: React.FC<PINExplainerProps> = ({ continueCreatePIN }) => {
37
37
  })
38
38
 
39
39
  const imageDisplayOptions = {
40
- fill: ColorPallet.notification.infoText,
40
+ fill: ColorPalette.notification.infoText,
41
41
  height: 150,
42
42
  width: 150,
43
43
  }
@@ -34,7 +34,7 @@ const PINVerify: React.FC<Props> = ({ setAuthenticated, usage = PINEntryUsage.PI
34
34
  const [continueDisabled, setContinueDisabled] = useState(false)
35
35
  const [loading, setLoading] = useState(false)
36
36
  const [alertModalVisible, setAlertModalVisible] = useState<boolean>(false)
37
- const { ColorPallet } = useTheme()
37
+ const { ColorPalette } = useTheme()
38
38
  const { ButtonLoading } = useAnimatedComponents()
39
39
  const [inlineMessageField, setInlineMessageField] = useState<InlineMessageProps>()
40
40
  const [{ preventScreenCapture }] = useServices([TOKENS.CONFIG])
@@ -94,7 +94,7 @@ const PINVerify: React.FC<Props> = ({ setAuthenticated, usage = PINEntryUsage.PI
94
94
  screenContainer: {
95
95
  flex: 1,
96
96
  padding: 20,
97
- backgroundColor: ColorPallet.brand.primaryBackground,
97
+ backgroundColor: ColorPalette.brand.primaryBackground,
98
98
  justifyContent: 'space-between',
99
99
  },
100
100
  buttonContainer: {
@@ -18,7 +18,7 @@ import { ThemedText } from '../components/texts/ThemedText'
18
18
  export type PasteProps = StackScreenProps<ConnectStackParams>
19
19
 
20
20
  const PasteUrl: React.FC<PasteProps> = ({ navigation }) => {
21
- const { ColorPallet, TextTheme } = useTheme()
21
+ const { ColorPalette, TextTheme } = useTheme()
22
22
  const [pastedContent, setPastedContent] = useState<string>('')
23
23
  const [errorMessage, setErrorMessage] = useState<{ title: string; message: string } | undefined>()
24
24
  const { t } = useTranslation()
@@ -30,7 +30,7 @@ const PasteUrl: React.FC<PasteProps> = ({ navigation }) => {
30
30
  const styles = StyleSheet.create({
31
31
  container: {
32
32
  flex: 1,
33
- backgroundColor: ColorPallet.brand.primaryBackground,
33
+ backgroundColor: ColorPalette.brand.primaryBackground,
34
34
  },
35
35
  content: {
36
36
  margin: 20,
@@ -41,10 +41,10 @@ const PasteUrl: React.FC<PasteProps> = ({ navigation }) => {
41
41
  textBox: {
42
42
  ...TextTheme.normal,
43
43
  textAlignVertical: 'top',
44
- borderColor: ColorPallet.grayscale.darkGrey,
44
+ borderColor: ColorPalette.grayscale.darkGrey,
45
45
  borderWidth: 1,
46
46
  borderRadius: 5,
47
- backgroundColor: ColorPallet.grayscale.lightGrey,
47
+ backgroundColor: ColorPalette.grayscale.lightGrey,
48
48
  },
49
49
  buttonContainer: {
50
50
  margin: 20,
@@ -32,7 +32,7 @@ const ProofChangeCredential: React.FC<ProofChangeProps> = ({ route, navigation }
32
32
  const selectedCred = route.params.selectedCred
33
33
  const altCredentials = route.params.altCredentials
34
34
  const onCredChange = route.params.onCredChange
35
- const { ColorPallet, SelectedCredTheme } = useTheme()
35
+ const { ColorPalette, SelectedCredTheme } = useTheme()
36
36
  const { t } = useTranslation()
37
37
  const [loading, setLoading] = useState(false)
38
38
  const [proofItems, setProofItems] = useState<ProofCredentialItems[]>([])
@@ -46,7 +46,7 @@ const ProofChangeCredential: React.FC<ProofChangeProps> = ({ route, navigation }
46
46
  marginHorizontal: 20,
47
47
  },
48
48
  cardLoading: {
49
- backgroundColor: ColorPallet.brand.secondaryBackground,
49
+ backgroundColor: ColorPalette.brand.secondaryBackground,
50
50
  flex: 1,
51
51
  flexGrow: 1,
52
52
  marginVertical: 35,
@@ -47,21 +47,21 @@ const VerifiedProof: React.FC<VerifiedProofProps> = ({
47
47
  onGenerateNewPressed,
48
48
  }: VerifiedProofProps) => {
49
49
  const { t } = useTranslation()
50
- const { ColorPallet, TextTheme, Assets } = useTheme()
50
+ const { ColorPalette, TextTheme, Assets } = useTheme()
51
51
  const [sharedProofDataItems, setSharedProofDataItems] = useState<GroupedSharedProofDataItem[]>([])
52
52
  const styles = StyleSheet.create({
53
53
  container: {
54
54
  flexGrow: 1,
55
55
  },
56
56
  iconContainer: {
57
- backgroundColor: ColorPallet.notification.info,
57
+ backgroundColor: ColorPalette.notification.info,
58
58
  width: 100,
59
59
  height: 100,
60
60
  alignItems: 'center',
61
61
  justifyContent: 'center',
62
62
  marginBottom: 15,
63
63
  borderRadius: 50,
64
- borderColor: ColorPallet.notification.infoBorder,
64
+ borderColor: ColorPalette.notification.infoBorder,
65
65
  borderWidth: 3,
66
66
  alignSelf: 'center',
67
67
  overflow: 'hidden',
@@ -103,7 +103,7 @@ const ProofRequest: React.FC<ProofRequestProps> = ({ navigation, proofId }) => {
103
103
  const [loading, setLoading] = useState<boolean>(true)
104
104
  const [declineModalVisible, setDeclineModalVisible] = useState(false)
105
105
  const [cancelModalVisible, setCancelModalVisible] = useState(false)
106
- const { ColorPallet, ListItems, TextTheme } = useTheme()
106
+ const { ColorPalette, ListItems, TextTheme } = useTheme()
107
107
  const goalCode = useOutOfBandByConnectionId(proof?.connectionId ?? '')?.outOfBandInvitation.goalCode
108
108
  const outOfBandInvitation = useOutOfBandByReceivedInvitationId(proof?.parentThreadId ?? '')?.outOfBandInvitation
109
109
  const [containsPI, setContainsPI] = useState(false)
@@ -174,7 +174,7 @@ const ProofRequest: React.FC<ProofRequestProps> = ({ navigation, proofId }) => {
174
174
  },
175
175
  detailsButton: {
176
176
  ...ListItems.recordAttributeText,
177
- color: ColorPallet.brand.link,
177
+ color: ColorPalette.brand.link,
178
178
  textDecorationLine: 'underline',
179
179
  },
180
180
  })
@@ -703,14 +703,14 @@ const ProofRequest: React.FC<ProofRequestProps> = ({ navigation, proofId }) => {
703
703
  alignSelf: 'center',
704
704
  flex: 1,
705
705
  flexWrap: 'wrap',
706
- color: ColorPallet.notification.errorText,
706
+ color: ColorPalette.notification.errorText,
707
707
  }}
708
708
  >
709
709
  {t('ProofRequest.YouCantRespond')}{' '}
710
710
  <ThemedText
711
711
  style={{
712
712
  fontWeight: TextTheme.normal.fontWeight,
713
- color: ColorPallet.brand.link,
713
+ color: ColorPalette.brand.link,
714
714
  }}
715
715
  onPress={() => setShowDetailsModal(true)}
716
716
  >
@@ -907,7 +907,7 @@ const ProofRequest: React.FC<ProofRequestProps> = ({ navigation, proofId }) => {
907
907
  flexDirection: 'column',
908
908
  justifyContent: 'center',
909
909
  alignItems: 'center',
910
- backgroundColor: ColorPallet.brand.primaryBackground,
910
+ backgroundColor: ColorPalette.brand.primaryBackground,
911
911
  }}
912
912
  >
913
913
  <InfoBox
@@ -931,7 +931,7 @@ const ProofRequest: React.FC<ProofRequestProps> = ({ navigation, proofId }) => {
931
931
  flexDirection: 'column',
932
932
  justifyContent: 'center',
933
933
  alignItems: 'center',
934
- backgroundColor: ColorPallet.brand.primaryBackground,
934
+ backgroundColor: ColorPalette.brand.primaryBackground,
935
935
  }}
936
936
  >
937
937
  <InfoBox
@@ -965,7 +965,7 @@ const ProofRequest: React.FC<ProofRequestProps> = ({ navigation, proofId }) => {
965
965
  style={{
966
966
  width: 'auto',
967
967
  borderWidth: 1,
968
- borderColor: ColorPallet.grayscale.lightGrey,
968
+ borderColor: ColorPalette.grayscale.lightGrey,
969
969
  marginTop: 20,
970
970
  }}
971
971
  />
@@ -25,13 +25,13 @@ const ProofRequestAccept: React.FC<ProofRequestAcceptProps> = ({ visible, proofI
25
25
  const [proofDeliveryStatus, setProofDeliveryStatus] = useState<ProofState>(ProofState.RequestReceived)
26
26
  const proof = useProofById(proofId)
27
27
  const navigation = useNavigation()
28
- const { ColorPallet, TextTheme } = useTheme()
28
+ const { ColorPalette, TextTheme } = useTheme()
29
29
  const { SendingProof, SentProof } = useAnimatedComponents()
30
30
 
31
31
  const styles = StyleSheet.create({
32
32
  container: {
33
33
  height: '100%',
34
- backgroundColor: ColorPallet.brand.modalPrimaryBackground,
34
+ backgroundColor: ColorPalette.brand.modalPrimaryBackground,
35
35
  padding: 20,
36
36
  },
37
37
  image: {
@@ -82,7 +82,7 @@ const ProofRequestAccept: React.FC<ProofRequestAcceptProps> = ({ visible, proofI
82
82
 
83
83
  return (
84
84
  <SafeAreaModal visible={visible} transparent={true} animationType={'none'}>
85
- <SafeAreaView style={{ backgroundColor: ColorPallet.brand.modalPrimaryBackground }}>
85
+ <SafeAreaView style={{ backgroundColor: ColorPalette.brand.modalPrimaryBackground }}>
86
86
  <ScrollView style={styles.container}>
87
87
  <View style={styles.messageContainer}>
88
88
  {proofDeliveryStatus === ProofState.RequestReceived && (
@@ -36,7 +36,7 @@ interface ProofRequestAttributesCardProps {
36
36
  }
37
37
 
38
38
  const ProofRequestAttributesCard: React.FC<ProofRequestAttributesCardProps> = ({ data, onChangeValue }) => {
39
- const { ColorPallet } = useTheme()
39
+ const { ColorPalette } = useTheme()
40
40
  const { i18n } = useTranslation()
41
41
  const [bundleResolver] = useServices([TOKENS.UTIL_OCA_RESOLVER])
42
42
  const [attributes, setAttributes] = useState<Field[] | undefined>(undefined)
@@ -67,7 +67,7 @@ const ProofRequestAttributesCard: React.FC<ProofRequestAttributesCardProps> = ({
67
67
  <VerifierCredentialCard
68
68
  onChangeValue={onChangeValue}
69
69
  displayItems={attributes}
70
- style={{ backgroundColor: ColorPallet.brand.secondaryBackground }}
70
+ style={{ backgroundColor: ColorPalette.brand.secondaryBackground }}
71
71
  credDefId={credDefId}
72
72
  schemaId={data.schema}
73
73
  preview
@@ -93,7 +93,7 @@ const ProofRequestCardsComponent: React.FC<ProofRequestCardsProps> = ({ attribut
93
93
  const ProofRequestCards = memo(ProofRequestCardsComponent)
94
94
 
95
95
  const ProofRequestDetails: React.FC<ProofRequestDetailsProps> = ({ route, navigation }) => {
96
- const { ColorPallet, TextTheme } = useTheme()
96
+ const { ColorPalette, TextTheme } = useTheme()
97
97
  const [store] = useStore()
98
98
  const { t } = useTranslation()
99
99
  const { i18n } = useTranslation()
@@ -113,7 +113,7 @@ const ProofRequestDetails: React.FC<ProofRequestDetailsProps> = ({ route, naviga
113
113
  const style = StyleSheet.create({
114
114
  container: {
115
115
  flexGrow: 1,
116
- backgroundColor: ColorPallet.brand.primaryBackground,
116
+ backgroundColor: ColorPalette.brand.primaryBackground,
117
117
  padding: 16,
118
118
  },
119
119
  header: {