@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 @@ export const homeTourSteps: TourStep[] = [
12
12
  Render: (props: RenderProps) => {
13
13
  const { currentTour, currentStep, next, stop, previous } = props
14
14
  const { t } = useTranslation()
15
- const { ColorPallet, TextTheme } = useTheme()
15
+ const { ColorPalette, TextTheme } = useTheme()
16
16
  return (
17
17
  <TourBox
18
18
  title={t('Tour.AddAndShare')}
@@ -29,7 +29,7 @@ export const homeTourSteps: TourStep[] = [
29
29
  <Text
30
30
  style={{
31
31
  ...TextTheme.normal,
32
- color: ColorPallet.notification.infoText,
32
+ color: ColorPalette.notification.infoText,
33
33
  }}
34
34
  allowFontScaling={false}
35
35
  >
@@ -43,7 +43,7 @@ export const homeTourSteps: TourStep[] = [
43
43
  Render: (props: RenderProps) => {
44
44
  const { currentTour, currentStep, next, stop, previous } = props
45
45
  const { t } = useTranslation()
46
- const { ColorPallet, TextTheme } = useTheme()
46
+ const { ColorPalette, TextTheme } = useTheme()
47
47
  return (
48
48
  <TourBox
49
49
  title={t('Tour.Notifications')}
@@ -60,7 +60,7 @@ export const homeTourSteps: TourStep[] = [
60
60
  <Text
61
61
  style={{
62
62
  ...TextTheme.normal,
63
- color: ColorPallet.notification.infoText,
63
+ color: ColorPalette.notification.infoText,
64
64
  }}
65
65
  allowFontScaling={false}
66
66
  >
@@ -74,7 +74,7 @@ export const homeTourSteps: TourStep[] = [
74
74
  Render: (props: RenderProps) => {
75
75
  const { currentTour, currentStep, next, stop, previous } = props
76
76
  const { t } = useTranslation()
77
- const { ColorPallet, TextTheme } = useTheme()
77
+ const { ColorPalette, TextTheme } = useTheme()
78
78
  return (
79
79
  <TourBox
80
80
  title={t('Tour.YourCredentials')}
@@ -91,7 +91,7 @@ export const homeTourSteps: TourStep[] = [
91
91
  <Text
92
92
  style={{
93
93
  ...TextTheme.normal,
94
- color: ColorPallet.notification.infoText,
94
+ color: ColorPalette.notification.infoText,
95
95
  }}
96
96
  allowFontScaling={false}
97
97
  >
@@ -12,7 +12,7 @@ export const proofRequestTourSteps: TourStep[] = [
12
12
  Render: (props: RenderProps) => {
13
13
  const { currentTour, currentStep, next, stop, previous } = props
14
14
  const { t } = useTranslation()
15
- const { ColorPallet, TextTheme } = useTheme()
15
+ const { ColorPalette, TextTheme } = useTheme()
16
16
  return (
17
17
  <TourBox
18
18
  title={t('Tour.ProofRequests')}
@@ -28,7 +28,7 @@ export const proofRequestTourSteps: TourStep[] = [
28
28
  <Text
29
29
  style={{
30
30
  ...TextTheme.normal,
31
- color: ColorPallet.notification.infoText,
31
+ color: ColorPalette.notification.infoText,
32
32
  }}
33
33
  allowFontScaling={false}
34
34
  >
@@ -73,18 +73,18 @@ export function TourBox(props: TourBoxProps): ReactElement {
73
73
  stepOn,
74
74
  stepsOutOf,
75
75
  } = props
76
- const { TextTheme, ColorPallet, OnboardingTheme } = useTheme()
76
+ const { TextTheme, ColorPalette, OnboardingTheme } = useTheme()
77
77
  const iconSize = 30
78
78
  const dismissIconName = 'clear'
79
- const iconColor = ColorPallet.notification.infoIcon
79
+ const iconColor = ColorPalette.notification.infoIcon
80
80
  const [paginationDots, setPaginationDots] = useState<PaginationDotTypes[]>([])
81
81
  const [xPos, setXPos] = useState(0)
82
82
  const swipeThreshold = 75
83
83
 
84
84
  const styles = StyleSheet.create({
85
85
  container: {
86
- backgroundColor: ColorPallet.notification.info,
87
- borderColor: ColorPallet.notification.infoBorder,
86
+ backgroundColor: ColorPalette.notification.info,
87
+ borderColor: ColorPalette.notification.infoBorder,
88
88
  borderRadius: 5,
89
89
  borderWidth: 1,
90
90
  padding: 20,
@@ -101,7 +101,7 @@ export function TourBox(props: TourBoxProps): ReactElement {
101
101
  headerText: {
102
102
  ...TextTheme.headingThree,
103
103
  alignSelf: 'flex-start',
104
- color: ColorPallet.notification.infoText,
104
+ color: ColorPalette.notification.infoText,
105
105
  },
106
106
  dismissIcon: {
107
107
  alignSelf: 'flex-end',
@@ -116,7 +116,7 @@ export function TourBox(props: TourBoxProps): ReactElement {
116
116
  },
117
117
  navText: {
118
118
  ...TextTheme.bold,
119
- color: ColorPallet.brand.primary,
119
+ color: ColorPalette.brand.primary,
120
120
  },
121
121
  pagerContainer: {
122
122
  flexDirection: 'row',
@@ -23,10 +23,12 @@ export interface BannerSectionProps extends BannerMessage {
23
23
  }
24
24
 
25
25
  export const Banner: React.FC = () => {
26
+ const { t } = useTranslation()
27
+ const { ColorPalette } = useTheme()
26
28
  const [store, dispatch] = useStore()
27
29
  const [expanded, setExpanded] = useState(false)
30
+
28
31
  const bannerMessages = store.preferences.bannerMessages
29
- const { t } = useTranslation()
30
32
  const alertMessage: BannerMessage = {
31
33
  id: 'alertMessage',
32
34
  title: t('Banner.AlertsLength', { alerts: bannerMessages.length }),
@@ -40,6 +42,7 @@ export const Banner: React.FC = () => {
40
42
  payload: [key],
41
43
  })
42
44
  }
45
+
43
46
  if (!bannerMessages || bannerMessages.length == 0) {
44
47
  return null
45
48
  }
@@ -72,15 +75,19 @@ export const Banner: React.FC = () => {
72
75
  />
73
76
  {expanded &&
74
77
  bannerMessages.map((message) => (
75
- <BannerSection
76
- id={message.id}
77
- key={message.id}
78
- title={message.title}
79
- type={message.type}
80
- variant="detail"
81
- onDismiss={() => dismissBanner(message.id)}
82
- dismissible={message.dismissible}
83
- />
78
+ <React.Fragment key={message.id}>
79
+ {/* Render a divider between the banners when multiple banners exist */}
80
+ <View style={{ height: 2, backgroundColor: ColorPalette.brand.primaryBackground }} />
81
+ <BannerSection
82
+ id={message.id}
83
+ key={message.id}
84
+ title={message.title}
85
+ type={message.type}
86
+ variant="detail"
87
+ onDismiss={() => dismissBanner(message.id)}
88
+ dismissible={message.dismissible}
89
+ />
90
+ </React.Fragment>
84
91
  ))}
85
92
  </View>
86
93
  )
@@ -95,10 +102,10 @@ export const BannerSection: React.FC<BannerSectionProps> = ({
95
102
  expanded,
96
103
  onToggle,
97
104
  }) => {
98
- const { Spacing, ColorPallet } = useTheme()
105
+ const { Spacing, ColorPalette } = useTheme()
99
106
  const styles = StyleSheet.create({
100
107
  container: {
101
- backgroundColor: ColorPallet.brand.primary,
108
+ backgroundColor: ColorPalette.brand.primary,
102
109
  flexDirection: 'row',
103
110
  alignItems: 'center',
104
111
  padding: Spacing.md,
@@ -154,14 +161,14 @@ export const BannerSection: React.FC<BannerSectionProps> = ({
154
161
  <Icon
155
162
  name={iconName(type)}
156
163
  size={24}
157
- color={type === 'warning' ? ColorPallet.brand.secondaryBackground : ColorPallet.grayscale.white}
164
+ color={type === 'warning' ? ColorPalette.brand.secondaryBackground : ColorPalette.grayscale.white}
158
165
  style={styles.icon}
159
166
  testID={testIdWithKey(`icon-${type}`)}
160
167
  />
161
168
  <ThemedText
162
169
  variant={'bold'}
163
170
  style={{
164
- color: type === 'warning' ? ColorPallet.brand.secondaryBackground : ColorPallet.grayscale.white,
171
+ color: type === 'warning' ? ColorPalette.brand.secondaryBackground : ColorPalette.grayscale.white,
165
172
  flex: 1,
166
173
  }}
167
174
  testID={testIdWithKey(`text-${type}`)}
@@ -26,7 +26,7 @@ const CredentialDetailPrimaryHeader: React.FC<CredentialDetailPrimaryHeaderProps
26
26
  credential,
27
27
  }: CredentialDetailPrimaryHeaderProps) => {
28
28
  const { t } = useTranslation()
29
- const { ColorPallet } = useTheme()
29
+ const { ColorPalette } = useTheme()
30
30
  const { width, height } = useWindowDimensions()
31
31
  const isBranding11 = brandingOverlayType === BrandingOverlayType.Branding11
32
32
  const styles = StyleSheet.create({
@@ -38,8 +38,8 @@ const CredentialDetailPrimaryHeader: React.FC<CredentialDetailPrimaryHeaderProps
38
38
  textContainer: {
39
39
  color:
40
40
  brandingOverlayType === BrandingOverlayType.Branding10
41
- ? credentialTextColor(ColorPallet, overlay.brandingOverlay?.primaryBackgroundColor)
42
- : ColorPallet.brand.primary,
41
+ ? credentialTextColor(ColorPalette, overlay.brandingOverlay?.primaryBackgroundColor)
42
+ : ColorPalette.brand.primary,
43
43
  },
44
44
  })
45
45
 
@@ -92,7 +92,7 @@ const CredentialDetailPrimaryHeader: React.FC<CredentialDetailPrimaryHeaderProps
92
92
  lineHeight: 24,
93
93
  marginTop: 8,
94
94
  fontSize: 14,
95
- color: ColorPallet.grayscale.mediumGrey,
95
+ color: ColorPalette.grayscale.mediumGrey,
96
96
  },
97
97
  ]}
98
98
  >
@@ -16,11 +16,11 @@ const KeyboardView: React.FC<{ children: React.ReactNode; keyboardAvoiding?: boo
16
16
  children,
17
17
  keyboardAvoiding = true,
18
18
  }) => {
19
- const { ColorPallet } = useTheme()
19
+ const { ColorPalette } = useTheme()
20
20
  const headerHeight = useSafeHeaderHeight()
21
21
  return (
22
22
  <SafeAreaView
23
- style={{ flex: 1, backgroundColor: ColorPallet.brand.primaryBackground }}
23
+ style={{ flex: 1, backgroundColor: ColorPalette.brand.primaryBackground }}
24
24
  edges={['bottom', 'left', 'right']}
25
25
  >
26
26
  {keyboardAvoiding ? (
@@ -9,7 +9,7 @@ export type ProgressBarProps = {
9
9
  }
10
10
 
11
11
  const ProgressBar: React.FC<ProgressBarProps> = ({ progressPercent }) => {
12
- const { ColorPallet } = useTheme()
12
+ const { ColorPalette } = useTheme()
13
13
  const { width: windowWidth } = useWindowDimensions()
14
14
  const [progressBarScale] = useState(new Animated.Value(0))
15
15
 
@@ -25,12 +25,12 @@ const ProgressBar: React.FC<ProgressBarProps> = ({ progressPercent }) => {
25
25
  progressBarContainer: {
26
26
  width: '100%',
27
27
  height: 8,
28
- backgroundColor: ColorPallet.brand.primaryBackground,
28
+ backgroundColor: ColorPalette.brand.primaryBackground,
29
29
  },
30
30
  progressBar: {
31
31
  height: '100%',
32
32
  width: '100%',
33
- backgroundColor: ColorPallet.brand.highlight,
33
+ backgroundColor: ColorPalette.brand.highlight,
34
34
  },
35
35
  })
36
36
  // scaleX rather than width is used for the progress bar as this allows useNativeDriver to be true
@@ -28,7 +28,6 @@ enum OnboardingDispatchAction {
28
28
  DID_NAME_WALLET = 'onboarding/didNameWallet',
29
29
  DID_COMPLETE_ONBOARDING = 'onboarding/didCompleteOnboarding',
30
30
  ONBOARDING_VERSION = 'onboarding/onboardingVersion',
31
- SET_POST_AUTH_SCREENS = 'onboarding/postAuthScreens',
32
31
  }
33
32
 
34
33
  enum MigrationDispatchAction {
@@ -566,10 +565,13 @@ export const reducer = <S extends State>(state: S, action: ReducerAction<Dispatc
566
565
  case PreferencesDispatchAction.BANNER_MESSAGES: {
567
566
  const bannerMessageToAdd = action?.payload ?? []
568
567
  const newBannerMessages = [...state.preferences.bannerMessages, ...bannerMessageToAdd]
568
+ const uniqueBannerMessages = Array.from(new Set(newBannerMessages))
569
+
569
570
  const preferences: Preferences = {
570
571
  ...state.preferences,
571
- bannerMessages: newBannerMessages,
572
+ bannerMessages: uniqueBannerMessages,
572
573
  }
574
+
573
575
  PersistentStorage.storeValueForKey(LocalStorageKeys.Preferences, preferences)
574
576
  return {
575
577
  ...state,
@@ -708,18 +710,6 @@ export const reducer = <S extends State>(state: S, action: ReducerAction<Dispatc
708
710
 
709
711
  return newState
710
712
  }
711
- case OnboardingDispatchAction.SET_POST_AUTH_SCREENS: {
712
- const value = (action?.payload || []).pop()
713
- const onboarding = {
714
- ...state.onboarding,
715
- postAuthScreens: value,
716
- }
717
- const newState = {
718
- ...state,
719
- onboarding,
720
- }
721
- return newState
722
- }
723
713
  case MigrationDispatchAction.DID_MIGRATE_TO_ASKAR: {
724
714
  const migration: MigrationState = {
725
715
  ...state.migration,
@@ -25,7 +25,6 @@ export const defaultState: State = {
25
25
  didNameWallet: false,
26
26
  onboardingVersion: 0,
27
27
  didCompleteOnboarding: false,
28
- postAuthScreens: [],
29
28
  },
30
29
  authentication: {
31
30
  didAuthenticate: false,
@@ -75,7 +75,7 @@ export const useChatMessagesByConnection = (connection: ConnectionRecord): Exten
75
75
  const [messages, setMessages] = useState<Array<ExtendedChatMessage>>([])
76
76
  const [store] = useStore()
77
77
  const { t } = useTranslation()
78
- const { ChatTheme: theme, ColorPallet } = useTheme()
78
+ const { ChatTheme: theme, ColorPalette } = useTheme()
79
79
  const navigation = useNavigation<StackNavigationProp<RootStackParams | ContactStackParams>>()
80
80
  const basicMessages = useBasicMessagesByConnectionId(connection?.id)
81
81
  const credentials = useCredentialsByConnectionId(connection?.id)
@@ -111,7 +111,7 @@ export const useChatMessagesByConnection = (connection: ConnectionRecord): Exten
111
111
  <ThemedText>{split}</ThemedText>
112
112
  <ThemedText
113
113
  onPress={() => handleLinkPress(link)}
114
- style={{ color: ColorPallet.brand.link, textDecorationLine: 'underline' }}
114
+ style={{ color: ColorPalette.brand.link, textDecorationLine: 'underline' }}
115
115
  accessibilityRole={'link'}
116
116
  >
117
117
  {link}
@@ -257,7 +257,7 @@ export const useChatMessagesByConnection = (connection: ConnectionRecord): Exten
257
257
  ? [...transformedMessages.sort((a: any, b: any) => b.createdAt - a.createdAt), connectedMessage]
258
258
  : transformedMessages.sort((a: any, b: any) => b.createdAt - a.createdAt)
259
259
  )
260
- }, [ColorPallet, basicMessages, theme, credentials, t, navigation, proofs, theirLabel, connection])
260
+ }, [ColorPalette, basicMessages, theme, credentials, t, navigation, proofs, theirLabel, connection])
261
261
 
262
262
  return messages
263
263
  }
@@ -10,7 +10,7 @@ const useCredentialCardStyles = (
10
10
  brandingOverlayType: BrandingOverlayType,
11
11
  proof?: boolean
12
12
  ) => {
13
- const { ColorPallet, TextTheme, ListItems, CredentialCardShadowTheme } = useTheme()
13
+ const { ColorPalette, TextTheme, ListItems, CredentialCardShadowTheme } = useTheme()
14
14
  const { width, fontScale } = useWindowDimensions()
15
15
  const padding = width * 0.05
16
16
  const logoHeight = width * 0.12
@@ -91,7 +91,7 @@ const useCredentialCardStyles = (
91
91
  color:
92
92
  proof && brandingOverlayType === BrandingOverlayType.Branding10
93
93
  ? TextTheme.normal.color
94
- : credentialTextColor(ColorPallet, overlay.brandingOverlay?.primaryBackgroundColor),
94
+ : credentialTextColor(ColorPalette, overlay.brandingOverlay?.primaryBackgroundColor),
95
95
  flexShrink: 1,
96
96
  ...(brandingOverlayType === BrandingOverlayType.Branding11 && {
97
97
  fontSize: 16,
@@ -125,12 +125,12 @@ const useCredentialCardStyles = (
125
125
  selectedCred: {
126
126
  borderWidth: 5,
127
127
  borderRadius: 15,
128
- borderColor: ColorPallet.semantic.focus,
128
+ borderColor: ColorPalette.semantic.focus,
129
129
  },
130
130
  credActionText: {
131
131
  fontSize: 20,
132
132
  fontWeight: TextTheme.bold.fontWeight,
133
- color: ColorPallet.brand.link,
133
+ color: ColorPalette.brand.link,
134
134
  },
135
135
  cardAttributeContainer: {
136
136
  marginVertical: 16,
package/src/index.ts CHANGED
@@ -63,6 +63,7 @@ import { defaultConfig, defaultHistoryEventsLogger } from './container-impl'
63
63
  import useBifoldAgentSetup from './hooks/useBifoldAgentSetup'
64
64
  import usePreventScreenCapture from './hooks/screen-capture'
65
65
  import { DefaultScreenLayoutOptions } from './navigators/defaultLayoutOptions'
66
+ import { ThemeBuilder } from './theme-builder'
66
67
 
67
68
  export * from './navigators'
68
69
  export * from './services/storage'
@@ -77,7 +78,7 @@ export { useDeepLinks } from './hooks/deep-links'
77
78
  export { Assets as ImageAssets } from './theme'
78
79
  export { ThemeProvider, useTheme } from './contexts/theme'
79
80
  export { AnimatedComponentsProvider, useAnimatedComponents } from './contexts/animated-components'
80
- export { ColorPallet } from './theme'
81
+ export { ColorPalette } from './theme'
81
82
  export { animatedComponents } from './animated-components'
82
83
  export { bifoldTheme } from './theme'
83
84
  export { useAuth } from './contexts/auth'
@@ -115,7 +116,7 @@ export type {
115
116
  INotificationColors,
116
117
  IErrorColors,
117
118
  IGrayscaleColors,
118
- IColorPallet,
119
+ IColorPalette,
119
120
  IAssets,
120
121
  ITheme,
121
122
  } from './theme'
@@ -226,5 +227,6 @@ export {
226
227
  tours,
227
228
  DefaultScreenOptionsDictionary,
228
229
  DefaultScreenLayoutOptions,
230
+ ThemeBuilder,
229
231
  }
230
232
  export type { IButton }
@@ -50,7 +50,6 @@
50
50
  "Send": "Envoyer",
51
51
  "Reset": "Reset (FR)",
52
52
  "ViewJSON": "View JSON Details (FR)"
53
-
54
53
  },
55
54
  "Date": {
56
55
  "ShortFormat": "D MMM",
@@ -49,7 +49,6 @@
49
49
  "Send": "Enviar",
50
50
  "Reset": "Reset (PT-BR)",
51
51
  "ViewJSON": "View JSON Details (PT-BR)"
52
-
53
52
  },
54
53
  "Date": {
55
54
  "ShortFormat": "D MMM",
@@ -906,7 +905,7 @@
906
905
  "UpdateNow": "Update the app (PT-BR)",
907
906
  "UpdateLater": "Do this later (PT-BR)"
908
907
  },
909
- "Banner": {
908
+ "Banner": {
910
909
  "AlertsLength": "You have {{ alerts }} alerts (PT-BR)"
911
910
  }
912
911
  }
@@ -23,7 +23,7 @@ const HistoryPage: React.FC<HistoryPageProps> = () => {
23
23
  const [historyItems, setHistoryItems] = useState<CustomRecord[]>()
24
24
  const { t } = useTranslation()
25
25
  const { agent } = useAgent()
26
- const { ColorPallet } = useTheme()
26
+ const { ColorPalette } = useTheme()
27
27
  const { ButtonLoading } = useAnimatedComponents()
28
28
 
29
29
  const actionButtonLabel = t('Global.SaveSettings')
@@ -37,7 +37,7 @@ const HistoryPage: React.FC<HistoryPageProps> = () => {
37
37
  const style = StyleSheet.create({
38
38
  screenContainer: {
39
39
  height: '100%',
40
- backgroundColor: ColorPallet.brand.primaryBackground,
40
+ backgroundColor: ColorPalette.brand.primaryBackground,
41
41
  padding: 20,
42
42
  justifyContent: 'space-between',
43
43
  },
@@ -1,5 +1,4 @@
1
1
  import { useAgent } from '@credo-ts/react-hooks'
2
- import { ParamListBase } from '@react-navigation/core'
3
2
  import { StackScreenProps } from '@react-navigation/stack'
4
3
  import React, { useCallback, useEffect, useState } from 'react'
5
4
  import { useTranslation } from 'react-i18next'
@@ -11,21 +10,21 @@ import KeyboardView from '../../../components/views/KeyboardView'
11
10
  import { TOKENS, useServices } from '../../../container-api'
12
11
  import { useAnimatedComponents } from '../../../contexts/animated-components'
13
12
  import { useTheme } from '../../../contexts/theme'
14
- import { Screens } from '../../../types/navigators'
13
+ import { Screens, SettingStackParams } from '../../../types/navigators'
15
14
  import { testIdWithKey } from '../../../utils/testable'
16
15
  import { HistoryBlockSelection, IHistoryManager } from '../types'
17
16
 
18
17
  import SingleSelectBlock from './components/SingleSelectBlock'
19
18
  import { ThemedText } from '../../../components/texts/ThemedText'
20
19
 
21
- interface HistorySettingsProps extends StackScreenProps<ParamListBase, Screens.HistorySettings> {}
20
+ interface HistorySettingsProps extends StackScreenProps<SettingStackParams, Screens.HistorySettings> {}
22
21
 
23
22
  const HistorySettings: React.FC<HistorySettingsProps> = () => {
24
23
  const [continueEnabled] = useState(true)
25
24
  const [isLoading] = useState(false)
26
25
  const { t } = useTranslation()
27
26
 
28
- const { ColorPallet } = useTheme()
27
+ const { ColorPalette } = useTheme()
29
28
  const { ButtonLoading } = useAnimatedComponents()
30
29
  const actionButtonLabel = t('Global.SaveSettings')
31
30
  const actionButtonTestId = testIdWithKey('Save')
@@ -40,7 +39,7 @@ const HistorySettings: React.FC<HistorySettingsProps> = () => {
40
39
  const style = StyleSheet.create({
41
40
  screenContainer: {
42
41
  height: '100%',
43
- backgroundColor: ColorPallet.brand.primaryBackground,
42
+ backgroundColor: ColorPalette.brand.primaryBackground,
44
43
  padding: 20,
45
44
  justifyContent: 'space-between',
46
45
  },
@@ -49,7 +49,7 @@ const styles = StyleSheet.create({
49
49
 
50
50
  const HistoryListItem: React.FC<Props> = ({ item }) => {
51
51
  const { t } = useTranslation()
52
- const { Assets, ColorPallet } = useTheme()
52
+ const { Assets, ColorPalette } = useTheme()
53
53
  //TODO: navigate to history details
54
54
  // const navigation = useNavigation<StackNavigationProp<RootStackParams, 'HistoryDetails'>>()
55
55
 
@@ -229,7 +229,7 @@ const HistoryListItem: React.FC<Props> = ({ item }) => {
229
229
  {renderCardDate(item.content.createdAt)}
230
230
  </View>
231
231
  <View style={styles.arrowContainer}>
232
- <Assets.svg.iconChevronRight color={ColorPallet.brand.primary} />
232
+ <Assets.svg.iconChevronRight color={ColorPalette.brand.primary} />
233
233
  </View>
234
234
  </View>
235
235
  <View style={styles.cardBottomBorder} />
@@ -44,7 +44,7 @@ const OpenIDCredentialCard: React.FC<CredentialCardProps> = ({
44
44
  onPress = undefined,
45
45
  }) => {
46
46
  const { t } = useTranslation()
47
- const { ColorPallet, TextTheme } = useTheme()
47
+ const { ColorPalette, TextTheme } = useTheme()
48
48
 
49
49
  const display = useMemo((): CredentialDisplay | undefined => {
50
50
  if (credentialDisplay) return credentialDisplay.display
@@ -119,7 +119,7 @@ const OpenIDCredentialCard: React.FC<CredentialCardProps> = ({
119
119
  borderBottomRightRadius: borderRadius,
120
120
  },
121
121
  revokedFooter: {
122
- backgroundColor: ColorPallet.notification.error,
122
+ backgroundColor: ColorPalette.notification.error,
123
123
  flexGrow: 1,
124
124
  marginHorizontal: -1 * paddingHorizontal,
125
125
  marginVertical: -1 * paddingVertical,
@@ -139,13 +139,13 @@ const OpenIDCredentialCard: React.FC<CredentialCardProps> = ({
139
139
  credentialInfoContainer: {},
140
140
  titleFontCredentialName: {
141
141
  ...TextTheme.labelTitle,
142
- color: display?.textColor ?? credentialTextColor(ColorPallet, display?.backgroundColor),
142
+ color: display?.textColor ?? credentialTextColor(ColorPalette, display?.backgroundColor),
143
143
  textAlignVertical: 'center',
144
144
  marginBottom: 8,
145
145
  },
146
146
  titleFontCredentialDescription: {
147
147
  ...TextTheme.label,
148
- color: display?.textColor ?? credentialTextColor(ColorPallet, display?.backgroundColor),
148
+ color: display?.textColor ?? credentialTextColor(ColorPalette, display?.backgroundColor),
149
149
  textAlignVertical: 'center',
150
150
  },
151
151
  })
@@ -221,7 +221,7 @@ const OpenIDCredentialCard: React.FC<CredentialCardProps> = ({
221
221
  style={[
222
222
  TextTheme.caption,
223
223
  {
224
- color: display?.textColor ?? credentialTextColor(ColorPallet, display?.backgroundColor),
224
+ color: display?.textColor ?? credentialTextColor(ColorPalette, display?.backgroundColor),
225
225
  },
226
226
  ]}
227
227
  testID={testIdWithKey('CredentialIssued')}
@@ -42,7 +42,7 @@ const OpenIDCredentialDetails: React.FC<OpenIDCredentialDetailsProps> = ({ navig
42
42
  const [credential, setCredential] = useState<W3cCredentialRecord | SdJwtVcRecord | undefined>(undefined)
43
43
  const [credentialDisplay, setCredentialDisplay] = useState<W3cCredentialDisplay>()
44
44
  const { t, i18n } = useTranslation()
45
- const { ColorPallet, TextTheme } = useTheme()
45
+ const { ColorPalette, TextTheme } = useTheme()
46
46
  const { agent } = useAgent()
47
47
  const { removeCredential, getW3CCredentialById, getSdJwtCredentialById } = useOpenIDCredentials()
48
48
  const [bundleResolver] = useServices([TOKENS.UTIL_OCA_RESOLVER])
@@ -180,7 +180,7 @@ const OpenIDCredentialDetails: React.FC<OpenIDCredentialDetailsProps> = ({ navig
180
180
  <View style={{ marginBottom: 50 }}>
181
181
  <View
182
182
  style={{
183
- backgroundColor: ColorPallet.brand.secondaryBackground,
183
+ backgroundColor: ColorPalette.brand.secondaryBackground,
184
184
  marginTop: paddingVertical,
185
185
  paddingHorizontal,
186
186
  paddingVertical,
@@ -32,7 +32,7 @@ const OpenIDCredentialOffer: React.FC<OpenIDCredentialDetailsProps> = ({ navigat
32
32
 
33
33
  // console.log('$$ ====> Credential Display', JSON.stringify(credentialDisplay))
34
34
  const { t } = useTranslation()
35
- const { ColorPallet, TextTheme } = useTheme()
35
+ const { ColorPalette, TextTheme } = useTheme()
36
36
  const { agent } = useAgent()
37
37
  const { storeCredential, resolveBundleForCredential } = useOpenIDCredentials()
38
38
 
@@ -152,7 +152,7 @@ const OpenIDCredentialOffer: React.FC<OpenIDCredentialDetailsProps> = ({ navigat
152
152
  paddingHorizontal: paddingHorizontal,
153
153
  paddingVertical: paddingVertical,
154
154
  paddingBottom: paddingBottom,
155
- backgroundColor: ColorPallet.brand.secondaryBackground,
155
+ backgroundColor: ColorPalette.brand.secondaryBackground,
156
156
  }}
157
157
  >
158
158
  {footerButton(
@@ -27,7 +27,7 @@ const OpenIDProofCredentialSelect: React.FC<Props> = ({ route, navigation }: Pro
27
27
  const selectedCredentialID = route.params.selectedCredID
28
28
  const altCredentials = route.params.altCredIDs
29
29
  const onCredChange = route.params.onCredChange
30
- const { ColorPallet, SelectedCredTheme } = useTheme()
30
+ const { ColorPalette, SelectedCredTheme } = useTheme()
31
31
  const { getW3CCredentialById, getSdJwtCredentialById } = useOpenIDCredentials()
32
32
 
33
33
  const { t } = useTranslation()
@@ -71,7 +71,7 @@ const OpenIDProofCredentialSelect: React.FC<Props> = ({ route, navigation }: Pro
71
71
  marginHorizontal: 20,
72
72
  },
73
73
  cardLoading: {
74
- backgroundColor: ColorPallet.brand.secondaryBackground,
74
+ backgroundColor: ColorPalette.brand.secondaryBackground,
75
75
  flex: 1,
76
76
  flexGrow: 1,
77
77
  marginVertical: 35,
@@ -97,7 +97,7 @@ const OpenIDProofCredentialSelect: React.FC<Props> = ({ route, navigation }: Pro
97
97
  <RecordLoading />
98
98
  </View>
99
99
  ) : (
100
- <ThemedText variant='bold'>{t('ProofRequest.AvailableCards')}</ThemedText>
100
+ <ThemedText variant={'bold'}>{t('ProofRequest.AvailableCards')}</ThemedText>
101
101
  )}
102
102
  </View>
103
103
  )
@@ -62,7 +62,7 @@ const OpenIDProofPresentation: React.FC<OpenIDProofPresentationProps> = ({
62
62
 
63
63
  const { getW3CCredentialById, getSdJwtCredentialById } = useOpenIDCredentials()
64
64
 
65
- const { ColorPallet, ListItems, TextTheme } = useTheme()
65
+ const { ColorPalette, ListItems, TextTheme } = useTheme()
66
66
  const { t } = useTranslation()
67
67
  const { agent } = useAgent()
68
68
 
@@ -91,13 +91,13 @@ const OpenIDProofPresentation: React.FC<OpenIDProofPresentationProps> = ({
91
91
  cardContainer: {
92
92
  paddingHorizontal: 25,
93
93
  paddingVertical: 16,
94
- backgroundColor: ColorPallet.brand.secondaryBackground,
94
+ backgroundColor: ColorPalette.brand.secondaryBackground,
95
95
  marginBottom: 20,
96
96
  },
97
97
  cardAttributes: {
98
98
  flexDirection: 'row',
99
99
  flexWrap: 'wrap',
100
- borderColor: ColorPallet.grayscale.lightGrey,
100
+ borderColor: ColorPalette.grayscale.lightGrey,
101
101
  borderWidth: 1,
102
102
  borderRadius: 8,
103
103
  padding: 8,
@@ -364,7 +364,7 @@ const OpenIDProofPresentation: React.FC<OpenIDProofPresentationProps> = ({
364
364
  paddingHorizontal: 25,
365
365
  paddingVertical: 16,
366
366
  paddingBottom: 26,
367
- backgroundColor: ColorPallet.brand.secondaryBackground,
367
+ backgroundColor: ColorPalette.brand.secondaryBackground,
368
368
  }}
369
369
  >
370
370
  {selectedCredentialsSubmission && Object.keys(selectedCredentialsSubmission).length > 0 ? (