@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.
- package/lib/commonjs/App.js +1 -1
- package/lib/commonjs/App.js.map +1 -1
- package/lib/commonjs/components/animated/ButtonLoading.js +2 -2
- package/lib/commonjs/components/animated/ButtonLoading.js.map +1 -1
- package/lib/commonjs/components/animated/ConnectionLoading.js +3 -3
- package/lib/commonjs/components/animated/ConnectionLoading.js.map +1 -1
- package/lib/commonjs/components/animated/LoadingIndicator.js +2 -2
- package/lib/commonjs/components/animated/LoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/animated/PresentationLoading.js +3 -3
- package/lib/commonjs/components/animated/PresentationLoading.js.map +1 -1
- package/lib/commonjs/components/animated/RecordLoading.js +5 -5
- package/lib/commonjs/components/animated/RecordLoading.js.map +1 -1
- package/lib/commonjs/components/animated/SendingProof.js +3 -3
- package/lib/commonjs/components/animated/SendingProof.js.map +1 -1
- package/lib/commonjs/components/animated/SentProof.js +3 -3
- package/lib/commonjs/components/animated/SentProof.js.map +1 -1
- package/lib/commonjs/components/buttons/Button.js +1 -1
- package/lib/commonjs/components/buttons/Button.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +3 -3
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/ToggleButton.js +3 -3
- package/lib/commonjs/components/buttons/ToggleButton.js.map +1 -1
- package/lib/commonjs/components/chat/ActionSlider.js +3 -3
- package/lib/commonjs/components/chat/ActionSlider.js.map +1 -1
- package/lib/commonjs/components/forms/WalletNameForm.js +2 -2
- package/lib/commonjs/components/forms/WalletNameForm.js.map +1 -1
- package/lib/commonjs/components/inputs/BiometryControl.js +2 -2
- package/lib/commonjs/components/inputs/BiometryControl.js.map +1 -1
- package/lib/commonjs/components/inputs/BulletPoint.js +2 -2
- package/lib/commonjs/components/inputs/BulletPoint.js.map +1 -1
- package/lib/commonjs/components/listItems/ContactCredentialListItem.js +3 -3
- package/lib/commonjs/components/listItems/ContactCredentialListItem.js.map +1 -1
- package/lib/commonjs/components/listItems/ContactListItem.js +2 -2
- package/lib/commonjs/components/listItems/ContactListItem.js.map +1 -1
- package/lib/commonjs/components/listItems/NotificationListItem.js +22 -22
- package/lib/commonjs/components/listItems/NotificationListItem.js.map +1 -1
- package/lib/commonjs/components/misc/ConnectionAlert.js +5 -5
- package/lib/commonjs/components/misc/ConnectionAlert.js.map +1 -1
- package/lib/commonjs/components/misc/ConnectionImage.js +3 -3
- package/lib/commonjs/components/misc/ConnectionImage.js.map +1 -1
- package/lib/commonjs/components/misc/CredentialCard.js +2 -2
- package/lib/commonjs/components/misc/CredentialCard.js.map +1 -1
- package/lib/commonjs/components/misc/CredentialCard10.js +6 -6
- package/lib/commonjs/components/misc/CredentialCard10.js.map +1 -1
- package/lib/commonjs/components/misc/CredentialCard11.js +43 -22
- package/lib/commonjs/components/misc/CredentialCard11.js.map +1 -1
- package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js +3 -3
- package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js.map +1 -1
- package/lib/commonjs/components/misc/EmptyList.js +2 -2
- package/lib/commonjs/components/misc/EmptyList.js.map +1 -1
- package/lib/commonjs/components/misc/EmptyListContacts.js +2 -2
- package/lib/commonjs/components/misc/EmptyListContacts.js.map +1 -1
- package/lib/commonjs/components/misc/FauxHeader.js +2 -2
- package/lib/commonjs/components/misc/FauxHeader.js.map +1 -1
- package/lib/commonjs/components/misc/InfoBox.js +29 -29
- package/lib/commonjs/components/misc/InfoBox.js.map +1 -1
- package/lib/commonjs/components/misc/NoNewUpdates.js +2 -2
- package/lib/commonjs/components/misc/NoNewUpdates.js.map +1 -1
- package/lib/commonjs/components/misc/PINValidationHelper.js +3 -3
- package/lib/commonjs/components/misc/PINValidationHelper.js.map +1 -1
- package/lib/commonjs/components/misc/QRRenderer.js +2 -2
- package/lib/commonjs/components/misc/QRRenderer.js.map +1 -1
- package/lib/commonjs/components/misc/QRScanner.js +3 -3
- package/lib/commonjs/components/misc/QRScanner.js.map +1 -1
- package/lib/commonjs/components/misc/QRScannerTorch.js +4 -4
- package/lib/commonjs/components/misc/QRScannerTorch.js.map +1 -1
- package/lib/commonjs/components/misc/SharedProofData.js +2 -2
- package/lib/commonjs/components/misc/SharedProofData.js.map +1 -1
- package/lib/commonjs/components/misc/UnorderedList.js +3 -3
- package/lib/commonjs/components/misc/UnorderedList.js.map +1 -1
- package/lib/commonjs/components/misc/VerifierCredentialCard.js +7 -7
- package/lib/commonjs/components/misc/VerifierCredentialCard.js.map +1 -1
- package/lib/commonjs/components/modals/AppGuideModal.js +7 -7
- package/lib/commonjs/components/modals/AppGuideModal.js.map +1 -1
- package/lib/commonjs/components/modals/CameraDisclosureModal.js +4 -4
- package/lib/commonjs/components/modals/CameraDisclosureModal.js.map +1 -1
- package/lib/commonjs/components/modals/CommonRemoveModal.js +7 -7
- package/lib/commonjs/components/modals/CommonRemoveModal.js.map +1 -1
- package/lib/commonjs/components/modals/DismissiblePopupModal.js +7 -7
- package/lib/commonjs/components/modals/DismissiblePopupModal.js.map +1 -1
- package/lib/commonjs/components/modals/ErrorModal.js +4 -4
- package/lib/commonjs/components/modals/ErrorModal.js.map +1 -1
- package/lib/commonjs/components/modals/ImageModal.js +4 -4
- package/lib/commonjs/components/modals/ImageModal.js.map +1 -1
- package/lib/commonjs/components/modals/PopupModal.js +2 -2
- package/lib/commonjs/components/modals/PopupModal.js.map +1 -1
- package/lib/commonjs/components/modals/ProofCancelModal.js +2 -2
- package/lib/commonjs/components/modals/ProofCancelModal.js.map +1 -1
- package/lib/commonjs/components/record/RecordFooter.js +2 -2
- package/lib/commonjs/components/record/RecordFooter.js.map +1 -1
- package/lib/commonjs/components/record/RecordHeader.js +2 -2
- package/lib/commonjs/components/record/RecordHeader.js.map +1 -1
- package/lib/commonjs/components/record/RecordRemove.js +5 -5
- package/lib/commonjs/components/record/RecordRemove.js.map +1 -1
- package/lib/commonjs/components/texts/HighlightTextBox.js +3 -3
- package/lib/commonjs/components/texts/HighlightTextBox.js.map +1 -1
- package/lib/commonjs/components/texts/InfoTextBox.js +17 -17
- package/lib/commonjs/components/texts/InfoTextBox.js.map +1 -1
- package/lib/commonjs/components/texts/Link.js +2 -2
- package/lib/commonjs/components/texts/Link.js.map +1 -1
- package/lib/commonjs/components/toast/BaseToast.js +17 -17
- package/lib/commonjs/components/toast/BaseToast.js.map +1 -1
- package/lib/commonjs/components/tour/CredentialOfferTourSteps.js +2 -2
- package/lib/commonjs/components/tour/CredentialOfferTourSteps.js.map +1 -1
- package/lib/commonjs/components/tour/CredentialsTourSteps.js +2 -2
- package/lib/commonjs/components/tour/CredentialsTourSteps.js.map +1 -1
- package/lib/commonjs/components/tour/HomeTourSteps.js +6 -6
- package/lib/commonjs/components/tour/HomeTourSteps.js.map +1 -1
- package/lib/commonjs/components/tour/ProofRequestTourSteps.js +2 -2
- package/lib/commonjs/components/tour/ProofRequestTourSteps.js.map +1 -1
- package/lib/commonjs/components/tour/TourBox.js +6 -6
- package/lib/commonjs/components/tour/TourBox.js.map +1 -1
- package/lib/commonjs/components/views/Banner.js +19 -9
- package/lib/commonjs/components/views/Banner.js.map +1 -1
- package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js +3 -3
- package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
- package/lib/commonjs/components/views/KeyboardView.js +2 -2
- package/lib/commonjs/components/views/KeyboardView.js.map +1 -1
- package/lib/commonjs/components/views/ProgressBar.js +3 -3
- package/lib/commonjs/components/views/ProgressBar.js.map +1 -1
- package/lib/commonjs/contexts/reducers/store.js +2 -15
- package/lib/commonjs/contexts/reducers/store.js.map +1 -1
- package/lib/commonjs/contexts/store.js +1 -2
- package/lib/commonjs/contexts/store.js.map +1 -1
- package/lib/commonjs/hooks/chat-messages.js +3 -3
- package/lib/commonjs/hooks/chat-messages.js.map +1 -1
- package/lib/commonjs/hooks/credential-card-styles.js +4 -4
- package/lib/commonjs/hooks/credential-card-styles.js.map +1 -1
- package/lib/commonjs/index.js +11 -3
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/localization/fr/fr.json +0 -1
- package/lib/commonjs/localization/pt-br/pt-br.json +1 -2
- package/lib/commonjs/modules/history/ui/HistoryPage.js +2 -2
- package/lib/commonjs/modules/history/ui/HistoryPage.js.map +1 -1
- package/lib/commonjs/modules/history/ui/HistorySettings.js +2 -2
- package/lib/commonjs/modules/history/ui/HistorySettings.js.map +1 -1
- package/lib/commonjs/modules/history/ui/components/HistoryListItem.js +2 -2
- package/lib/commonjs/modules/history/ui/components/HistoryListItem.js.map +1 -1
- package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js +5 -5
- package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
- package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js +3 -3
- package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
- package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js +4 -4
- package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
- package/lib/commonjs/navigators/ContactStack.js +0 -16
- package/lib/commonjs/navigators/ContactStack.js.map +1 -1
- package/lib/commonjs/navigators/DeliveryStack.js +0 -16
- package/lib/commonjs/navigators/DeliveryStack.js.map +1 -1
- package/lib/commonjs/navigators/MainStack.js.map +1 -1
- package/lib/commonjs/navigators/NotificationStack.js +0 -16
- package/lib/commonjs/navigators/NotificationStack.js.map +1 -1
- package/lib/commonjs/navigators/OnboardingScreens.js.map +1 -1
- package/lib/commonjs/navigators/TabStack.js +2 -2
- package/lib/commonjs/navigators/TabStack.js.map +1 -1
- package/lib/commonjs/navigators/defaultStackOptions.js +3 -3
- package/lib/commonjs/navigators/defaultStackOptions.js.map +1 -1
- package/lib/commonjs/screens/AttemptLockout.js +2 -2
- package/lib/commonjs/screens/AttemptLockout.js.map +1 -1
- package/lib/commonjs/screens/AutoLock.js +7 -7
- package/lib/commonjs/screens/AutoLock.js.map +1 -1
- package/lib/commonjs/screens/Chat.js +1 -1
- package/lib/commonjs/screens/Chat.js.map +1 -1
- package/lib/commonjs/screens/ConfigureMediator.js +7 -7
- package/lib/commonjs/screens/ConfigureMediator.js.map +1 -1
- package/lib/commonjs/screens/ContactDetails.js +9 -9
- package/lib/commonjs/screens/ContactDetails.js.map +1 -1
- package/lib/commonjs/screens/CredentialDetails.js +16 -16
- package/lib/commonjs/screens/CredentialDetails.js.map +1 -1
- package/lib/commonjs/screens/CredentialOffer.js +2 -2
- package/lib/commonjs/screens/CredentialOffer.js.map +1 -1
- package/lib/commonjs/screens/DataRetention.js +11 -11
- package/lib/commonjs/screens/DataRetention.js.map +1 -1
- package/lib/commonjs/screens/Developer.js +29 -29
- package/lib/commonjs/screens/Developer.js.map +1 -1
- package/lib/commonjs/screens/Home.js +2 -2
- package/lib/commonjs/screens/Home.js.map +1 -1
- package/lib/commonjs/screens/JSONDetails.js +3 -3
- package/lib/commonjs/screens/JSONDetails.js.map +1 -1
- package/lib/commonjs/screens/Language.js +7 -7
- package/lib/commonjs/screens/Language.js.map +1 -1
- package/lib/commonjs/screens/ListContacts.js +3 -3
- package/lib/commonjs/screens/ListContacts.js.map +1 -1
- package/lib/commonjs/screens/ListCredentials.js +2 -2
- package/lib/commonjs/screens/ListCredentials.js.map +1 -1
- package/lib/commonjs/screens/ListProofRequests.js +2 -2
- package/lib/commonjs/screens/ListProofRequests.js.map +1 -1
- package/lib/commonjs/screens/MobileVerifierLoading.js +3 -3
- package/lib/commonjs/screens/MobileVerifierLoading.js.map +1 -1
- package/lib/commonjs/screens/PINChange.js +2 -4
- package/lib/commonjs/screens/PINChange.js.map +1 -1
- package/lib/commonjs/screens/PINCreate.js +2 -2
- package/lib/commonjs/screens/PINCreate.js.map +1 -1
- package/lib/commonjs/screens/PINEnter.js +5 -9
- package/lib/commonjs/screens/PINEnter.js.map +1 -1
- package/lib/commonjs/screens/PINExplainer.js +3 -3
- package/lib/commonjs/screens/PINExplainer.js.map +1 -1
- package/lib/commonjs/screens/PINVerify.js +2 -2
- package/lib/commonjs/screens/PINVerify.js.map +1 -1
- package/lib/commonjs/screens/PasteUrl.js +4 -4
- package/lib/commonjs/screens/PasteUrl.js.map +1 -1
- package/lib/commonjs/screens/ProofChangeCredential.js +2 -2
- package/lib/commonjs/screens/ProofChangeCredential.js.map +1 -1
- package/lib/commonjs/screens/ProofDetails.js +3 -3
- package/lib/commonjs/screens/ProofDetails.js.map +1 -1
- package/lib/commonjs/screens/ProofRequest.js +7 -7
- package/lib/commonjs/screens/ProofRequest.js.map +1 -1
- package/lib/commonjs/screens/ProofRequestAccept.js +3 -3
- package/lib/commonjs/screens/ProofRequestAccept.js.map +1 -1
- package/lib/commonjs/screens/ProofRequestDetails.js +4 -4
- package/lib/commonjs/screens/ProofRequestDetails.js.map +1 -1
- package/lib/commonjs/screens/ProofRequestUsageHistory.js +2 -2
- package/lib/commonjs/screens/ProofRequestUsageHistory.js.map +1 -1
- package/lib/commonjs/screens/ProofRequesting.js +5 -5
- package/lib/commonjs/screens/ProofRequesting.js.map +1 -1
- package/lib/commonjs/screens/RenameContact.js +2 -2
- package/lib/commonjs/screens/RenameContact.js.map +1 -1
- package/lib/commonjs/screens/Settings.js +5 -5
- package/lib/commonjs/screens/Settings.js.map +1 -1
- package/lib/commonjs/screens/Splash.js +2 -2
- package/lib/commonjs/screens/Splash.js.map +1 -1
- package/lib/commonjs/screens/Terms.js +1 -19
- package/lib/commonjs/screens/Terms.js.map +1 -1
- package/lib/commonjs/screens/ToggleBiometry.js +2 -2
- package/lib/commonjs/screens/ToggleBiometry.js.map +1 -1
- package/lib/commonjs/screens/TogglePushNotifications.js +5 -5
- package/lib/commonjs/screens/TogglePushNotifications.js.map +1 -1
- package/lib/commonjs/screens/Tours.js +5 -5
- package/lib/commonjs/screens/Tours.js.map +1 -1
- package/lib/commonjs/screens/UpdateAvailable.js +2 -2
- package/lib/commonjs/screens/UpdateAvailable.js.map +1 -1
- package/lib/commonjs/screens/WhatAreContacts.js +2 -2
- package/lib/commonjs/screens/WhatAreContacts.js.map +1 -1
- package/lib/commonjs/services/logger.js +32 -8
- package/lib/commonjs/services/logger.js.map +1 -1
- package/lib/commonjs/theme-builder.js +116 -0
- package/lib/commonjs/theme-builder.js.map +1 -0
- package/lib/commonjs/theme.interface.js +6 -0
- package/lib/commonjs/theme.interface.js.map +1 -0
- package/lib/commonjs/theme.js +904 -670
- package/lib/commonjs/theme.js.map +1 -1
- package/lib/commonjs/utils/credential.js +3 -3
- package/lib/commonjs/utils/credential.js.map +1 -1
- package/lib/commonjs/utils/mediatorhelpers.js +16 -12
- package/lib/commonjs/utils/mediatorhelpers.js.map +1 -1
- package/lib/module/App.js +1 -1
- package/lib/module/App.js.map +1 -1
- package/lib/module/components/animated/ButtonLoading.js +2 -2
- package/lib/module/components/animated/ButtonLoading.js.map +1 -1
- package/lib/module/components/animated/ConnectionLoading.js +3 -3
- package/lib/module/components/animated/ConnectionLoading.js.map +1 -1
- package/lib/module/components/animated/LoadingIndicator.js +2 -2
- package/lib/module/components/animated/LoadingIndicator.js.map +1 -1
- package/lib/module/components/animated/PresentationLoading.js +3 -3
- package/lib/module/components/animated/PresentationLoading.js.map +1 -1
- package/lib/module/components/animated/RecordLoading.js +5 -5
- package/lib/module/components/animated/RecordLoading.js.map +1 -1
- package/lib/module/components/animated/SendingProof.js +3 -3
- package/lib/module/components/animated/SendingProof.js.map +1 -1
- package/lib/module/components/animated/SentProof.js +3 -3
- package/lib/module/components/animated/SentProof.js.map +1 -1
- package/lib/module/components/buttons/Button.js +1 -1
- package/lib/module/components/buttons/Button.js.map +1 -1
- package/lib/module/components/buttons/IconButton.js +3 -3
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/ToggleButton.js +3 -3
- package/lib/module/components/buttons/ToggleButton.js.map +1 -1
- package/lib/module/components/chat/ActionSlider.js +3 -3
- package/lib/module/components/chat/ActionSlider.js.map +1 -1
- package/lib/module/components/forms/WalletNameForm.js +2 -2
- package/lib/module/components/forms/WalletNameForm.js.map +1 -1
- package/lib/module/components/inputs/BiometryControl.js +2 -2
- package/lib/module/components/inputs/BiometryControl.js.map +1 -1
- package/lib/module/components/inputs/BulletPoint.js +2 -2
- package/lib/module/components/inputs/BulletPoint.js.map +1 -1
- package/lib/module/components/listItems/ContactCredentialListItem.js +3 -3
- package/lib/module/components/listItems/ContactCredentialListItem.js.map +1 -1
- package/lib/module/components/listItems/ContactListItem.js +2 -2
- package/lib/module/components/listItems/ContactListItem.js.map +1 -1
- package/lib/module/components/listItems/NotificationListItem.js +22 -22
- package/lib/module/components/listItems/NotificationListItem.js.map +1 -1
- package/lib/module/components/misc/ConnectionAlert.js +5 -5
- package/lib/module/components/misc/ConnectionAlert.js.map +1 -1
- package/lib/module/components/misc/ConnectionImage.js +3 -3
- package/lib/module/components/misc/ConnectionImage.js.map +1 -1
- package/lib/module/components/misc/CredentialCard.js +2 -2
- package/lib/module/components/misc/CredentialCard.js.map +1 -1
- package/lib/module/components/misc/CredentialCard10.js +6 -6
- package/lib/module/components/misc/CredentialCard10.js.map +1 -1
- package/lib/module/components/misc/CredentialCard11.js +43 -22
- package/lib/module/components/misc/CredentialCard11.js.map +1 -1
- package/lib/module/components/misc/CredentialCard11ActionFooter.js +3 -3
- package/lib/module/components/misc/CredentialCard11ActionFooter.js.map +1 -1
- package/lib/module/components/misc/EmptyList.js +2 -2
- package/lib/module/components/misc/EmptyList.js.map +1 -1
- package/lib/module/components/misc/EmptyListContacts.js +2 -2
- package/lib/module/components/misc/EmptyListContacts.js.map +1 -1
- package/lib/module/components/misc/FauxHeader.js +2 -2
- package/lib/module/components/misc/FauxHeader.js.map +1 -1
- package/lib/module/components/misc/InfoBox.js +29 -29
- package/lib/module/components/misc/InfoBox.js.map +1 -1
- package/lib/module/components/misc/NoNewUpdates.js +2 -2
- package/lib/module/components/misc/NoNewUpdates.js.map +1 -1
- package/lib/module/components/misc/PINValidationHelper.js +3 -3
- package/lib/module/components/misc/PINValidationHelper.js.map +1 -1
- package/lib/module/components/misc/QRRenderer.js +2 -2
- package/lib/module/components/misc/QRRenderer.js.map +1 -1
- package/lib/module/components/misc/QRScanner.js +3 -3
- package/lib/module/components/misc/QRScanner.js.map +1 -1
- package/lib/module/components/misc/QRScannerTorch.js +4 -4
- package/lib/module/components/misc/QRScannerTorch.js.map +1 -1
- package/lib/module/components/misc/SharedProofData.js +2 -2
- package/lib/module/components/misc/SharedProofData.js.map +1 -1
- package/lib/module/components/misc/UnorderedList.js +3 -3
- package/lib/module/components/misc/UnorderedList.js.map +1 -1
- package/lib/module/components/misc/VerifierCredentialCard.js +7 -7
- package/lib/module/components/misc/VerifierCredentialCard.js.map +1 -1
- package/lib/module/components/modals/AppGuideModal.js +7 -7
- package/lib/module/components/modals/AppGuideModal.js.map +1 -1
- package/lib/module/components/modals/CameraDisclosureModal.js +4 -4
- package/lib/module/components/modals/CameraDisclosureModal.js.map +1 -1
- package/lib/module/components/modals/CommonRemoveModal.js +7 -7
- package/lib/module/components/modals/CommonRemoveModal.js.map +1 -1
- package/lib/module/components/modals/DismissiblePopupModal.js +7 -7
- package/lib/module/components/modals/DismissiblePopupModal.js.map +1 -1
- package/lib/module/components/modals/ErrorModal.js +4 -4
- package/lib/module/components/modals/ErrorModal.js.map +1 -1
- package/lib/module/components/modals/ImageModal.js +4 -4
- package/lib/module/components/modals/ImageModal.js.map +1 -1
- package/lib/module/components/modals/PopupModal.js +2 -2
- package/lib/module/components/modals/PopupModal.js.map +1 -1
- package/lib/module/components/modals/ProofCancelModal.js +2 -2
- package/lib/module/components/modals/ProofCancelModal.js.map +1 -1
- package/lib/module/components/record/RecordFooter.js +2 -2
- package/lib/module/components/record/RecordFooter.js.map +1 -1
- package/lib/module/components/record/RecordHeader.js +2 -2
- package/lib/module/components/record/RecordHeader.js.map +1 -1
- package/lib/module/components/record/RecordRemove.js +5 -5
- package/lib/module/components/record/RecordRemove.js.map +1 -1
- package/lib/module/components/texts/HighlightTextBox.js +3 -3
- package/lib/module/components/texts/HighlightTextBox.js.map +1 -1
- package/lib/module/components/texts/InfoTextBox.js +17 -17
- package/lib/module/components/texts/InfoTextBox.js.map +1 -1
- package/lib/module/components/texts/Link.js +2 -2
- package/lib/module/components/texts/Link.js.map +1 -1
- package/lib/module/components/toast/BaseToast.js +17 -17
- package/lib/module/components/toast/BaseToast.js.map +1 -1
- package/lib/module/components/tour/CredentialOfferTourSteps.js +2 -2
- package/lib/module/components/tour/CredentialOfferTourSteps.js.map +1 -1
- package/lib/module/components/tour/CredentialsTourSteps.js +2 -2
- package/lib/module/components/tour/CredentialsTourSteps.js.map +1 -1
- package/lib/module/components/tour/HomeTourSteps.js +6 -6
- package/lib/module/components/tour/HomeTourSteps.js.map +1 -1
- package/lib/module/components/tour/ProofRequestTourSteps.js +2 -2
- package/lib/module/components/tour/ProofRequestTourSteps.js.map +1 -1
- package/lib/module/components/tour/TourBox.js +6 -6
- package/lib/module/components/tour/TourBox.js.map +1 -1
- package/lib/module/components/views/Banner.js +19 -9
- package/lib/module/components/views/Banner.js.map +1 -1
- package/lib/module/components/views/CredentialDetailPrimaryHeader.js +3 -3
- package/lib/module/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
- package/lib/module/components/views/KeyboardView.js +2 -2
- package/lib/module/components/views/KeyboardView.js.map +1 -1
- package/lib/module/components/views/ProgressBar.js +3 -3
- package/lib/module/components/views/ProgressBar.js.map +1 -1
- package/lib/module/contexts/reducers/store.js +2 -15
- package/lib/module/contexts/reducers/store.js.map +1 -1
- package/lib/module/contexts/store.js +1 -2
- package/lib/module/contexts/store.js.map +1 -1
- package/lib/module/hooks/chat-messages.js +3 -3
- package/lib/module/hooks/chat-messages.js.map +1 -1
- package/lib/module/hooks/credential-card-styles.js +4 -4
- package/lib/module/hooks/credential-card-styles.js.map +1 -1
- package/lib/module/index.js +3 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/localization/fr/fr.json +0 -1
- package/lib/module/localization/pt-br/pt-br.json +1 -2
- package/lib/module/modules/history/ui/HistoryPage.js +2 -2
- package/lib/module/modules/history/ui/HistoryPage.js.map +1 -1
- package/lib/module/modules/history/ui/HistorySettings.js +2 -2
- package/lib/module/modules/history/ui/HistorySettings.js.map +1 -1
- package/lib/module/modules/history/ui/components/HistoryListItem.js +2 -2
- package/lib/module/modules/history/ui/components/HistoryListItem.js.map +1 -1
- package/lib/module/modules/openid/components/OpenIDCredentialCard.js +5 -5
- package/lib/module/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
- package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
- package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
- package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
- package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
- package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js +3 -3
- package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
- package/lib/module/modules/openid/screens/OpenIDProofPresentation.js +4 -4
- package/lib/module/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
- package/lib/module/navigators/ContactStack.js +0 -16
- package/lib/module/navigators/ContactStack.js.map +1 -1
- package/lib/module/navigators/DeliveryStack.js +0 -16
- package/lib/module/navigators/DeliveryStack.js.map +1 -1
- package/lib/module/navigators/MainStack.js.map +1 -1
- package/lib/module/navigators/NotificationStack.js +0 -16
- package/lib/module/navigators/NotificationStack.js.map +1 -1
- package/lib/module/navigators/OnboardingScreens.js.map +1 -1
- package/lib/module/navigators/TabStack.js +2 -2
- package/lib/module/navigators/TabStack.js.map +1 -1
- package/lib/module/navigators/defaultStackOptions.js +3 -3
- package/lib/module/navigators/defaultStackOptions.js.map +1 -1
- package/lib/module/screens/AttemptLockout.js +2 -2
- package/lib/module/screens/AttemptLockout.js.map +1 -1
- package/lib/module/screens/AutoLock.js +7 -7
- package/lib/module/screens/AutoLock.js.map +1 -1
- package/lib/module/screens/Chat.js +2 -2
- package/lib/module/screens/Chat.js.map +1 -1
- package/lib/module/screens/ConfigureMediator.js +7 -7
- package/lib/module/screens/ConfigureMediator.js.map +1 -1
- package/lib/module/screens/ContactDetails.js +9 -9
- package/lib/module/screens/ContactDetails.js.map +1 -1
- package/lib/module/screens/CredentialDetails.js +16 -16
- package/lib/module/screens/CredentialDetails.js.map +1 -1
- package/lib/module/screens/CredentialOffer.js +2 -2
- package/lib/module/screens/CredentialOffer.js.map +1 -1
- package/lib/module/screens/DataRetention.js +11 -11
- package/lib/module/screens/DataRetention.js.map +1 -1
- package/lib/module/screens/Developer.js +29 -29
- package/lib/module/screens/Developer.js.map +1 -1
- package/lib/module/screens/Home.js +2 -2
- package/lib/module/screens/Home.js.map +1 -1
- package/lib/module/screens/JSONDetails.js +3 -3
- package/lib/module/screens/JSONDetails.js.map +1 -1
- package/lib/module/screens/Language.js +7 -7
- package/lib/module/screens/Language.js.map +1 -1
- package/lib/module/screens/ListContacts.js +3 -3
- package/lib/module/screens/ListContacts.js.map +1 -1
- package/lib/module/screens/ListCredentials.js +2 -2
- package/lib/module/screens/ListCredentials.js.map +1 -1
- package/lib/module/screens/ListProofRequests.js +2 -2
- package/lib/module/screens/ListProofRequests.js.map +1 -1
- package/lib/module/screens/MobileVerifierLoading.js +3 -3
- package/lib/module/screens/MobileVerifierLoading.js.map +1 -1
- package/lib/module/screens/PINChange.js +2 -4
- package/lib/module/screens/PINChange.js.map +1 -1
- package/lib/module/screens/PINCreate.js +2 -2
- package/lib/module/screens/PINCreate.js.map +1 -1
- package/lib/module/screens/PINEnter.js +5 -9
- package/lib/module/screens/PINEnter.js.map +1 -1
- package/lib/module/screens/PINExplainer.js +3 -3
- package/lib/module/screens/PINExplainer.js.map +1 -1
- package/lib/module/screens/PINVerify.js +2 -2
- package/lib/module/screens/PINVerify.js.map +1 -1
- package/lib/module/screens/PasteUrl.js +4 -4
- package/lib/module/screens/PasteUrl.js.map +1 -1
- package/lib/module/screens/ProofChangeCredential.js +2 -2
- package/lib/module/screens/ProofChangeCredential.js.map +1 -1
- package/lib/module/screens/ProofDetails.js +3 -3
- package/lib/module/screens/ProofDetails.js.map +1 -1
- package/lib/module/screens/ProofRequest.js +7 -7
- package/lib/module/screens/ProofRequest.js.map +1 -1
- package/lib/module/screens/ProofRequestAccept.js +3 -3
- package/lib/module/screens/ProofRequestAccept.js.map +1 -1
- package/lib/module/screens/ProofRequestDetails.js +4 -4
- package/lib/module/screens/ProofRequestDetails.js.map +1 -1
- package/lib/module/screens/ProofRequestUsageHistory.js +2 -2
- package/lib/module/screens/ProofRequestUsageHistory.js.map +1 -1
- package/lib/module/screens/ProofRequesting.js +5 -5
- package/lib/module/screens/ProofRequesting.js.map +1 -1
- package/lib/module/screens/RenameContact.js +2 -2
- package/lib/module/screens/RenameContact.js.map +1 -1
- package/lib/module/screens/Settings.js +5 -5
- package/lib/module/screens/Settings.js.map +1 -1
- package/lib/module/screens/Splash.js +2 -2
- package/lib/module/screens/Splash.js.map +1 -1
- package/lib/module/screens/Terms.js +1 -19
- package/lib/module/screens/Terms.js.map +1 -1
- package/lib/module/screens/ToggleBiometry.js +2 -2
- package/lib/module/screens/ToggleBiometry.js.map +1 -1
- package/lib/module/screens/TogglePushNotifications.js +5 -5
- package/lib/module/screens/TogglePushNotifications.js.map +1 -1
- package/lib/module/screens/Tours.js +5 -5
- package/lib/module/screens/Tours.js.map +1 -1
- package/lib/module/screens/UpdateAvailable.js +2 -2
- package/lib/module/screens/UpdateAvailable.js.map +1 -1
- package/lib/module/screens/WhatAreContacts.js +2 -2
- package/lib/module/screens/WhatAreContacts.js.map +1 -1
- package/lib/module/services/logger.js +32 -8
- package/lib/module/services/logger.js.map +1 -1
- package/lib/module/theme-builder.js +109 -0
- package/lib/module/theme-builder.js.map +1 -0
- package/lib/module/theme.interface.js +2 -0
- package/lib/module/theme.interface.js.map +1 -0
- package/lib/module/theme.js +888 -669
- package/lib/module/theme.js.map +1 -1
- package/lib/module/utils/credential.js +3 -3
- package/lib/module/utils/credential.js.map +1 -1
- package/lib/module/utils/mediatorhelpers.js +16 -12
- package/lib/module/utils/mediatorhelpers.js.map +1 -1
- package/lib/typescript/src/App.d.ts.map +1 -1
- package/lib/typescript/src/components/buttons/IconButton.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/ChatActions.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/ChatBubble.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/MessageInput.d.ts.map +1 -1
- package/lib/typescript/src/components/listItems/ContactCredentialListItem.d.ts.map +1 -1
- package/lib/typescript/src/components/misc/CredentialCard11.d.ts.map +1 -1
- package/lib/typescript/src/components/misc/CredentialCard11ActionFooter.d.ts.map +1 -1
- package/lib/typescript/src/components/misc/PINHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/tour/TourOverlay.d.ts.map +1 -1
- package/lib/typescript/src/components/views/Banner.d.ts.map +1 -1
- package/lib/typescript/src/container-api.d.ts.map +1 -1
- package/lib/typescript/src/contexts/navigation.d.ts.map +1 -1
- package/lib/typescript/src/contexts/network.d.ts.map +1 -1
- package/lib/typescript/src/contexts/reducers/store.d.ts +1 -3
- package/lib/typescript/src/contexts/reducers/store.d.ts.map +1 -1
- package/lib/typescript/src/contexts/store.d.ts.map +1 -1
- package/lib/typescript/src/contexts/theme.d.ts.map +1 -1
- package/lib/typescript/src/hooks/chat-messages.d.ts.map +1 -1
- package/lib/typescript/src/hooks/connections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/credential-card-styles.d.ts +377 -15
- package/lib/typescript/src/hooks/credential-card-styles.d.ts.map +1 -1
- package/lib/typescript/src/hooks/credentials.d.ts.map +1 -1
- package/lib/typescript/src/hooks/developer-mode.d.ts.map +1 -1
- package/lib/typescript/src/hooks/notifications.d.ts.map +1 -1
- package/lib/typescript/src/hooks/oob.d.ts.map +1 -1
- package/lib/typescript/src/hooks/proof-request-templates.d.ts.map +1 -1
- package/lib/typescript/src/hooks/proofs.d.ts.map +1 -1
- package/lib/typescript/src/hooks/screen-capture.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useOnboardingState.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePINValidation.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +4 -3
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/localization/index.d.ts.map +1 -1
- package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts +2 -3
- package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts.map +1 -1
- package/lib/typescript/src/modules/openid/hooks/openid.d.ts.map +1 -1
- package/lib/typescript/src/modules/openid/offerResolve.d.ts.map +1 -1
- package/lib/typescript/src/modules/openid/resolverProof.d.ts.map +1 -1
- package/lib/typescript/src/modules/openid/utils/utils.d.ts.map +1 -1
- package/lib/typescript/src/navigators/ContactStack.d.ts.map +1 -1
- package/lib/typescript/src/navigators/DeliveryStack.d.ts.map +1 -1
- package/lib/typescript/src/navigators/NotificationStack.d.ts.map +1 -1
- package/lib/typescript/src/navigators/OnboardingScreens.d.ts +10 -10
- package/lib/typescript/src/navigators/OnboardingScreens.d.ts.map +1 -1
- package/lib/typescript/src/navigators/defaultStackOptions.d.ts +1 -1
- package/lib/typescript/src/navigators/defaultStackOptions.d.ts.map +1 -1
- package/lib/typescript/src/onboarding.d.ts.map +1 -1
- package/lib/typescript/src/screens/Chat.d.ts.map +1 -1
- package/lib/typescript/src/screens/ConfigureMediator.d.ts.map +1 -1
- package/lib/typescript/src/screens/CredentialDetails.d.ts +2 -2
- package/lib/typescript/src/screens/CredentialDetails.d.ts.map +1 -1
- package/lib/typescript/src/screens/Developer.d.ts.map +1 -1
- package/lib/typescript/src/screens/JSONDetails.d.ts.map +1 -1
- package/lib/typescript/src/screens/OnboardingPages.d.ts.map +1 -1
- package/lib/typescript/src/screens/PINChange.d.ts +2 -3
- package/lib/typescript/src/screens/PINChange.d.ts.map +1 -1
- package/lib/typescript/src/screens/PINEnter.d.ts.map +1 -1
- package/lib/typescript/src/screens/Terms.d.ts.map +1 -1
- package/lib/typescript/src/services/keychain.d.ts.map +1 -1
- package/lib/typescript/src/services/storage.d.ts.map +1 -1
- package/lib/typescript/src/theme-builder.d.ts +62 -0
- package/lib/typescript/src/theme-builder.d.ts.map +1 -0
- package/lib/typescript/src/theme.d.ts +204 -702
- package/lib/typescript/src/theme.d.ts.map +1 -1
- package/lib/typescript/src/theme.interface.d.ts +557 -0
- package/lib/typescript/src/theme.interface.d.ts.map +1 -0
- package/lib/typescript/src/types/navigators.d.ts +1 -0
- package/lib/typescript/src/types/navigators.d.ts.map +1 -1
- package/lib/typescript/src/types/state.d.ts +1 -2
- package/lib/typescript/src/types/state.d.ts.map +1 -1
- package/lib/typescript/src/utils/PINValidation.d.ts.map +1 -1
- package/lib/typescript/src/utils/agent.d.ts.map +1 -1
- package/lib/typescript/src/utils/anonCredsProofRequestMapper.d.ts.map +1 -1
- package/lib/typescript/src/utils/contacts.d.ts.map +1 -1
- package/lib/typescript/src/utils/credential.d.ts +1 -1
- package/lib/typescript/src/utils/credential.d.ts.map +1 -1
- package/lib/typescript/src/utils/crypto.d.ts.map +1 -1
- package/lib/typescript/src/utils/fileCache.d.ts.map +1 -1
- package/lib/typescript/src/utils/helpers.d.ts +1 -3
- package/lib/typescript/src/utils/helpers.d.ts.map +1 -1
- package/lib/typescript/src/utils/luminance.d.ts.map +1 -1
- package/lib/typescript/src/utils/mediatorhelpers.d.ts.map +1 -1
- package/lib/typescript/src/utils/migration.d.ts.map +1 -1
- package/lib/typescript/src/utils/network.d.ts.map +1 -1
- package/lib/typescript/src/utils/oca.d.ts.map +1 -1
- package/lib/typescript/src/utils/parsers.d.ts.map +1 -1
- package/lib/typescript/src/utils/proofBundle.d.ts.map +1 -1
- package/lib/typescript/src/utils/testable.d.ts.map +1 -1
- package/package.json +147 -148
- package/src/App.tsx +1 -1
- package/src/components/animated/ButtonLoading.tsx +2 -2
- package/src/components/animated/ConnectionLoading.tsx +3 -3
- package/src/components/animated/LoadingIndicator.tsx +2 -2
- package/src/components/animated/PresentationLoading.tsx +3 -3
- package/src/components/animated/RecordLoading.tsx +5 -5
- package/src/components/animated/SendingProof.tsx +3 -3
- package/src/components/animated/SentProof.tsx +3 -3
- package/src/components/buttons/Button.tsx +25 -25
- package/src/components/buttons/IconButton.tsx +5 -3
- package/src/components/buttons/ToggleButton.tsx +3 -3
- package/src/components/chat/ActionSlider.tsx +3 -3
- package/src/components/forms/WalletNameForm.tsx +2 -2
- package/src/components/inputs/BiometryControl.tsx +2 -2
- package/src/components/inputs/BulletPoint.tsx +2 -2
- package/src/components/listItems/ContactCredentialListItem.tsx +3 -3
- package/src/components/listItems/ContactListItem.tsx +2 -2
- package/src/components/listItems/NotificationListItem.tsx +22 -22
- package/src/components/misc/ConnectionAlert.tsx +5 -5
- package/src/components/misc/ConnectionImage.tsx +3 -3
- package/src/components/misc/CredentialCard.tsx +2 -2
- package/src/components/misc/CredentialCard10.tsx +6 -6
- package/src/components/misc/CredentialCard11.tsx +51 -23
- package/src/components/misc/CredentialCard11ActionFooter.tsx +3 -3
- package/src/components/misc/EmptyList.tsx +2 -2
- package/src/components/misc/EmptyListContacts.tsx +2 -2
- package/src/components/misc/FauxHeader.tsx +2 -2
- package/src/components/misc/InfoBox.tsx +29 -29
- package/src/components/misc/NoNewUpdates.tsx +2 -2
- package/src/components/misc/PINValidationHelper.tsx +3 -3
- package/src/components/misc/QRRenderer.tsx +2 -2
- package/src/components/misc/QRScanner.tsx +3 -3
- package/src/components/misc/QRScannerTorch.tsx +4 -4
- package/src/components/misc/SharedProofData.tsx +2 -2
- package/src/components/misc/UnorderedList.tsx +3 -3
- package/src/components/misc/VerifierCredentialCard.tsx +7 -7
- package/src/components/modals/AppGuideModal.tsx +7 -7
- package/src/components/modals/CameraDisclosureModal.tsx +4 -4
- package/src/components/modals/CommonRemoveModal.tsx +7 -7
- package/src/components/modals/DismissiblePopupModal.tsx +7 -7
- package/src/components/modals/ErrorModal.tsx +4 -4
- package/src/components/modals/ImageModal.tsx +4 -4
- package/src/components/modals/PopupModal.tsx +2 -2
- package/src/components/modals/ProofCancelModal.tsx +2 -2
- package/src/components/record/RecordFooter.tsx +2 -2
- package/src/components/record/RecordHeader.tsx +2 -2
- package/src/components/record/RecordRemove.tsx +5 -5
- package/src/components/texts/HighlightTextBox.tsx +3 -3
- package/src/components/texts/InfoTextBox.tsx +17 -17
- package/src/components/texts/Link.tsx +2 -2
- package/src/components/toast/BaseToast.tsx +17 -17
- package/src/components/tour/CredentialOfferTourSteps.tsx +2 -2
- package/src/components/tour/CredentialsTourSteps.tsx +2 -2
- package/src/components/tour/HomeTourSteps.tsx +6 -6
- package/src/components/tour/ProofRequestTourSteps.tsx +2 -2
- package/src/components/tour/TourBox.tsx +6 -6
- package/src/components/views/Banner.tsx +21 -14
- package/src/components/views/CredentialDetailPrimaryHeader.tsx +4 -4
- package/src/components/views/KeyboardView.tsx +2 -2
- package/src/components/views/ProgressBar.tsx +3 -3
- package/src/contexts/reducers/store.ts +4 -14
- package/src/contexts/store.tsx +0 -1
- package/src/hooks/chat-messages.tsx +3 -3
- package/src/hooks/credential-card-styles.ts +4 -4
- package/src/index.ts +4 -2
- package/src/localization/fr/fr.json +0 -1
- package/src/localization/pt-br/pt-br.json +1 -2
- package/src/modules/history/ui/HistoryPage.tsx +2 -2
- package/src/modules/history/ui/HistorySettings.tsx +4 -5
- package/src/modules/history/ui/components/HistoryListItem.tsx +2 -2
- package/src/modules/openid/components/OpenIDCredentialCard.tsx +5 -5
- package/src/modules/openid/screens/OpenIDCredentialDetails.tsx +2 -2
- package/src/modules/openid/screens/OpenIDCredentialOffer.tsx +2 -2
- package/src/modules/openid/screens/OpenIDProofChangeCredential.tsx +3 -3
- package/src/modules/openid/screens/OpenIDProofPresentation.tsx +4 -4
- package/src/navigators/ContactStack.tsx +0 -15
- package/src/navigators/DeliveryStack.tsx +0 -18
- package/src/navigators/MainStack.tsx +2 -2
- package/src/navigators/NotificationStack.tsx +0 -18
- package/src/navigators/OnboardingScreens.ts +10 -10
- package/src/navigators/TabStack.tsx +2 -2
- package/src/navigators/defaultStackOptions.tsx +3 -3
- package/src/screens/AttemptLockout.tsx +2 -2
- package/src/screens/AutoLock.tsx +7 -7
- package/src/screens/Chat.tsx +6 -2
- package/src/screens/ConfigureMediator.tsx +7 -7
- package/src/screens/ContactDetails.tsx +9 -9
- package/src/screens/CredentialDetails.tsx +21 -18
- package/src/screens/CredentialOffer.tsx +2 -2
- package/src/screens/DataRetention.tsx +11 -11
- package/src/screens/Developer.tsx +24 -22
- package/src/screens/Home.tsx +2 -2
- package/src/screens/JSONDetails.tsx +3 -3
- package/src/screens/Language.tsx +7 -7
- package/src/screens/ListContacts.tsx +3 -3
- package/src/screens/ListCredentials.tsx +2 -2
- package/src/screens/ListProofRequests.tsx +2 -2
- package/src/screens/MobileVerifierLoading.tsx +3 -3
- package/src/screens/PINChange.tsx +5 -6
- package/src/screens/PINCreate.tsx +2 -2
- package/src/screens/PINEnter.tsx +4 -9
- package/src/screens/PINExplainer.tsx +3 -3
- package/src/screens/PINVerify.tsx +2 -2
- package/src/screens/PasteUrl.tsx +4 -4
- package/src/screens/ProofChangeCredential.tsx +2 -2
- package/src/screens/ProofDetails.tsx +3 -3
- package/src/screens/ProofRequest.tsx +7 -7
- package/src/screens/ProofRequestAccept.tsx +3 -3
- package/src/screens/ProofRequestDetails.tsx +4 -4
- package/src/screens/ProofRequestUsageHistory.tsx +2 -2
- package/src/screens/ProofRequesting.tsx +5 -5
- package/src/screens/RenameContact.tsx +2 -2
- package/src/screens/Settings.tsx +5 -5
- package/src/screens/Splash.tsx +2 -2
- package/src/screens/Terms.tsx +3 -13
- package/src/screens/ToggleBiometry.tsx +2 -2
- package/src/screens/TogglePushNotifications.tsx +4 -4
- package/src/screens/Tours.tsx +5 -5
- package/src/screens/UpdateAvailable.tsx +2 -2
- package/src/screens/WhatAreContacts.tsx +2 -2
- package/src/services/logger.ts +8 -8
- package/src/theme-builder.ts +140 -0
- package/src/theme.interface.ts +580 -0
- package/src/theme.ts +881 -774
- package/src/types/navigators.ts +1 -0
- package/src/types/state.ts +1 -2
- package/src/utils/credential.ts +3 -3
- package/src/utils/mediatorhelpers.ts +23 -12
- package/lib/commonjs/hooks/onboarding.js +0 -23
- package/lib/commonjs/hooks/onboarding.js.map +0 -1
- package/lib/module/hooks/onboarding.js +0 -16
- package/lib/module/hooks/onboarding.js.map +0 -1
- package/lib/typescript/src/hooks/onboarding.d.ts +0 -2
- package/lib/typescript/src/hooks/onboarding.d.ts.map +0 -1
- package/src/hooks/onboarding.ts +0 -16
|
@@ -7,10 +7,8 @@ import { useTheme } from '../contexts/theme'
|
|
|
7
7
|
import Chat from '../screens/Chat'
|
|
8
8
|
import ContactDetails from '../screens/ContactDetails'
|
|
9
9
|
import CredentialDetails from '../screens/CredentialDetails'
|
|
10
|
-
import CredentialOffer from '../screens/CredentialOffer'
|
|
11
10
|
import ListContacts from '../screens/ListContacts'
|
|
12
11
|
import ProofDetails from '../screens/ProofDetails'
|
|
13
|
-
import ProofRequest from '../screens/ProofRequest'
|
|
14
12
|
import RenameContact from '../screens/RenameContact'
|
|
15
13
|
import JSONDetails from '../screens/JSONDetails'
|
|
16
14
|
import WhatAreContacts from '../screens/WhatAreContacts'
|
|
@@ -77,11 +75,6 @@ const ContactStack: React.FC = () => {
|
|
|
77
75
|
component={CredentialDetails}
|
|
78
76
|
options={{ title: t('Screens.CredentialDetails'), ...ScreenOptionsDictionary[Screens.CredentialDetails] }}
|
|
79
77
|
/>
|
|
80
|
-
<Stack.Screen
|
|
81
|
-
name={Screens.CredentialOffer}
|
|
82
|
-
component={CredentialOffer}
|
|
83
|
-
options={{ title: t('Screens.CredentialOffer'), ...ScreenOptionsDictionary[Screens.CredentialOffer] }}
|
|
84
|
-
/>
|
|
85
78
|
<Stack.Screen
|
|
86
79
|
name={Screens.ProofDetails}
|
|
87
80
|
component={ProofDetails}
|
|
@@ -91,14 +84,6 @@ const ContactStack: React.FC = () => {
|
|
|
91
84
|
...ScreenOptionsDictionary[Screens.ProofDetails],
|
|
92
85
|
})}
|
|
93
86
|
/>
|
|
94
|
-
<Stack.Screen
|
|
95
|
-
name={Screens.ProofRequest}
|
|
96
|
-
component={ProofRequest}
|
|
97
|
-
options={{
|
|
98
|
-
title: t('Screens.ProofRequest'),
|
|
99
|
-
...ScreenOptionsDictionary[Screens.ProofRequest],
|
|
100
|
-
}}
|
|
101
|
-
/>
|
|
102
87
|
</Stack.Navigator>
|
|
103
88
|
)
|
|
104
89
|
}
|
|
@@ -6,8 +6,6 @@ import HeaderRightHome from '../components/buttons/HeaderHome'
|
|
|
6
6
|
import IconButton, { ButtonLocation } from '../components/buttons/IconButton'
|
|
7
7
|
import { useTheme } from '../contexts/theme'
|
|
8
8
|
import Connection from '../screens/Connection'
|
|
9
|
-
import CredentialOffer from '../screens/CredentialOffer'
|
|
10
|
-
import ProofRequest from '../screens/ProofRequest'
|
|
11
9
|
import { DeliveryStackParams, Screens } from '../types/navigators'
|
|
12
10
|
import { testIdWithKey } from '../utils/testable'
|
|
13
11
|
|
|
@@ -38,22 +36,6 @@ const DeliveryStack: React.FC = () => {
|
|
|
38
36
|
}}
|
|
39
37
|
>
|
|
40
38
|
<Stack.Screen name={Screens.Connection} component={Connection} options={{ ...defaultStackOptions }} />
|
|
41
|
-
<Stack.Screen
|
|
42
|
-
name={Screens.ProofRequest}
|
|
43
|
-
component={ProofRequest}
|
|
44
|
-
options={{
|
|
45
|
-
title: t('Screens.ProofRequest'),
|
|
46
|
-
...ScreenOptionsDictionary[Screens.ProofRequest],
|
|
47
|
-
}}
|
|
48
|
-
/>
|
|
49
|
-
<Stack.Screen
|
|
50
|
-
name={Screens.CredentialOffer}
|
|
51
|
-
component={CredentialOffer}
|
|
52
|
-
options={{
|
|
53
|
-
title: t('Screens.CredentialOffer'),
|
|
54
|
-
...ScreenOptionsDictionary[Screens.CredentialOffer],
|
|
55
|
-
}}
|
|
56
|
-
/>
|
|
57
39
|
<Stack.Screen
|
|
58
40
|
name={Screens.OpenIDCredentialOffer}
|
|
59
41
|
component={OpenIDCredentialOffer}
|
|
@@ -11,7 +11,7 @@ import { TOKENS, useServices } from '../container-api'
|
|
|
11
11
|
import { useTheme } from '../contexts/theme'
|
|
12
12
|
import HistoryStack from '../modules/history/navigation/HistoryStack'
|
|
13
13
|
import Chat from '../screens/Chat'
|
|
14
|
-
import { Screens, Stacks, TabStacks } from '../types/navigators'
|
|
14
|
+
import { RootStackParams, Screens, Stacks, TabStacks } from '../types/navigators'
|
|
15
15
|
import { testIdWithKey } from '../utils/testable'
|
|
16
16
|
import { useStore } from '../contexts/store'
|
|
17
17
|
import { useTour } from '../contexts/tour/tour-context'
|
|
@@ -53,7 +53,7 @@ const MainStack: React.FC = () => {
|
|
|
53
53
|
})
|
|
54
54
|
}, [declinedProofs, agent, store.preferences.useDataRetention])
|
|
55
55
|
|
|
56
|
-
const Stack = createStackNavigator()
|
|
56
|
+
const Stack = createStackNavigator<RootStackParams>()
|
|
57
57
|
|
|
58
58
|
// This function is to make the fade in behavior of both iOS and
|
|
59
59
|
// Android consistent for the settings menu
|
|
@@ -5,8 +5,6 @@ import { useTranslation } from 'react-i18next'
|
|
|
5
5
|
import { TOKENS, useServices } from '../container-api'
|
|
6
6
|
import { useTheme } from '../contexts/theme'
|
|
7
7
|
import CredentialDetails from '../screens/CredentialDetails'
|
|
8
|
-
import CredentialOffer from '../screens/CredentialOffer'
|
|
9
|
-
import ProofRequest from '../screens/ProofRequest'
|
|
10
8
|
import { NotificationStackParams, Screens } from '../types/navigators'
|
|
11
9
|
|
|
12
10
|
import { useDefaultStackOptions } from './defaultStackOptions'
|
|
@@ -31,22 +29,6 @@ const NotificationStack: React.FC = () => {
|
|
|
31
29
|
...ScreenOptionsDictionary[Screens.CredentialDetails],
|
|
32
30
|
}}
|
|
33
31
|
/>
|
|
34
|
-
<Stack.Screen
|
|
35
|
-
name={Screens.CredentialOffer}
|
|
36
|
-
component={CredentialOffer}
|
|
37
|
-
options={{
|
|
38
|
-
title: t('Screens.CredentialOffer'),
|
|
39
|
-
...ScreenOptionsDictionary[Screens.CredentialOffer],
|
|
40
|
-
}}
|
|
41
|
-
/>
|
|
42
|
-
<Stack.Screen
|
|
43
|
-
name={Screens.ProofRequest}
|
|
44
|
-
component={ProofRequest}
|
|
45
|
-
options={{
|
|
46
|
-
title: t('Screens.ProofRequest'),
|
|
47
|
-
...ScreenOptionsDictionary[Screens.ProofRequest],
|
|
48
|
-
}}
|
|
49
|
-
/>
|
|
50
32
|
{customNotification && (
|
|
51
33
|
<Stack.Screen
|
|
52
34
|
name={Screens.CustomNotification}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TFunction } from 'i18next'
|
|
2
|
-
import { TransitionPresets, StackNavigationOptions, StackScreenProps } from '@react-navigation/stack'
|
|
3
1
|
import { ParamListBase, RouteConfig, StackNavigationState } from '@react-navigation/native'
|
|
4
|
-
import {
|
|
2
|
+
import { StackNavigationOptions, TransitionPresets } from '@react-navigation/stack'
|
|
5
3
|
import type { StackNavigationEventMap } from '@react-navigation/stack/lib/typescript/src/types'
|
|
4
|
+
import { TFunction } from 'i18next'
|
|
5
|
+
import { ScreenOptionsType, Screens } from '../types/navigators'
|
|
6
6
|
|
|
7
7
|
type ScreenOptions = RouteConfig<
|
|
8
8
|
ParamListBase,
|
|
@@ -13,14 +13,14 @@ type ScreenOptions = RouteConfig<
|
|
|
13
13
|
>
|
|
14
14
|
|
|
15
15
|
interface ScreenComponents {
|
|
16
|
-
SplashScreen: React.FC
|
|
17
|
-
Preface: React.FC
|
|
16
|
+
SplashScreen: React.FC
|
|
17
|
+
Preface: React.FC
|
|
18
18
|
UpdateAvailableScreen: React.FC
|
|
19
|
-
Terms: React.FC
|
|
20
|
-
NameWallet: React.FC
|
|
21
|
-
Biometry: React.FC
|
|
22
|
-
PushNotifications: React.FC
|
|
23
|
-
AttemptLockout: React.FC
|
|
19
|
+
Terms: React.FC
|
|
20
|
+
NameWallet: React.FC
|
|
21
|
+
Biometry: React.FC
|
|
22
|
+
PushNotifications: React.FC
|
|
23
|
+
AttemptLockout: React.FC
|
|
24
24
|
OnboardingScreen: React.FC
|
|
25
25
|
CreatePINScreen: React.FC
|
|
26
26
|
EnterPINScreen: React.FC
|
|
@@ -61,7 +61,7 @@ const TabStack: React.FC = () => {
|
|
|
61
61
|
const { t } = useTranslation()
|
|
62
62
|
const Tab = createBottomTabNavigator<TabStackParams>()
|
|
63
63
|
const { assertNetworkConnected } = useNetwork()
|
|
64
|
-
const {
|
|
64
|
+
const { ColorPalette, TabTheme, TextTheme, Assets, NavigationTheme } = useTheme()
|
|
65
65
|
const [orientation, setOrientation] = useState(OrientationType.PORTRAIT)
|
|
66
66
|
const [store, dispatch] = useStore()
|
|
67
67
|
const { agent } = useAgent()
|
|
@@ -179,7 +179,7 @@ const TabStack: React.FC = () => {
|
|
|
179
179
|
tabBarBadge: notifications.length || undefined,
|
|
180
180
|
tabBarBadgeStyle: {
|
|
181
181
|
marginLeft: leftMarginForDevice(),
|
|
182
|
-
backgroundColor:
|
|
182
|
+
backgroundColor: ColorPalette.semantic.error,
|
|
183
183
|
...badgeFontSize,
|
|
184
184
|
},
|
|
185
185
|
}}
|
|
@@ -71,13 +71,13 @@ export const DefaultScreenOptionsDictionary: ScreenOptionsType = {
|
|
|
71
71
|
},
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export function useDefaultStackOptions({
|
|
74
|
+
export function useDefaultStackOptions({ ColorPalette }: ITheme): StackNavigationOptions {
|
|
75
75
|
const { t } = useTranslation()
|
|
76
76
|
const [{ globalScreenOptions }] = useServices([TOKENS.CONFIG])
|
|
77
77
|
|
|
78
78
|
return (
|
|
79
79
|
globalScreenOptions ?? {
|
|
80
|
-
headerTintColor:
|
|
80
|
+
headerTintColor: ColorPalette.brand.headerIcon,
|
|
81
81
|
headerShown: true,
|
|
82
82
|
headerBackTitleVisible: false,
|
|
83
83
|
headerTitleContainerStyle: {
|
|
@@ -89,7 +89,7 @@ export function useDefaultStackOptions({ ColorPallet }: ITheme): StackNavigation
|
|
|
89
89
|
elevation: 0,
|
|
90
90
|
shadowOffset: { width: 0, height: 6 },
|
|
91
91
|
shadowRadius: 6,
|
|
92
|
-
shadowColor:
|
|
92
|
+
shadowColor: ColorPalette.grayscale.black,
|
|
93
93
|
shadowOpacity: 0.15,
|
|
94
94
|
borderBottomWidth: 0,
|
|
95
95
|
},
|
|
@@ -19,7 +19,7 @@ interface Timer {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const AttemptLockout: React.FC = () => {
|
|
22
|
-
const {
|
|
22
|
+
const { ColorPalette, Assets, Spacing } = useTheme()
|
|
23
23
|
const { t } = useTranslation()
|
|
24
24
|
const [state, dispatch] = useStore()
|
|
25
25
|
const [time, setTime] = useState<Timer>()
|
|
@@ -27,7 +27,7 @@ const AttemptLockout: React.FC = () => {
|
|
|
27
27
|
const styles = StyleSheet.create({
|
|
28
28
|
container: {
|
|
29
29
|
flex: 1,
|
|
30
|
-
backgroundColor:
|
|
30
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
31
31
|
paddingHorizontal: Spacing.lg,
|
|
32
32
|
},
|
|
33
33
|
title: {
|
package/src/screens/AutoLock.tsx
CHANGED
|
@@ -26,11 +26,11 @@ type LockoutRowProps = AutoLockListItem & {
|
|
|
26
26
|
const AutoLock: React.FC = () => {
|
|
27
27
|
const { t } = useTranslation()
|
|
28
28
|
const [store, dispatch] = useStore()
|
|
29
|
-
const {
|
|
29
|
+
const { ColorPalette, SettingsTheme } = useTheme()
|
|
30
30
|
const currentLockoutTime = store.preferences.autoLockTime ?? AutoLockTime.FiveMinutes
|
|
31
31
|
const styles = StyleSheet.create({
|
|
32
32
|
container: {
|
|
33
|
-
backgroundColor:
|
|
33
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
34
34
|
width: '100%',
|
|
35
35
|
},
|
|
36
36
|
section: {
|
|
@@ -45,7 +45,7 @@ const AutoLock: React.FC = () => {
|
|
|
45
45
|
},
|
|
46
46
|
itemSeparator: {
|
|
47
47
|
borderBottomWidth: 1,
|
|
48
|
-
borderBottomColor:
|
|
48
|
+
borderBottomColor: ColorPalette.brand.primaryBackground,
|
|
49
49
|
marginHorizontal: 25,
|
|
50
50
|
},
|
|
51
51
|
checkboxContainer: {
|
|
@@ -72,11 +72,11 @@ const AutoLock: React.FC = () => {
|
|
|
72
72
|
<BouncyCheckbox
|
|
73
73
|
accessibilityLabel={String(AutoLockTime.FiveMinutes)}
|
|
74
74
|
disableText
|
|
75
|
-
fillColor={
|
|
76
|
-
unfillColor={
|
|
75
|
+
fillColor={ColorPalette.brand.secondaryBackground}
|
|
76
|
+
unfillColor={ColorPalette.brand.secondaryBackground}
|
|
77
77
|
size={36}
|
|
78
|
-
innerIconStyle={{ borderColor:
|
|
79
|
-
ImageComponent={() => <Icon name="circle" size={18} color={
|
|
78
|
+
innerIconStyle={{ borderColor: ColorPalette.brand.primary, borderWidth: 2 }}
|
|
79
|
+
ImageComponent={() => <Icon name="circle" size={18} color={ColorPalette.brand.primary} />}
|
|
80
80
|
onPress={() => onPress(value)}
|
|
81
81
|
isChecked={selected}
|
|
82
82
|
disableBuiltInState
|
package/src/screens/Chat.tsx
CHANGED
|
@@ -21,7 +21,7 @@ import { Role } from '../types/chat'
|
|
|
21
21
|
import { BasicMessageMetadata, basicMessageCustomMetadata } from '../types/metadata'
|
|
22
22
|
import { RootStackParams, ContactStackParams, Screens, Stacks } from '../types/navigators'
|
|
23
23
|
import { getConnectionName } from '../utils/helpers'
|
|
24
|
-
import { KeyboardAvoidingView } from 'react-native'
|
|
24
|
+
import { KeyboardAvoidingView, Platform } from 'react-native'
|
|
25
25
|
|
|
26
26
|
type ChatProps = StackScreenProps<ContactStackParams, Screens.Chat> | StackScreenProps<RootStackParams, Screens.Chat>
|
|
27
27
|
|
|
@@ -108,7 +108,11 @@ const Chat: React.FC<ChatProps> = ({ route }) => {
|
|
|
108
108
|
|
|
109
109
|
return (
|
|
110
110
|
<SafeAreaView edges={['bottom', 'left', 'right']} style={{ flex: 1, paddingTop: 20 }}>
|
|
111
|
-
<KeyboardAvoidingView
|
|
111
|
+
<KeyboardAvoidingView
|
|
112
|
+
style={{ flex: 1 }}
|
|
113
|
+
behavior={Platform.OS === 'ios' ? undefined : 'padding'}
|
|
114
|
+
keyboardVerticalOffset={headerHeight}
|
|
115
|
+
>
|
|
112
116
|
<GiftedChat
|
|
113
117
|
keyboardShouldPersistTaps={'handled'}
|
|
114
118
|
messages={chatMessages}
|
|
@@ -27,7 +27,7 @@ type ConfigureMediatorProps = StackScreenProps<SettingStackParams, Screens.Confi
|
|
|
27
27
|
const ConfigureMediator = ({ route }: ConfigureMediatorProps) => {
|
|
28
28
|
const [store, dispatch] = useStore()
|
|
29
29
|
const { agent } = useAgent()
|
|
30
|
-
const {
|
|
30
|
+
const { ColorPalette, SettingsTheme } = useTheme()
|
|
31
31
|
const { t } = useTranslation()
|
|
32
32
|
const { lockOutUser } = useAuth()
|
|
33
33
|
const supportedMediators = store.preferences.availableMediators
|
|
@@ -50,7 +50,7 @@ const ConfigureMediator = ({ route }: ConfigureMediatorProps) => {
|
|
|
50
50
|
}))
|
|
51
51
|
const styles = StyleSheet.create({
|
|
52
52
|
container: {
|
|
53
|
-
backgroundColor:
|
|
53
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
54
54
|
width: '100%',
|
|
55
55
|
},
|
|
56
56
|
section: {
|
|
@@ -65,7 +65,7 @@ const ConfigureMediator = ({ route }: ConfigureMediatorProps) => {
|
|
|
65
65
|
},
|
|
66
66
|
itemSeparator: {
|
|
67
67
|
borderBottomWidth: 1,
|
|
68
|
-
borderBottomColor:
|
|
68
|
+
borderBottomColor: ColorPalette.brand.primaryBackground,
|
|
69
69
|
marginHorizontal: 25,
|
|
70
70
|
},
|
|
71
71
|
checkboxContainer: {
|
|
@@ -116,11 +116,11 @@ const ConfigureMediator = ({ route }: ConfigureMediatorProps) => {
|
|
|
116
116
|
>
|
|
117
117
|
<BouncyCheckbox
|
|
118
118
|
disableText
|
|
119
|
-
fillColor={
|
|
120
|
-
unfillColor={
|
|
119
|
+
fillColor={ColorPalette.brand.secondaryBackground}
|
|
120
|
+
unfillColor={ColorPalette.brand.secondaryBackground}
|
|
121
121
|
size={36}
|
|
122
|
-
innerIconStyle={{ borderColor:
|
|
123
|
-
ImageComponent={() => <Icon name="circle" size={18} color={
|
|
122
|
+
innerIconStyle={{ borderColor: ColorPalette.brand.primary, borderWidth: 2 }}
|
|
123
|
+
ImageComponent={() => <Icon name="circle" size={18} color={ColorPalette.brand.primary} />}
|
|
124
124
|
onPress={() => onPress(id)}
|
|
125
125
|
isChecked={selected}
|
|
126
126
|
disableBuiltInState
|
|
@@ -52,7 +52,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
52
52
|
...useCredentialByState(CredentialState.CredentialReceived),
|
|
53
53
|
...useCredentialByState(CredentialState.Done),
|
|
54
54
|
].filter((credential) => credential.connectionId === connection?.id)
|
|
55
|
-
const {
|
|
55
|
+
const { ColorPalette, Assets } = useTheme()
|
|
56
56
|
const [store] = useStore()
|
|
57
57
|
const { width } = useWindowDimensions()
|
|
58
58
|
const contactImageHeight = width * CONTACT_IMG_PERCENTAGE
|
|
@@ -76,7 +76,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
76
76
|
const styles = StyleSheet.create({
|
|
77
77
|
contentContainer: {
|
|
78
78
|
padding: 20,
|
|
79
|
-
backgroundColor:
|
|
79
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
80
80
|
},
|
|
81
81
|
contactContainer: {
|
|
82
82
|
flexDirection: 'row',
|
|
@@ -242,7 +242,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
242
242
|
fontSize: contactImageHeight,
|
|
243
243
|
lineHeight: contactImageHeight,
|
|
244
244
|
alignSelf: 'center',
|
|
245
|
-
color:
|
|
245
|
+
color: ColorPalette.brand.primary,
|
|
246
246
|
}}
|
|
247
247
|
>
|
|
248
248
|
{contactLabel.charAt(0).toUpperCase()}
|
|
@@ -271,14 +271,14 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
271
271
|
)}
|
|
272
272
|
{contactDetailsOptions?.enableCredentialList && (
|
|
273
273
|
<>
|
|
274
|
-
<View style={{ borderTopColor:
|
|
274
|
+
<View style={{ borderTopColor: ColorPalette.grayscale.lightGrey, borderWidth: 1, marginTop: 20 }}></View>
|
|
275
275
|
<ThemedText variant="headingFour" style={{ marginVertical: 16 }}>
|
|
276
276
|
{t('ContactDetails.Credentials')}
|
|
277
277
|
</ThemedText>
|
|
278
278
|
<FlatList
|
|
279
279
|
ItemSeparatorComponent={() => <View style={{ height: 20 }}></View>}
|
|
280
280
|
ListEmptyComponent={() => (
|
|
281
|
-
<ThemedText style={{ color:
|
|
281
|
+
<ThemedText style={{ color: ColorPalette.grayscale.lightGrey }}>
|
|
282
282
|
{t('ContactDetails.NoCredentials')}
|
|
283
283
|
</ThemedText>
|
|
284
284
|
)}
|
|
@@ -303,7 +303,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
303
303
|
testID={testIdWithKey('RenameContact')}
|
|
304
304
|
style={[styles.contentContainer, styles.actionContainer, { marginTop: 10 }]}
|
|
305
305
|
>
|
|
306
|
-
<Assets.svg.iconEdit width={20} height={20} color={
|
|
306
|
+
<Assets.svg.iconEdit width={20} height={20} color={ColorPalette.brand.text} />
|
|
307
307
|
<ThemedText>{t('Screens.RenameContact')}</ThemedText>
|
|
308
308
|
</TouchableOpacity>
|
|
309
309
|
)}
|
|
@@ -316,7 +316,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
316
316
|
testID={testIdWithKey('JSONDetails')}
|
|
317
317
|
style={[styles.contentContainer, styles.actionContainer, { marginTop: 10 }]}
|
|
318
318
|
>
|
|
319
|
-
<Assets.svg.iconCode width={20} height={20} color={
|
|
319
|
+
<Assets.svg.iconCode width={20} height={20} color={ColorPalette.brand.text} />
|
|
320
320
|
<ThemedText>{t('Global.ViewJSON')}</ThemedText>
|
|
321
321
|
</TouchableOpacity>
|
|
322
322
|
)}
|
|
@@ -327,8 +327,8 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
327
327
|
testID={testIdWithKey('RemoveFromWallet')}
|
|
328
328
|
style={[styles.contentContainer, styles.actionContainer, { marginTop: 10 }]}
|
|
329
329
|
>
|
|
330
|
-
<Assets.svg.iconDelete width={20} height={20} color={
|
|
331
|
-
<ThemedText style={{ color:
|
|
330
|
+
<Assets.svg.iconDelete width={20} height={20} color={ColorPalette.semantic.error} />
|
|
331
|
+
<ThemedText style={{ color: ColorPalette.semantic.error }}>{t('ContactDetails.RemoveContact')}</ThemedText>
|
|
332
332
|
</TouchableOpacity>
|
|
333
333
|
</View>
|
|
334
334
|
<CommonRemoveModal
|
|
@@ -22,7 +22,7 @@ import { TOKENS, useServices } from '../container-api'
|
|
|
22
22
|
import { useTheme } from '../contexts/theme'
|
|
23
23
|
import { BifoldError } from '../types/error'
|
|
24
24
|
import { CredentialMetadata, credentialCustomMetadata } from '../types/metadata'
|
|
25
|
-
import { RootStackParams, Screens, Stacks } from '../types/navigators'
|
|
25
|
+
import { ContactStackParams, NotificationStackParams, RootStackParams, Screens, Stacks } from '../types/navigators'
|
|
26
26
|
import { ModalUsage } from '../types/remove'
|
|
27
27
|
import { credentialTextColor, getCredentialIdentifiers, isValidAnonCredsCredential } from '../utils/credential'
|
|
28
28
|
import { formatTime, useCredentialConnectionLabel } from '../utils/helpers'
|
|
@@ -36,7 +36,10 @@ import CredentialDetailSecondaryHeader from '../components/views/CredentialDetai
|
|
|
36
36
|
import { ThemedText } from '../components/texts/ThemedText'
|
|
37
37
|
import CardWatermark from '../components/misc/CardWatermark'
|
|
38
38
|
|
|
39
|
-
type CredentialDetailsProps = StackScreenProps<
|
|
39
|
+
type CredentialDetailsProps = StackScreenProps<
|
|
40
|
+
RootStackParams & ContactStackParams & NotificationStackParams,
|
|
41
|
+
Screens.CredentialDetails
|
|
42
|
+
>
|
|
40
43
|
|
|
41
44
|
const paddingHorizontal = 24
|
|
42
45
|
const paddingVertical = 16
|
|
@@ -51,7 +54,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
51
54
|
const [credential, setCredential] = useState<CredentialExchangeRecord | undefined>(undefined)
|
|
52
55
|
const { agent } = useAgent()
|
|
53
56
|
const { t, i18n } = useTranslation()
|
|
54
|
-
const {
|
|
57
|
+
const { ColorPalette, Assets } = useTheme()
|
|
55
58
|
const [bundleResolver, logger, historyManagerCurried, historyEnabled, historyEventsLogger] = useServices([
|
|
56
59
|
TOKENS.UTIL_OCA_RESOLVER,
|
|
57
60
|
TOKENS.UTIL_LOGGER,
|
|
@@ -116,7 +119,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
116
119
|
})
|
|
117
120
|
|
|
118
121
|
const icon = {
|
|
119
|
-
color: credentialTextColor(
|
|
122
|
+
color: credentialTextColor(ColorPalette, containerBackgroundColor),
|
|
120
123
|
width: 48,
|
|
121
124
|
height: 48,
|
|
122
125
|
}
|
|
@@ -320,7 +323,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
320
323
|
<CredentialCardLogo overlay={overlay} brandingOverlayType={bundleResolver.getBrandingOverlayType()} />
|
|
321
324
|
<ThemedText
|
|
322
325
|
style={{
|
|
323
|
-
color: credentialTextColor(
|
|
326
|
+
color: credentialTextColor(ColorPalette, containerBackgroundColor),
|
|
324
327
|
flexWrap: 'wrap',
|
|
325
328
|
maxWidth: '90%',
|
|
326
329
|
}}
|
|
@@ -331,7 +334,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
331
334
|
<Assets.svg.iconChevronRight {...icon} />
|
|
332
335
|
</View>
|
|
333
336
|
</TouchableOpacity>
|
|
334
|
-
<View style={{ backgroundColor:
|
|
337
|
+
<View style={{ backgroundColor: ColorPalette.brand.secondaryBackground }}>
|
|
335
338
|
<CredentialDetailPrimaryHeader
|
|
336
339
|
overlay={overlay}
|
|
337
340
|
brandingOverlayType={bundleResolver.getBrandingOverlayType()}
|
|
@@ -359,7 +362,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
359
362
|
<View
|
|
360
363
|
style={{
|
|
361
364
|
padding: paddingVertical,
|
|
362
|
-
backgroundColor:
|
|
365
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
363
366
|
...(isBranding11 && { paddingTop: 0 }),
|
|
364
367
|
}}
|
|
365
368
|
>
|
|
@@ -376,27 +379,27 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
376
379
|
{credentialConnectionLabel && isBranding10 ? (
|
|
377
380
|
<View
|
|
378
381
|
style={{
|
|
379
|
-
backgroundColor:
|
|
382
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
380
383
|
marginTop: paddingVertical,
|
|
381
384
|
paddingHorizontal,
|
|
382
385
|
paddingVertical,
|
|
383
386
|
}}
|
|
384
387
|
>
|
|
385
388
|
<ThemedText testID={testIdWithKey('IssuerName')}>
|
|
386
|
-
<ThemedText variant="title" style={isRevoked && { color:
|
|
389
|
+
<ThemedText variant="title" style={isRevoked && { color: ColorPalette.grayscale.mediumGrey }}>
|
|
387
390
|
{t('CredentialDetails.IssuedBy') + ' '}
|
|
388
391
|
</ThemedText>
|
|
389
|
-
<ThemedText style={isRevoked && { color:
|
|
392
|
+
<ThemedText style={isRevoked && { color: ColorPalette.grayscale.mediumGrey }}>
|
|
390
393
|
{credentialConnectionLabel}
|
|
391
394
|
</ThemedText>
|
|
392
395
|
</ThemedText>
|
|
393
396
|
{/* issued date if dev mode */}
|
|
394
397
|
{store?.preferences.developerModeEnabled && credential?.createdAt ? (
|
|
395
398
|
<ThemedText testID={testIdWithKey('IssuedDate')}>
|
|
396
|
-
<ThemedText variant="title" style={isRevoked && { color:
|
|
399
|
+
<ThemedText variant="title" style={isRevoked && { color: ColorPalette.grayscale.mediumGrey }}>
|
|
397
400
|
{t('CredentialDetails.Issued') + ': '}
|
|
398
401
|
</ThemedText>
|
|
399
|
-
<ThemedText style={isRevoked && { color:
|
|
402
|
+
<ThemedText style={isRevoked && { color: ColorPalette.grayscale.mediumGrey }}>
|
|
400
403
|
{formatTime(credential.createdAt, { format: 'YYYY-MM-DD HH:mm:ss [UTC]' })}
|
|
401
404
|
</ThemedText>
|
|
402
405
|
</ThemedText>
|
|
@@ -406,7 +409,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
406
409
|
{store?.preferences.developerModeEnabled && (
|
|
407
410
|
<View
|
|
408
411
|
style={{
|
|
409
|
-
backgroundColor:
|
|
412
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
410
413
|
marginTop: paddingVertical,
|
|
411
414
|
paddingHorizontal,
|
|
412
415
|
paddingVertical,
|
|
@@ -419,7 +422,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
419
422
|
testID={testIdWithKey('JSONDetails')}
|
|
420
423
|
style={{ flexDirection: 'row', gap: 8 }}
|
|
421
424
|
>
|
|
422
|
-
<Assets.svg.iconCode width={20} height={20} color={
|
|
425
|
+
<Assets.svg.iconCode width={20} height={20} color={ColorPalette.brand.secondary} />
|
|
423
426
|
<ThemedText>{t('Global.ViewJSON')}</ThemedText>
|
|
424
427
|
</TouchableOpacity>
|
|
425
428
|
</View>
|
|
@@ -427,20 +430,20 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
427
430
|
{isRevoked ? (
|
|
428
431
|
<View
|
|
429
432
|
style={{
|
|
430
|
-
backgroundColor:
|
|
433
|
+
backgroundColor: ColorPalette.notification.error,
|
|
431
434
|
marginTop: paddingVertical,
|
|
432
435
|
paddingHorizontal,
|
|
433
436
|
paddingVertical,
|
|
434
437
|
}}
|
|
435
438
|
>
|
|
436
439
|
<ThemedText testID={testIdWithKey('RevokedDate')}>
|
|
437
|
-
<ThemedText variant="title" style={{ color:
|
|
440
|
+
<ThemedText variant="title" style={{ color: ColorPalette.notification.errorText }}>
|
|
438
441
|
{t('CredentialDetails.Revoked') + ': '}
|
|
439
442
|
</ThemedText>
|
|
440
|
-
<ThemedText style={{ color:
|
|
443
|
+
<ThemedText style={{ color: ColorPalette.notification.errorText }}>{preciseRevocationDate}</ThemedText>
|
|
441
444
|
</ThemedText>
|
|
442
445
|
<ThemedText
|
|
443
|
-
style={{ color:
|
|
446
|
+
style={{ color: ColorPalette.notification.errorText, marginTop: paddingVertical }}
|
|
444
447
|
testID={testIdWithKey('RevocationMessage')}
|
|
445
448
|
>
|
|
446
449
|
{credential?.revocationNotification?.comment
|
|
@@ -46,7 +46,7 @@ type CredentialOfferProps = {
|
|
|
46
46
|
const CredentialOffer: React.FC<CredentialOfferProps> = ({ navigation, credentialId }) => {
|
|
47
47
|
const { agent } = useAppAgent()
|
|
48
48
|
const { t, i18n } = useTranslation()
|
|
49
|
-
const {
|
|
49
|
+
const { ColorPalette } = useTheme()
|
|
50
50
|
const { RecordLoading } = useAnimatedComponents()
|
|
51
51
|
const { assertNetworkConnected } = useNetwork()
|
|
52
52
|
const [
|
|
@@ -286,7 +286,7 @@ const CredentialOffer: React.FC<CredentialOfferProps> = ({ navigation, credentia
|
|
|
286
286
|
paddingHorizontal: 25,
|
|
287
287
|
paddingVertical: 16,
|
|
288
288
|
paddingBottom: 26,
|
|
289
|
-
backgroundColor:
|
|
289
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
290
290
|
}}
|
|
291
291
|
>
|
|
292
292
|
{loading ? <RecordLoading /> : null}
|
|
@@ -14,12 +14,12 @@ import { ThemedText } from '../components/texts/ThemedText'
|
|
|
14
14
|
const DataRetention: React.FC = () => {
|
|
15
15
|
const { t } = useTranslation()
|
|
16
16
|
const [store, dispatch] = useStore()
|
|
17
|
-
const {
|
|
17
|
+
const { ColorPalette, SettingsTheme } = useTheme()
|
|
18
18
|
const [useDataRetention, setUseDataRetention] = useState<boolean>(!!store.preferences.useDataRetention)
|
|
19
19
|
|
|
20
20
|
const styles = StyleSheet.create({
|
|
21
21
|
container: {
|
|
22
|
-
backgroundColor:
|
|
22
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
23
23
|
width: '100%',
|
|
24
24
|
},
|
|
25
25
|
section: {
|
|
@@ -34,7 +34,7 @@ const DataRetention: React.FC = () => {
|
|
|
34
34
|
},
|
|
35
35
|
itemSeparator: {
|
|
36
36
|
borderBottomWidth: 1,
|
|
37
|
-
borderBottomColor:
|
|
37
|
+
borderBottomColor: ColorPalette.brand.primaryBackground,
|
|
38
38
|
marginHorizontal: 25,
|
|
39
39
|
},
|
|
40
40
|
})
|
|
@@ -54,11 +54,11 @@ const DataRetention: React.FC = () => {
|
|
|
54
54
|
<BouncyCheckbox
|
|
55
55
|
accessibilityLabel={t('Global.On')}
|
|
56
56
|
disableText
|
|
57
|
-
fillColor={
|
|
58
|
-
unfillColor={
|
|
57
|
+
fillColor={ColorPalette.brand.secondaryBackground}
|
|
58
|
+
unfillColor={ColorPalette.brand.secondaryBackground}
|
|
59
59
|
size={36}
|
|
60
|
-
innerIconStyle={{ borderColor:
|
|
61
|
-
ImageComponent={() => <Icon name="circle" size={18} color={
|
|
60
|
+
innerIconStyle={{ borderColor: ColorPalette.brand.primary, borderWidth: 2 }}
|
|
61
|
+
ImageComponent={() => <Icon name="circle" size={18} color={ColorPalette.brand.primary}></Icon>}
|
|
62
62
|
onPress={() => updateDataRetention(true)}
|
|
63
63
|
isChecked={useDataRetention}
|
|
64
64
|
disableBuiltInState
|
|
@@ -73,11 +73,11 @@ const DataRetention: React.FC = () => {
|
|
|
73
73
|
<BouncyCheckbox
|
|
74
74
|
accessibilityLabel={t('Global.Off')}
|
|
75
75
|
disableText
|
|
76
|
-
fillColor={
|
|
77
|
-
unfillColor={
|
|
76
|
+
fillColor={ColorPalette.brand.secondaryBackground}
|
|
77
|
+
unfillColor={ColorPalette.brand.secondaryBackground}
|
|
78
78
|
size={36}
|
|
79
|
-
innerIconStyle={{ borderColor:
|
|
80
|
-
ImageComponent={() => <Icon name="circle" size={18} color={
|
|
79
|
+
innerIconStyle={{ borderColor: ColorPalette.brand.primary, borderWidth: 2 }}
|
|
80
|
+
ImageComponent={() => <Icon name="circle" size={18} color={ColorPalette.brand.primary}></Icon>}
|
|
81
81
|
onPress={() => updateDataRetention(false)}
|
|
82
82
|
isChecked={!useDataRetention}
|
|
83
83
|
disableBuiltInState
|