diff --git a/app/ios/Podfile.lock b/app/ios/Podfile.lock index b21cb97a..3d0d9491 100644 --- a/app/ios/Podfile.lock +++ b/app/ios/Podfile.lock @@ -445,7 +445,7 @@ PODS: - React-jsinspector (0.72.5) - React-logger (0.72.5): - glog - - "react-native-attestation (1.0.0-alpha.366+2397235e)": + - "react-native-attestation (1.0.0-alpha.369+a0b2f85f)": - RCT-Folly (= 2021.07.22.00) - React-Core - react-native-config (1.5.0): @@ -936,7 +936,7 @@ SPEC CHECKSUMS: React-jsiexecutor: ff70a72027dea5cc7d71cfcc6fad7f599f63987a React-jsinspector: aef73cbd43b70675f572214d10fa438c89bf11ba React-logger: 2e4aee3e11b3ec4fa6cfd8004610bbb3b8d6cca4 - react-native-attestation: 8089ba31bd4570abacc16a9ffc82418cd6664750 + react-native-attestation: 3da51fb7c0cd7535eb566ed9f63880260a988538 react-native-config: 5330c8258265c1e5fdb8c009d2cabd6badd96727 react-native-date-picker: 06a4d96ab525a163c7a90bccd68833d136b0bb13 react-native-encrypted-storage: db300a3f2f0aba1e818417c1c0a6be549038deb7 diff --git a/app/package.json b/app/package.json index 6293bce5..a56453a3 100644 --- a/app/package.json +++ b/app/package.json @@ -62,11 +62,11 @@ "@formatjs/intl-relativetimeformat": "9.3.1", "@hyperledger/anoncreds-react-native": "0.2.4", "@hyperledger/aries-askar-react-native": "0.2.3", - "@hyperledger/aries-bifold-core": "1.0.0-alpha.366", - "@hyperledger/aries-bifold-remote-logs": "1.0.0-alpha.366", - "@hyperledger/aries-bifold-verifier": "1.0.0-alpha.366", - "@hyperledger/aries-oca": "1.0.0-alpha.366", - "@hyperledger/aries-react-native-attestation": "1.0.0-alpha.366", + "@hyperledger/aries-bifold-core": "1.0.0-alpha.369", + "@hyperledger/aries-bifold-remote-logs": "1.0.0-alpha.369", + "@hyperledger/aries-bifold-verifier": "1.0.0-alpha.369", + "@hyperledger/aries-oca": "1.0.0-alpha.369", + "@hyperledger/aries-react-native-attestation": "1.0.0-alpha.369", "@hyperledger/indy-vdr-react-native": "0.2.2", "@hyperledger/indy-vdr-shared": "0.2.2", "@react-native-async-storage/async-storage": "1.15.11", diff --git a/app/src/theme.ts b/app/src/theme.ts index 2d060779..fd8cdd34 100644 --- a/app/src/theme.ts +++ b/app/src/theme.ts @@ -14,6 +14,7 @@ import React from 'react' import { StyleSheet } from 'react-native' import Logo from './assets/img/logo-with-text.svg' +import { IInlineInputMessage } from '@hyperledger/aries-bifold-core/lib/typescript/App/theme' export const borderRadius = 4 export const heavyOpacity = 0.7 @@ -80,6 +81,8 @@ const BrandColors: IBrandColors = { headerText: GrayscaleColors.white, buttonText: GrayscaleColors.white, tabBarInactive: GrayscaleColors.white, + inlineError: '', + inlineWarning: '', } export const ColorPallet: IColorPallet = { @@ -197,6 +200,18 @@ export const TextTheme: ITextTheme = { fontWeight: 'normal', color: ColorPallet.grayscale.darkGrey, }, + inlineErrorText: { + fontFamily: 'BCSans-Regular', + fontSize: 16, + fontWeight: 'normal', + color: ColorPallet.notification.error, + }, + inlineWarningText: { + fontFamily: 'BCSans-Regular', + fontSize: 16, + fontWeight: 'normal', + color: ColorPallet.notification.warn, + }, } export const Inputs: IInputs = StyleSheet.create({ @@ -720,6 +735,13 @@ export const Assets: IAssets = { }, } +const InputInlineMessage: IInlineInputMessage = { + inlineErrorText: { ...TextTheme.inlineErrorText }, + InlineErrorIcon: Assets.svg.iconError, + inlineWarningText: { ...TextTheme.inlineWarningText }, + InlineWarningIcon: Assets.svg.iconWarning, +} + export const defaultTheme: ITheme = { ColorPallet, TextTheme, @@ -740,4 +762,5 @@ export const defaultTheme: ITheme = { PINEnterTheme, PINInputTheme, Assets, + InputInlineMessage, } diff --git a/yarn.lock b/yarn.lock index e2725a88..b4099af4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3253,9 +3253,9 @@ __metadata: languageName: node linkType: hard -"@hyperledger/aries-bifold-core@npm:1.0.0-alpha.366": - version: 1.0.0-alpha.366 - resolution: "@hyperledger/aries-bifold-core@npm:1.0.0-alpha.366" +"@hyperledger/aries-bifold-core@npm:1.0.0-alpha.369": + version: 1.0.0-alpha.369 + resolution: "@hyperledger/aries-bifold-core@npm:1.0.0-alpha.369" peerDependencies: "@credo-ts/anoncreds": 0.5.11 "@credo-ts/askar": 0.5.11 @@ -3290,6 +3290,7 @@ __metadata: "@react-navigation/native": 6.0.6 "@react-navigation/stack": 6.0.11 axios: ^1.4.0 + base-64: ^1.0.0 i18next: ^21.4.0 lodash.flatten: ^4.4.0 lodash.startcase: ^4.4.0 @@ -3309,14 +3310,14 @@ __metadata: react-native-fs: ^2.16.6 react-native-gesture-handler: ^1.10.3 react-native-get-random-values: ^1.7.0 - react-native-gifted-chat: "*" + react-native-gifted-chat: 2.4.0 react-native-keychain: ^8.1.1 react-native-localize: ^2.2.4 react-native-logs: ^5.1.0 react-native-orientation-locker: "*" react-native-permissions: ^4.0.1 - react-native-qrcode-svg: ^6.2.0 - react-native-reanimated: ^3.4.2 + react-native-qrcode-svg: 6.2.0 + react-native-reanimated: 3.4.2 react-native-safe-area-context: ^3.2.0 react-native-screens: ^3.24.0 react-native-splash-screen: ^3.3.0 @@ -3330,13 +3331,13 @@ __metadata: uuid: ^9.0.0 bin: bifold: bin/bifold - checksum: 15d19e08238db08e3df95a3a92a387c9dafd3d4b2d395bb8eadbc2e9f89a612aa6c793ffd1bb11d30558329d92a0be2e6c901c5e5073b6ce61f4473a06aafefb + checksum: 790e02fac96aa4b7dfdf346f061b7e69bbd330a4043648b2f7b4c001bfd1b71bca3c1c94b18c752f249d47e6e8003f942e011919c5605419ace6793c73bcaa5d languageName: node linkType: hard -"@hyperledger/aries-bifold-remote-logs@npm:1.0.0-alpha.366": - version: 1.0.0-alpha.366 - resolution: "@hyperledger/aries-bifold-remote-logs@npm:1.0.0-alpha.366" +"@hyperledger/aries-bifold-remote-logs@npm:1.0.0-alpha.369": + version: 1.0.0-alpha.369 + resolution: "@hyperledger/aries-bifold-remote-logs@npm:1.0.0-alpha.369" peerDependencies: "@credo-ts/core": 0.5.11 axios: ^1.4.0 @@ -3344,43 +3345,43 @@ __metadata: react: ^18.2.0 react-native: ^0.72.5 react-native-logs: ^5.1.0 - checksum: 097d53218a0bfbc72a510dbacd1aa08217e1cbab8938065246808e24887ca054b60afb55dd2c445dea35009876879f2c640fac27900b320da87fd9b43d74c4aa + checksum: bd92d3231e6dd540c261958586afc2a252b03f0b6621aface89a10c1071e46dc3f96476209808d8ee8676c70a2425839c55f5f497e2af1753be195cf5cae4ba1 languageName: node linkType: hard -"@hyperledger/aries-bifold-verifier@npm:1.0.0-alpha.366": - version: 1.0.0-alpha.366 - resolution: "@hyperledger/aries-bifold-verifier@npm:1.0.0-alpha.366" +"@hyperledger/aries-bifold-verifier@npm:1.0.0-alpha.369": + version: 1.0.0-alpha.369 + resolution: "@hyperledger/aries-bifold-verifier@npm:1.0.0-alpha.369" peerDependencies: "@credo-ts/anoncreds": 0.5.11 "@credo-ts/core": 0.5.11 "@credo-ts/react-hooks": ^0.6.0 "@hyperledger/anoncreds-shared": 0.2.4 react: ^18.2.0 - checksum: 3b1551ae92293e60d720dffa86804e9a204dfbe2bb52924c8fbec0f738ec29260e8f678145413a39b91e973a5b1bb360b3e804b6723b8ae40c0f1d957841d043 + checksum: eec7d4b717a198bdf4e1284d1e67b12c31a9b175461317ead223f1e62484f7b9887ba98afccc4799bff4180c695b872959de394a5480641fe92ce679bfbaf9b9 languageName: node linkType: hard -"@hyperledger/aries-oca@npm:1.0.0-alpha.366": - version: 1.0.0-alpha.366 - resolution: "@hyperledger/aries-oca@npm:1.0.0-alpha.366" +"@hyperledger/aries-oca@npm:1.0.0-alpha.369": + version: 1.0.0-alpha.369 + resolution: "@hyperledger/aries-oca@npm:1.0.0-alpha.369" dependencies: "@credo-ts/anoncreds": "npm:0.5.11" "@credo-ts/core": "npm:0.5.11" axios: "npm:^1.4.0" lodash.startcase: "npm:^4.4.0" react-native-fs: "npm:^2.16.6" - checksum: 362938f1a8b8f83c823ac8d42c30dd5d0b2220026db3b5ba8dc276e5ad58bf1f8b7f16f461c5b9b9d4ef88fda325d538bf042852dbcdaa6e3b7d4bb47a8d6b26 + checksum: 840c2b54a9a4285e97736bb49e0a14dde381c869da75f251ceb16377672a06844eec74158d904475768eb29509380de167f76c072b4a43eca399f074d5e4e181 languageName: node linkType: hard -"@hyperledger/aries-react-native-attestation@npm:1.0.0-alpha.366": - version: 1.0.0-alpha.366 - resolution: "@hyperledger/aries-react-native-attestation@npm:1.0.0-alpha.366" +"@hyperledger/aries-react-native-attestation@npm:1.0.0-alpha.369": + version: 1.0.0-alpha.369 + resolution: "@hyperledger/aries-react-native-attestation@npm:1.0.0-alpha.369" peerDependencies: react: "*" react-native: "*" - checksum: 1e53b21855228a69b36e28770e05797be79dcc3022d89d400ba0f6cf3cbb260815f27f02b933dd15ff06afbfb4477ae512f1ca84639e88a7832daa31a4422e6f + checksum: 498556f394fcba3cbcde2fbb4bb3f7ed4d0c74d9718159c05d8bdf40ab7f68643d1b597f2137c3ce8fc731c7971e5d4dd221167600c5bf3c62d07bd96a67371e languageName: node linkType: hard @@ -8291,11 +8292,11 @@ __metadata: "@formatjs/intl-relativetimeformat": "npm:9.3.1" "@hyperledger/anoncreds-react-native": "npm:0.2.4" "@hyperledger/aries-askar-react-native": "npm:0.2.3" - "@hyperledger/aries-bifold-core": "npm:1.0.0-alpha.366" - "@hyperledger/aries-bifold-remote-logs": "npm:1.0.0-alpha.366" - "@hyperledger/aries-bifold-verifier": "npm:1.0.0-alpha.366" - "@hyperledger/aries-oca": "npm:1.0.0-alpha.366" - "@hyperledger/aries-react-native-attestation": "npm:1.0.0-alpha.366" + "@hyperledger/aries-bifold-core": "npm:1.0.0-alpha.369" + "@hyperledger/aries-bifold-remote-logs": "npm:1.0.0-alpha.369" + "@hyperledger/aries-bifold-verifier": "npm:1.0.0-alpha.369" + "@hyperledger/aries-oca": "npm:1.0.0-alpha.369" + "@hyperledger/aries-react-native-attestation": "npm:1.0.0-alpha.369" "@hyperledger/indy-vdr-react-native": "npm:0.2.2" "@hyperledger/indy-vdr-shared": "npm:0.2.2" "@react-native-async-storage/async-storage": "npm:1.15.11"