@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
|
@@ -57,7 +57,7 @@ const VerifierCredentialCard: React.FC<VerifierCredentialCardProps> = ({
|
|
|
57
57
|
}) => {
|
|
58
58
|
const [dimensions, setDimensions] = useState({ cardWidth: 0, cardHeight: 0 })
|
|
59
59
|
const { i18n, t } = useTranslation()
|
|
60
|
-
const {
|
|
60
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
61
61
|
const [bundleResolver] = useServices([TOKENS.UTIL_OCA_RESOLVER])
|
|
62
62
|
const [overlay, setOverlay] = useState<CredentialOverlay<BrandingOverlay>>({})
|
|
63
63
|
const isBranding10 = brandingOverlayType === BrandingOverlayType.Branding10
|
|
@@ -74,9 +74,9 @@ const VerifierCredentialCard: React.FC<VerifierCredentialCardProps> = ({
|
|
|
74
74
|
}, {})
|
|
75
75
|
|
|
76
76
|
const getCardWatermarkTextColor = (background?: string) => {
|
|
77
|
-
if (isBranding10) return
|
|
78
|
-
const shade = shadeIsLightOrDark(background ??
|
|
79
|
-
return shade == Shade.Light ?
|
|
77
|
+
if (isBranding10) return ColorPalette.grayscale.mediumGrey
|
|
78
|
+
const shade = shadeIsLightOrDark(background ?? ColorPalette.grayscale.lightGrey)
|
|
79
|
+
return shade == Shade.Light ? ColorPalette.grayscale.darkGrey : ColorPalette.grayscale.lightGrey
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
const parseAttribute = (item: (Attribute & Predicate) | undefined) => {
|
|
@@ -160,7 +160,7 @@ const VerifierCredentialCard: React.FC<VerifierCredentialCardProps> = ({
|
|
|
160
160
|
const PredicateItem: React.FC<{
|
|
161
161
|
item: Predicate
|
|
162
162
|
}> = ({ item }) => {
|
|
163
|
-
const {
|
|
163
|
+
const { ColorPalette } = useTheme()
|
|
164
164
|
const label = (item.label || item.name)!
|
|
165
165
|
const ylabel = overlay.bundle?.labelOverlay?.attributeLabels[label] ?? startCase(label)
|
|
166
166
|
const [currentValue, setCurrentValue] = useState(`${item.pValue ?? ''}`)
|
|
@@ -169,7 +169,7 @@ const VerifierCredentialCard: React.FC<VerifierCredentialCardProps> = ({
|
|
|
169
169
|
input: {
|
|
170
170
|
textAlign: 'center',
|
|
171
171
|
textAlignVertical: 'bottom',
|
|
172
|
-
borderBottomColor:
|
|
172
|
+
borderBottomColor: ColorPalette.grayscale.black,
|
|
173
173
|
backgroundColor: 'rgba(255, 255, 255, 0.2)',
|
|
174
174
|
borderBottomWidth: 1,
|
|
175
175
|
lineHeight: 19,
|
|
@@ -196,7 +196,7 @@ const VerifierCredentialCard: React.FC<VerifierCredentialCardProps> = ({
|
|
|
196
196
|
</ThemedText>
|
|
197
197
|
<View style={{ flexDirection: 'row', flexWrap: 'wrap', alignItems: 'flex-end' }}>
|
|
198
198
|
{item.satisfied && !preview ? (
|
|
199
|
-
<Icon style={{ marginRight: 5 }} size={24} name={'check-circle'} color={
|
|
199
|
+
<Icon style={{ marginRight: 5 }} size={24} name={'check-circle'} color={ColorPalette.semantic.success} />
|
|
200
200
|
) : null}
|
|
201
201
|
<ThemedText variant="bold" style={[styles.textContainer, predicateStyles.predicateType]}>
|
|
202
202
|
{item.pType}
|
|
@@ -32,24 +32,24 @@ const AppGuideModal: React.FC<AppGuideModalProps> = ({
|
|
|
32
32
|
}) => {
|
|
33
33
|
const { height, width } = useWindowDimensions()
|
|
34
34
|
const { t } = useTranslation()
|
|
35
|
-
const {
|
|
35
|
+
const { ColorPalette } = useTheme()
|
|
36
36
|
const iconSize = 30
|
|
37
37
|
const dismissIconName = 'clear'
|
|
38
|
-
const iconColor =
|
|
38
|
+
const iconColor = ColorPalette.notification.infoIcon
|
|
39
39
|
|
|
40
40
|
const styles = StyleSheet.create({
|
|
41
41
|
modalCenter: {
|
|
42
42
|
flex: 1,
|
|
43
43
|
justifyContent: 'center',
|
|
44
44
|
alignItems: 'center',
|
|
45
|
-
backgroundColor:
|
|
45
|
+
backgroundColor: ColorPalette.notification.popupOverlay,
|
|
46
46
|
padding: 10,
|
|
47
47
|
minHeight: height,
|
|
48
48
|
minWidth: width,
|
|
49
49
|
},
|
|
50
50
|
container: {
|
|
51
|
-
backgroundColor:
|
|
52
|
-
borderColor:
|
|
51
|
+
backgroundColor: ColorPalette.notification.info,
|
|
52
|
+
borderColor: ColorPalette.notification.infoBorder,
|
|
53
53
|
borderRadius: 5,
|
|
54
54
|
borderWidth: 1,
|
|
55
55
|
padding: 20,
|
|
@@ -66,12 +66,12 @@ const AppGuideModal: React.FC<AppGuideModalProps> = ({
|
|
|
66
66
|
headerText: {
|
|
67
67
|
alignSelf: 'flex-start',
|
|
68
68
|
flexWrap: 'wrap',
|
|
69
|
-
color:
|
|
69
|
+
color: ColorPalette.notification.infoText,
|
|
70
70
|
},
|
|
71
71
|
bodyText: {
|
|
72
72
|
flexShrink: 1,
|
|
73
73
|
marginVertical: 16,
|
|
74
|
-
color:
|
|
74
|
+
color: ColorPalette.notification.infoText,
|
|
75
75
|
},
|
|
76
76
|
dismissIcon: {
|
|
77
77
|
alignSelf: 'center',
|
|
@@ -24,19 +24,19 @@ const CameraDisclosureModal: React.FC<CameraDisclosureModalProps> = ({ requestCa
|
|
|
24
24
|
const [modalVisible, setModalVisible] = useState(true)
|
|
25
25
|
const [showSettingsPopup, setShowSettingsPopup] = useState(false)
|
|
26
26
|
const [requestInProgress, setRequestInProgress] = useState(false)
|
|
27
|
-
const {
|
|
27
|
+
const { ColorPalette } = useTheme()
|
|
28
28
|
|
|
29
29
|
const styles = StyleSheet.create({
|
|
30
30
|
container: {
|
|
31
31
|
height: '100%',
|
|
32
|
-
backgroundColor:
|
|
32
|
+
backgroundColor: ColorPalette.brand.modalPrimaryBackground,
|
|
33
33
|
padding: 20,
|
|
34
34
|
},
|
|
35
35
|
messageText: {
|
|
36
36
|
marginTop: 30,
|
|
37
37
|
},
|
|
38
38
|
controlsContainer: {
|
|
39
|
-
backgroundColor:
|
|
39
|
+
backgroundColor: ColorPalette.brand.modalPrimaryBackground,
|
|
40
40
|
marginTop: 'auto',
|
|
41
41
|
margin: 20,
|
|
42
42
|
},
|
|
@@ -85,7 +85,7 @@ const CameraDisclosureModal: React.FC<CameraDisclosureModalProps> = ({ requestCa
|
|
|
85
85
|
onDismissPressed={onOpenSettingsDismissed}
|
|
86
86
|
/>
|
|
87
87
|
)}
|
|
88
|
-
<SafeAreaView style={{ backgroundColor:
|
|
88
|
+
<SafeAreaView style={{ backgroundColor: ColorPalette.brand.modalPrimaryBackground }}>
|
|
89
89
|
<ScrollView style={styles.container}>
|
|
90
90
|
<ThemedText variant="modalHeadingOne" testID={testIdWithKey('AllowCameraUse')} accessibilityRole="header">
|
|
91
91
|
{t('CameraDisclosure.AllowCameraUse')}
|
|
@@ -32,7 +32,7 @@ interface RemoveProps {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
const Dropdown: React.FC<RemoveProps> = ({ title, content }) => {
|
|
35
|
-
const { TextTheme,
|
|
35
|
+
const { TextTheme, ColorPalette } = useTheme()
|
|
36
36
|
const [isCollapsed, setIsCollapsed] = useState<boolean>(true)
|
|
37
37
|
|
|
38
38
|
return (
|
|
@@ -44,7 +44,7 @@ const Dropdown: React.FC<RemoveProps> = ({ title, content }) => {
|
|
|
44
44
|
style={[
|
|
45
45
|
{
|
|
46
46
|
padding: 15,
|
|
47
|
-
backgroundColor:
|
|
47
|
+
backgroundColor: ColorPalette.brand.modalSecondaryBackground,
|
|
48
48
|
borderRadius: 5,
|
|
49
49
|
flexDirection: 'row',
|
|
50
50
|
justifyContent: 'space-between',
|
|
@@ -58,7 +58,7 @@ const Dropdown: React.FC<RemoveProps> = ({ title, content }) => {
|
|
|
58
58
|
</TouchableOpacity>
|
|
59
59
|
<Collapsible collapsed={isCollapsed} enablePointerEvents={true}>
|
|
60
60
|
<View
|
|
61
|
-
style={{ marginTop: 10, borderLeftWidth: 2, borderLeftColor:
|
|
61
|
+
style={{ marginTop: 10, borderLeftWidth: 2, borderLeftColor: ColorPalette.brand.modalSecondaryBackground }}
|
|
62
62
|
>
|
|
63
63
|
<UnorderedList unorderedListItems={content} />
|
|
64
64
|
</View>
|
|
@@ -73,7 +73,7 @@ const CommonRemoveModal: React.FC<CommonRemoveModalProps> = ({ usage, visible, o
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
const { t } = useTranslation()
|
|
76
|
-
const {
|
|
76
|
+
const { ColorPalette, TextTheme, Assets } = useTheme()
|
|
77
77
|
|
|
78
78
|
const imageDisplayOptions = {
|
|
79
79
|
height: 115,
|
|
@@ -82,7 +82,7 @@ const CommonRemoveModal: React.FC<CommonRemoveModalProps> = ({ usage, visible, o
|
|
|
82
82
|
|
|
83
83
|
const styles = StyleSheet.create({
|
|
84
84
|
safeAreaView: {
|
|
85
|
-
backgroundColor:
|
|
85
|
+
backgroundColor: ColorPalette.brand.modalPrimaryBackground,
|
|
86
86
|
borderTopRightRadius: 10,
|
|
87
87
|
borderTopLeftRadius: 10,
|
|
88
88
|
},
|
|
@@ -296,7 +296,7 @@ const CommonRemoveModal: React.FC<CommonRemoveModalProps> = ({ usage, visible, o
|
|
|
296
296
|
onPress={() => onCancel && onCancel()}
|
|
297
297
|
hitSlop={hitSlop}
|
|
298
298
|
>
|
|
299
|
-
<Icon name={'close'} size={42} color={
|
|
299
|
+
<Icon name={'close'} size={42} color={ColorPalette.brand.modalIcon} />
|
|
300
300
|
</TouchableOpacity>
|
|
301
301
|
</View>
|
|
302
302
|
<ScrollView style={styles.container}>
|
|
@@ -306,7 +306,7 @@ const CommonRemoveModal: React.FC<CommonRemoveModalProps> = ({ usage, visible, o
|
|
|
306
306
|
</>
|
|
307
307
|
</ScrollView>
|
|
308
308
|
<View style={styles.controlsContainer}>
|
|
309
|
-
<ContentGradient backgroundColor={
|
|
309
|
+
<ContentGradient backgroundColor={ColorPalette.brand.modalPrimaryBackground} height={30} />
|
|
310
310
|
<View style={{ paddingTop: 10 }}>
|
|
311
311
|
<Button
|
|
312
312
|
title={titleForConfirmButton()}
|
|
@@ -35,7 +35,7 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
35
35
|
}) => {
|
|
36
36
|
const { height, width, fontScale } = useWindowDimensions()
|
|
37
37
|
const { t } = useTranslation()
|
|
38
|
-
const {
|
|
38
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
39
39
|
const iconSize = 30
|
|
40
40
|
|
|
41
41
|
const styles = StyleSheet.create({
|
|
@@ -43,14 +43,14 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
43
43
|
flex: 1,
|
|
44
44
|
justifyContent: 'center',
|
|
45
45
|
alignItems: 'center',
|
|
46
|
-
backgroundColor:
|
|
46
|
+
backgroundColor: ColorPalette.notification.popupOverlay,
|
|
47
47
|
padding: 20,
|
|
48
48
|
minHeight: height,
|
|
49
49
|
minWidth: width,
|
|
50
50
|
},
|
|
51
51
|
container: {
|
|
52
|
-
backgroundColor:
|
|
53
|
-
borderColor:
|
|
52
|
+
backgroundColor: ColorPalette.notification.info,
|
|
53
|
+
borderColor: ColorPalette.notification.infoBorder,
|
|
54
54
|
borderRadius: 5,
|
|
55
55
|
borderWidth: 1,
|
|
56
56
|
padding: 10,
|
|
@@ -78,7 +78,7 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
78
78
|
headerText: {
|
|
79
79
|
...TextTheme.bold,
|
|
80
80
|
alignSelf: 'flex-start',
|
|
81
|
-
color:
|
|
81
|
+
color: ColorPalette.notification.infoText,
|
|
82
82
|
},
|
|
83
83
|
scrollViewContentContainer: {
|
|
84
84
|
flexGrow: 1,
|
|
@@ -89,7 +89,7 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
89
89
|
bodyText: {
|
|
90
90
|
...TextTheme.normal,
|
|
91
91
|
paddingVertical: 16,
|
|
92
|
-
color:
|
|
92
|
+
color: ColorPalette.notification.infoText,
|
|
93
93
|
},
|
|
94
94
|
footer: {
|
|
95
95
|
paddingTop: 10,
|
|
@@ -105,7 +105,7 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
105
105
|
|
|
106
106
|
const infoIconName = 'info'
|
|
107
107
|
const dismissIconName = 'clear'
|
|
108
|
-
const iconColor =
|
|
108
|
+
const iconColor = ColorPalette.notification.infoIcon
|
|
109
109
|
|
|
110
110
|
return (
|
|
111
111
|
<SafeAreaModal transparent>
|
|
@@ -22,14 +22,14 @@ const ErrorModal: React.FC<ErrorModalProps> = ({ enableReport }) => {
|
|
|
22
22
|
const [error, setError] = useState<BifoldError>()
|
|
23
23
|
const [reported, setReported] = useState(false)
|
|
24
24
|
const [logger] = useServices([TOKENS.UTIL_LOGGER])
|
|
25
|
-
const {
|
|
25
|
+
const { ColorPalette } = useTheme()
|
|
26
26
|
const styles = StyleSheet.create({
|
|
27
27
|
container: {
|
|
28
28
|
minHeight: height,
|
|
29
29
|
flexDirection: 'column',
|
|
30
30
|
justifyContent: 'center',
|
|
31
31
|
alignItems: 'center',
|
|
32
|
-
backgroundColor:
|
|
32
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
33
33
|
},
|
|
34
34
|
})
|
|
35
35
|
|
|
@@ -78,9 +78,9 @@ const ErrorModal: React.FC<ErrorModalProps> = ({ enableReport }) => {
|
|
|
78
78
|
const secondaryCallToActionIcon = useMemo(
|
|
79
79
|
() =>
|
|
80
80
|
reported ? (
|
|
81
|
-
<Icon style={{ marginRight: 8 }} name={'check-circle'} size={18} color={
|
|
81
|
+
<Icon style={{ marginRight: 8 }} name={'check-circle'} size={18} color={ColorPalette.semantic.success} />
|
|
82
82
|
) : undefined,
|
|
83
|
-
[reported,
|
|
83
|
+
[reported, ColorPalette.semantic.success]
|
|
84
84
|
)
|
|
85
85
|
|
|
86
86
|
return (
|
|
@@ -17,14 +17,14 @@ interface ImageModalProps {
|
|
|
17
17
|
const ImageModal: React.FC<ImageModalProps> = ({ uri, onDismissPressed }) => {
|
|
18
18
|
const { height, width } = useWindowDimensions()
|
|
19
19
|
const { t } = useTranslation()
|
|
20
|
-
const {
|
|
20
|
+
const { ColorPalette } = useTheme()
|
|
21
21
|
|
|
22
22
|
const styles = StyleSheet.create({
|
|
23
23
|
modalCenter: {
|
|
24
24
|
flex: 1,
|
|
25
25
|
justifyContent: 'center',
|
|
26
26
|
alignItems: 'center',
|
|
27
|
-
backgroundColor:
|
|
27
|
+
backgroundColor: ColorPalette.notification.popupOverlay,
|
|
28
28
|
minHeight: height,
|
|
29
29
|
minWidth: width,
|
|
30
30
|
paddingHorizontal: 20,
|
|
@@ -32,7 +32,7 @@ const ImageModal: React.FC<ImageModalProps> = ({ uri, onDismissPressed }) => {
|
|
|
32
32
|
},
|
|
33
33
|
container: {
|
|
34
34
|
flexShrink: 1,
|
|
35
|
-
backgroundColor:
|
|
35
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
36
36
|
},
|
|
37
37
|
image: {
|
|
38
38
|
width: width - 40,
|
|
@@ -49,7 +49,7 @@ const ImageModal: React.FC<ImageModalProps> = ({ uri, onDismissPressed }) => {
|
|
|
49
49
|
|
|
50
50
|
const iconSize = 30
|
|
51
51
|
const dismissIconName = 'clear'
|
|
52
|
-
const iconColor =
|
|
52
|
+
const iconColor = ColorPalette.brand.primary
|
|
53
53
|
|
|
54
54
|
return (
|
|
55
55
|
<SafeAreaModal transparent>
|
|
@@ -25,13 +25,13 @@ const PopupModal: React.FC<PopupModalProps> = ({
|
|
|
25
25
|
notificationType,
|
|
26
26
|
onCallToActionLabel,
|
|
27
27
|
}) => {
|
|
28
|
-
const {
|
|
28
|
+
const { ColorPalette } = useTheme()
|
|
29
29
|
const styles = StyleSheet.create({
|
|
30
30
|
modalCenter: {
|
|
31
31
|
flex: 1,
|
|
32
32
|
justifyContent: 'center',
|
|
33
33
|
alignItems: 'center',
|
|
34
|
-
backgroundColor:
|
|
34
|
+
backgroundColor: ColorPalette.notification.popupOverlay,
|
|
35
35
|
padding: 20,
|
|
36
36
|
},
|
|
37
37
|
})
|
|
@@ -17,11 +17,11 @@ interface ProofCancelModalProps {
|
|
|
17
17
|
|
|
18
18
|
const ProofCancelModal: React.FC<ProofCancelModalProps> = ({ visible, onDone }) => {
|
|
19
19
|
const { t } = useTranslation()
|
|
20
|
-
const {
|
|
20
|
+
const { ColorPalette, Assets } = useTheme()
|
|
21
21
|
|
|
22
22
|
const styles = StyleSheet.create({
|
|
23
23
|
safeAreaView: {
|
|
24
|
-
backgroundColor:
|
|
24
|
+
backgroundColor: ColorPalette.brand.modalPrimaryBackground,
|
|
25
25
|
flex: 1,
|
|
26
26
|
},
|
|
27
27
|
container: {
|
|
@@ -4,10 +4,10 @@ import { StyleSheet, View } from 'react-native'
|
|
|
4
4
|
import { useTheme } from '../../contexts/theme'
|
|
5
5
|
|
|
6
6
|
const RecordFooter: React.FC<React.PropsWithChildren> = ({ children }) => {
|
|
7
|
-
const {
|
|
7
|
+
const { ColorPalette } = useTheme()
|
|
8
8
|
const styles = StyleSheet.create({
|
|
9
9
|
container: {
|
|
10
|
-
backgroundColor:
|
|
10
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
11
11
|
height: '100%',
|
|
12
12
|
},
|
|
13
13
|
})
|
|
@@ -4,10 +4,10 @@ import { StyleSheet, View } from 'react-native'
|
|
|
4
4
|
import { useTheme } from '../../contexts/theme'
|
|
5
5
|
|
|
6
6
|
const RecordHeader: React.FC<React.PropsWithChildren> = ({ children }) => {
|
|
7
|
-
const {
|
|
7
|
+
const { ColorPalette } = useTheme()
|
|
8
8
|
const styles = StyleSheet.create({
|
|
9
9
|
container: {
|
|
10
|
-
backgroundColor:
|
|
10
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ interface RecordRemoveProps {
|
|
|
15
15
|
|
|
16
16
|
const RecordRemove: React.FC<RecordRemoveProps> = ({ onRemove = () => null }) => {
|
|
17
17
|
const { t } = useTranslation()
|
|
18
|
-
const { TextTheme,
|
|
18
|
+
const { TextTheme, ColorPalette, Assets } = useTheme()
|
|
19
19
|
const [bundleResolver] = useServices([TOKENS.UTIL_OCA_RESOLVER])
|
|
20
20
|
|
|
21
21
|
const styles = StyleSheet.create({
|
|
@@ -23,7 +23,7 @@ const RecordRemove: React.FC<RecordRemoveProps> = ({ onRemove = () => null }) =>
|
|
|
23
23
|
...TextTheme.normal,
|
|
24
24
|
},
|
|
25
25
|
footerText: {
|
|
26
|
-
color:
|
|
26
|
+
color: ColorPalette.brand.link,
|
|
27
27
|
},
|
|
28
28
|
linkContainer: {
|
|
29
29
|
minHeight: TextTheme.normal.fontSize,
|
|
@@ -39,7 +39,7 @@ const RecordRemove: React.FC<RecordRemoveProps> = ({ onRemove = () => null }) =>
|
|
|
39
39
|
return (
|
|
40
40
|
<View
|
|
41
41
|
style={{
|
|
42
|
-
backgroundColor:
|
|
42
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
43
43
|
marginTop: 16,
|
|
44
44
|
paddingHorizontal: bundleResolver.getBrandingOverlayType() === BrandingOverlayType.Branding10 ? 25 : 16,
|
|
45
45
|
paddingVertical: 16,
|
|
@@ -54,8 +54,8 @@ const RecordRemove: React.FC<RecordRemoveProps> = ({ onRemove = () => null }) =>
|
|
|
54
54
|
activeOpacity={1}
|
|
55
55
|
onPress={onRemove}
|
|
56
56
|
>
|
|
57
|
-
<Assets.svg.iconDelete width={20} height={20} color={
|
|
58
|
-
<ThemedText style={[styles.footerText, { color:
|
|
57
|
+
<Assets.svg.iconDelete width={20} height={20} color={ColorPalette.semantic.error} />
|
|
58
|
+
<ThemedText style={[styles.footerText, { color: ColorPalette.semantic.error }]}>
|
|
59
59
|
{t('CredentialDetails.RemoveFromWallet')}
|
|
60
60
|
</ThemedText>
|
|
61
61
|
</TouchableOpacity>
|
|
@@ -11,18 +11,18 @@ export interface TextBoxProps {
|
|
|
11
11
|
const offset = 10
|
|
12
12
|
|
|
13
13
|
const HighlightTextBox: React.FC<TextBoxProps> = ({ children }) => {
|
|
14
|
-
const {
|
|
14
|
+
const { ColorPalette, OnboardingTheme } = useTheme()
|
|
15
15
|
const style = StyleSheet.create({
|
|
16
16
|
icon: {
|
|
17
17
|
marginRight: offset,
|
|
18
18
|
},
|
|
19
19
|
container: {
|
|
20
20
|
flexDirection: 'row',
|
|
21
|
-
backgroundColor:
|
|
21
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
22
22
|
},
|
|
23
23
|
accentBox: {
|
|
24
24
|
marginRight: offset,
|
|
25
|
-
backgroundColor:
|
|
25
|
+
backgroundColor: ColorPalette.brand.highlight,
|
|
26
26
|
width: 8,
|
|
27
27
|
},
|
|
28
28
|
headerText: {
|
|
@@ -26,14 +26,14 @@ const InfoTextBox: React.FC<TextBoxProps> = ({
|
|
|
26
26
|
style = {},
|
|
27
27
|
textStyle = {},
|
|
28
28
|
}) => {
|
|
29
|
-
const {
|
|
29
|
+
const { ColorPalette } = useTheme()
|
|
30
30
|
const styles = StyleSheet.create({
|
|
31
31
|
container: {
|
|
32
32
|
padding: 10,
|
|
33
33
|
borderRadius: 5,
|
|
34
34
|
borderWidth: 1,
|
|
35
|
-
backgroundColor:
|
|
36
|
-
borderColor:
|
|
35
|
+
backgroundColor: ColorPalette.notification.info,
|
|
36
|
+
borderColor: ColorPalette.notification.infoBorder,
|
|
37
37
|
...style,
|
|
38
38
|
},
|
|
39
39
|
row: {
|
|
@@ -45,7 +45,7 @@ const InfoTextBox: React.FC<TextBoxProps> = ({
|
|
|
45
45
|
alignSelf: 'center',
|
|
46
46
|
flex: 1,
|
|
47
47
|
flexWrap: 'wrap',
|
|
48
|
-
color:
|
|
48
|
+
color: ColorPalette.notification.infoText,
|
|
49
49
|
...textStyle,
|
|
50
50
|
},
|
|
51
51
|
iconContainer: {
|
|
@@ -56,7 +56,7 @@ const InfoTextBox: React.FC<TextBoxProps> = ({
|
|
|
56
56
|
})
|
|
57
57
|
|
|
58
58
|
let iconName = 'info'
|
|
59
|
-
let iconColor =
|
|
59
|
+
let iconColor = ColorPalette.notification.infoIcon
|
|
60
60
|
|
|
61
61
|
switch (type) {
|
|
62
62
|
case InfoBoxType.Info:
|
|
@@ -64,43 +64,43 @@ const InfoTextBox: React.FC<TextBoxProps> = ({
|
|
|
64
64
|
|
|
65
65
|
case InfoBoxType.Success:
|
|
66
66
|
iconName = 'check-circle'
|
|
67
|
-
iconColor =
|
|
67
|
+
iconColor = ColorPalette.notification.successIcon
|
|
68
68
|
styles.container = {
|
|
69
69
|
...styles.container,
|
|
70
|
-
backgroundColor:
|
|
71
|
-
borderColor:
|
|
70
|
+
backgroundColor: ColorPalette.notification.success,
|
|
71
|
+
borderColor: ColorPalette.notification.successBorder,
|
|
72
72
|
}
|
|
73
73
|
styles.text = {
|
|
74
74
|
...styles.text,
|
|
75
|
-
color:
|
|
75
|
+
color: ColorPalette.notification.successText,
|
|
76
76
|
}
|
|
77
77
|
break
|
|
78
78
|
|
|
79
79
|
case InfoBoxType.Warn:
|
|
80
80
|
iconName = 'warning'
|
|
81
|
-
iconColor =
|
|
81
|
+
iconColor = ColorPalette.notification.warnIcon
|
|
82
82
|
styles.container = {
|
|
83
83
|
...styles.container,
|
|
84
|
-
backgroundColor:
|
|
85
|
-
borderColor:
|
|
84
|
+
backgroundColor: ColorPalette.notification.warn,
|
|
85
|
+
borderColor: ColorPalette.notification.warnBorder,
|
|
86
86
|
}
|
|
87
87
|
styles.text = {
|
|
88
88
|
...styles.text,
|
|
89
|
-
color:
|
|
89
|
+
color: ColorPalette.notification.warnText,
|
|
90
90
|
}
|
|
91
91
|
break
|
|
92
92
|
|
|
93
93
|
case InfoBoxType.Error:
|
|
94
94
|
iconName = 'error'
|
|
95
|
-
iconColor =
|
|
95
|
+
iconColor = ColorPalette.notification.errorIcon
|
|
96
96
|
styles.container = {
|
|
97
97
|
...styles.container,
|
|
98
|
-
backgroundColor:
|
|
99
|
-
borderColor:
|
|
98
|
+
backgroundColor: ColorPalette.notification.error,
|
|
99
|
+
borderColor: ColorPalette.notification.errorBorder,
|
|
100
100
|
}
|
|
101
101
|
styles.text = {
|
|
102
102
|
...styles.text,
|
|
103
|
-
color:
|
|
103
|
+
color: ColorPalette.notification.errorText,
|
|
104
104
|
}
|
|
105
105
|
break
|
|
106
106
|
|
|
@@ -14,10 +14,10 @@ interface LinkProps {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
const Link: React.FC<LinkProps> = ({ linkText, onPress, style = {}, testID, ...textProps }) => {
|
|
17
|
-
const {
|
|
17
|
+
const { ColorPalette } = useTheme()
|
|
18
18
|
const styles = StyleSheet.create({
|
|
19
19
|
link: {
|
|
20
|
-
color:
|
|
20
|
+
color: ColorPalette.brand.link,
|
|
21
21
|
textDecorationLine: 'underline',
|
|
22
22
|
alignSelf: 'flex-start',
|
|
23
23
|
},
|
|
@@ -25,7 +25,7 @@ export enum ToastType {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
const BaseToast: React.FC<BaseToastProps> = ({ title, body, toastType, onPress = () => null }) => {
|
|
28
|
-
const { TextTheme, borderRadius, borderWidth,
|
|
28
|
+
const { TextTheme, borderRadius, borderWidth, ColorPalette } = useTheme()
|
|
29
29
|
const { width } = useWindowDimensions()
|
|
30
30
|
const iconSize = 24
|
|
31
31
|
let iconName = ''
|
|
@@ -61,34 +61,34 @@ const BaseToast: React.FC<BaseToastProps> = ({ title, body, toastType, onPress =
|
|
|
61
61
|
switch (toastType) {
|
|
62
62
|
case ToastType.Success:
|
|
63
63
|
iconName = 'check-circle'
|
|
64
|
-
backgroundColor =
|
|
65
|
-
borderColor =
|
|
66
|
-
iconColor =
|
|
67
|
-
textColor =
|
|
64
|
+
backgroundColor = ColorPalette.notification.success
|
|
65
|
+
borderColor = ColorPalette.notification.successBorder
|
|
66
|
+
iconColor = ColorPalette.notification.successIcon
|
|
67
|
+
textColor = ColorPalette.notification.successText
|
|
68
68
|
break
|
|
69
69
|
|
|
70
70
|
case ToastType.Info:
|
|
71
71
|
iconName = 'info'
|
|
72
|
-
backgroundColor =
|
|
73
|
-
borderColor =
|
|
74
|
-
iconColor =
|
|
75
|
-
textColor =
|
|
72
|
+
backgroundColor = ColorPalette.notification.info
|
|
73
|
+
borderColor = ColorPalette.notification.infoBorder
|
|
74
|
+
iconColor = ColorPalette.notification.infoIcon
|
|
75
|
+
textColor = ColorPalette.notification.infoText
|
|
76
76
|
break
|
|
77
77
|
|
|
78
78
|
case ToastType.Warn:
|
|
79
79
|
iconName = 'report-problem'
|
|
80
|
-
backgroundColor =
|
|
81
|
-
borderColor =
|
|
82
|
-
iconColor =
|
|
83
|
-
textColor =
|
|
80
|
+
backgroundColor = ColorPalette.notification.warn
|
|
81
|
+
borderColor = ColorPalette.notification.warnBorder
|
|
82
|
+
iconColor = ColorPalette.notification.warnIcon
|
|
83
|
+
textColor = ColorPalette.notification.warnText
|
|
84
84
|
break
|
|
85
85
|
|
|
86
86
|
case ToastType.Error:
|
|
87
87
|
iconName = 'error'
|
|
88
|
-
backgroundColor =
|
|
89
|
-
borderColor =
|
|
90
|
-
iconColor =
|
|
91
|
-
textColor =
|
|
88
|
+
backgroundColor = ColorPalette.notification.error
|
|
89
|
+
borderColor = ColorPalette.notification.errorBorder
|
|
90
|
+
iconColor = ColorPalette.notification.errorIcon
|
|
91
|
+
textColor = ColorPalette.notification.errorText
|
|
92
92
|
break
|
|
93
93
|
|
|
94
94
|
default:
|
|
@@ -12,7 +12,7 @@ export const credentialOfferTourSteps: TourStep[] = [
|
|
|
12
12
|
Render: (props: RenderProps) => {
|
|
13
13
|
const { currentTour, currentStep, next, stop, previous } = props
|
|
14
14
|
const { t } = useTranslation()
|
|
15
|
-
const {
|
|
15
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
16
16
|
return (
|
|
17
17
|
<TourBox
|
|
18
18
|
title={t('Tour.CredentialOffers')}
|
|
@@ -28,7 +28,7 @@ export const credentialOfferTourSteps: TourStep[] = [
|
|
|
28
28
|
<Text
|
|
29
29
|
style={{
|
|
30
30
|
...TextTheme.normal,
|
|
31
|
-
color:
|
|
31
|
+
color: ColorPalette.notification.infoText,
|
|
32
32
|
}}
|
|
33
33
|
allowFontScaling={false}
|
|
34
34
|
>
|
|
@@ -12,7 +12,7 @@ export const credentialsTourSteps: TourStep[] = [
|
|
|
12
12
|
Render: (props: RenderProps) => {
|
|
13
13
|
const { currentTour, currentStep, next, stop, previous } = props
|
|
14
14
|
const { t } = useTranslation()
|
|
15
|
-
const {
|
|
15
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
16
16
|
return (
|
|
17
17
|
<TourBox
|
|
18
18
|
title={t('Tour.AddCredentials')}
|
|
@@ -28,7 +28,7 @@ export const credentialsTourSteps: TourStep[] = [
|
|
|
28
28
|
<Text
|
|
29
29
|
style={{
|
|
30
30
|
...TextTheme.normal,
|
|
31
|
-
color:
|
|
31
|
+
color: ColorPalette.notification.infoText,
|
|
32
32
|
}}
|
|
33
33
|
allowFontScaling={false}
|
|
34
34
|
>
|