Skip to content

Commit

Permalink
chore: updated ui-components dep
Browse files Browse the repository at this point in the history
  • Loading branch information
sksadjad committed Jun 27, 2024
1 parent a3ce598 commit 2ea5a5a
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 34 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
"@sphereon/ssi-sdk.vc-handler-ld-local": "0.26.0",
"@sphereon/ssi-sdk.xstate-machine-persistence": "0.26.0",
"@sphereon/ssi-types": "0.26.0",
"@sphereon/ui-components.core": "0.2.1-unstable.40",
"@sphereon/ui-components.ssi-react-native": "0.2.1-unstable.40",
"@sphereon/ui-components.credential-representation": "0.2.1-unstable.40",
"@sphereon/ui-components.core": "0.2.1-unstable.44",
"@sphereon/ui-components.ssi-react-native": "0.2.1-unstable.44",
"@sphereon/ui-components.credential-branding": "0.2.1-unstable.44",
"@veramo/core": "4.2.0",
"@veramo/credential-w3c": "4.2.0",
"@veramo/data-store": "4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/SSIImageField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
SSIImageFieldHeaderContainerStyled as HeaderContainer,
SSITextH5LightStyled as HeaderLabel,
} from '../../../styles/components';
import {CredentialDetailsRow} from '@sphereon/ui-components.credential-representation';
import {CredentialDetailsRow} from '@sphereon/ui-components.credential-branding';

export interface IProps {
item: CredentialDetailsRow;
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/SSITextField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
SSITextFieldStatusLabelContainerStyled as StatusLabelContainer,
} from '../../../styles/components';
import {SSIStatusLabel} from '@sphereon/ui-components.ssi-react-native';
import {CredentialDetailsRow} from '@sphereon/ui-components.credential-representation';
import {CredentialDetailsRow} from '@sphereon/ui-components.credential-branding';

export interface IProps {
item: CredentialDetailsRow;
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/SSICredentialDetailsView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
SSICredentialDetailsViewFooterLabelValueStyled as IssuedBy,
SSICredentialDetailsViewFooterLabelCaptionStyled as IssuedByLabel,
} from '../../../styles/components';
import {CredentialDetailsRow} from '@sphereon/ui-components.credential-representation';
import {CredentialDetailsRow} from '@sphereon/ui-components.credential-branding';
import SSIImageField from '../../fields/SSIImageField';
import SSITextField from '../../fields/SSITextField';

Expand Down
2 changes: 1 addition & 1 deletion src/components/views/SSICredentialViewItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
SSITextH4LightStyled as IssuerCaption,
SSICredentialViewItemTitleCaptionStyled as TitleCaption,
} from '../../../styles/components';
import {CredentialSummary} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary} from '@sphereon/ui-components.credential-branding';
import {toLocalDateString, toLocalDateTimeString} from '../../../utils/DateUtils';
import {View} from 'react-native';

Expand Down
2 changes: 1 addition & 1 deletion src/handlers/IntentHandler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import store from '../../store';
import {storeVerifiableCredential} from '../../store/actions/credential.actions';
import {NavigationBarRoutesEnum, ScreenRoutesEnum, ToastTypeEnum} from '../../types';
import {parseDeepLink} from '../../utils';
import {toNonPersistedCredentialSummary} from '@sphereon/ui-components.credential-representation';
import {toNonPersistedCredentialSummary} from '@sphereon/ui-components.credential-branding';
import {showToast} from '../../utils';
import LockingHandler from '../LockingHandler';

Expand Down
2 changes: 1 addition & 1 deletion src/navigation/machines/oid4vciStateNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {translate} from '../../localization/Localization';
import RootNavigation from './../rootNavigation';
import {APP_ID} from '../../@config/constants';
import {MainRoutesEnum, NavigationBarRoutesEnum, PopupImagesEnum, ScreenRoutesEnum} from '../../types';
import {toNonPersistedCredentialSummary} from '@sphereon/ui-components.credential-representation';
import {toNonPersistedCredentialSummary} from '@sphereon/ui-components.credential-branding';

const debug: Debugger = Debug(`${APP_ID}:oid4vciStateNavigation`);

Expand Down
2 changes: 1 addition & 1 deletion src/screens/Onboarding/SSISummaryScreen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {translate} from '../../../localization/Localization';
import {SSIBasicHorizontalCenterContainerStyled as Container} from '../../../styles/components';
import {ITabViewRoute, ScreenRoutesEnum, StackParamList} from '../../../types';
import {backgroundColors} from '@sphereon/ui-components.core';
import {CredentialDetailsRow} from '@sphereon/ui-components.credential-representation';
import {CredentialDetailsRow} from '@sphereon/ui-components.credential-branding';

type Props = NativeStackScreenProps<StackParamList, ScreenRoutesEnum.ONBOARDING_SUMMARY>;

Expand Down
2 changes: 1 addition & 1 deletion src/screens/SSICredentialDetailsScreen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {PrimaryButton, SecondaryButton, SSICredentialCardView} from '@sphereon/u
import SSIActivityView from '../../components/views/SSIActivityView';
import SSICredentialDetailsView from '../../components/views/SSICredentialDetailsView';
import SSITabView from '../../components/views/SSITabView';
import {CredentialSummary, getCredentialStatus, getIssuerLogo} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary, getCredentialStatus, getIssuerLogo} from '@sphereon/ui-components.credential-branding';
import {translate} from '../../localization/Localization';
import {
SSICredentialDetailsScreenButtonContainer as ButtonContainer,
Expand Down
2 changes: 1 addition & 1 deletion src/screens/SSICredentialsOverviewScreen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import {IUser, IUserIdentifier, MainRoutesEnum, RootState, ScreenRoutesEnum, StackParamList} from '../../types';
import {getOriginalVerifiableCredential} from '../../utils/CredentialUtils';
import {backgroundColors, borderColors} from '@sphereon/ui-components.core';
import {CredentialSummary} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary} from '@sphereon/ui-components.credential-branding';

interface IProps extends NativeStackScreenProps<StackParamList, ScreenRoutesEnum.CREDENTIALS_OVERVIEW> {
getVerifiableCredentials: () => void;
Expand Down
2 changes: 1 addition & 1 deletion src/screens/SSICredentialsRequiredScreen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
import {ScreenRoutesEnum, StackParamList} from '../../types';
import {getMatchingUniqueVerifiableCredential, getOriginalVerifiableCredential} from '../../utils';
import {JSONPath} from '@astronautlabs/jsonpath';
import {CredentialSummary, toCredentialSummary} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary, toCredentialSummary} from '@sphereon/ui-components.credential-branding';

type Props = NativeStackScreenProps<StackParamList, ScreenRoutesEnum.CREDENTIALS_REQUIRED>;

Expand Down
2 changes: 1 addition & 1 deletion src/screens/Veramo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {connect} from 'react-redux';

import {createIdentifier, getIdentifiers} from '../services/identityService';
import {CredentialIssuanceStateEnum, RootState, ScreenRoutesEnum, StackParamList} from '../types';
import {toNonPersistedCredentialSummary} from '@sphereon/ui-components.credential-representation';
import {toNonPersistedCredentialSummary} from '@sphereon/ui-components.credential-branding';

interface IProps extends NativeStackScreenProps<StackParamList, 'Veramo'> {
contacts: Array<Party>;
Expand Down
2 changes: 1 addition & 1 deletion src/store/actions/credential.actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
STORE_CREDENTIAL_SUCCESS,
} from '../../types/store/credential.action.types';
import {showToast} from '../../utils/ToastUtils';
import {CredentialSummary, toCredentialSummary} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary, toCredentialSummary} from '@sphereon/ui-components.credential-branding';
import {getCredentialIssuerContact} from '../../utils';

export const getVerifiableCredentials = (): ThunkAction<Promise<void>, RootState, unknown, Action> => {
Expand Down
2 changes: 1 addition & 1 deletion src/store/reducers/credential.reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
STORE_CREDENTIAL_SUCCESS,
} from '../../types/store/credential.action.types';
import {ICredentialState} from '../../types/store/credential.types';
import {CredentialSummary} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary} from '@sphereon/ui-components.credential-branding';

const initialState: ICredentialState = {
loading: false,
Expand Down
2 changes: 1 addition & 1 deletion src/types/credential/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {OriginalVerifiableCredential} from '@sphereon/ssi-types';

import {CredentialSummary} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary} from '@sphereon/ui-components.credential-branding';

export enum CredentialIssuanceStateEnum {
OFFER = 'offer',
Expand Down
2 changes: 1 addition & 1 deletion src/types/navigation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {IButton, PopupBadgesEnum, PopupImagesEnum} from '../component';
import {ICredentialSelection, ICredentialTypeSelection} from '../credential';
import {OnboardingMachineContext, OnboardingMachineInterpreter, OnboardingPersonalData} from '../machines/onboarding';
import {SiopV2MachineInterpreter} from '../machines/siopV2';
import {CredentialSummary} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary} from '@sphereon/ui-components.credential-branding';

export type StackParamList = {
CredentialsOverview: Record<string, never>;
Expand Down
2 changes: 1 addition & 1 deletion src/types/store/credential.action.types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {CredentialSummary} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary} from '@sphereon/ui-components.credential-branding';

export const CREDENTIALS_LOADING = '[CREDENTIAL] CREDENTIALS_LOADING';
export type CREDENTIALS_LOADING = typeof CREDENTIALS_LOADING;
Expand Down
2 changes: 1 addition & 1 deletion src/types/store/credential.types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {CredentialSummary} from '@sphereon/ui-components.credential-representation';
import {CredentialSummary} from '@sphereon/ui-components.credential-branding';

export interface ICredentialState {
loading: boolean;
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3766,37 +3766,37 @@
events "^3.3.0"
jwt-decode "^3.1.2"

"@sphereon/[email protected].40", "@sphereon/[email protected].40+157b133":
version "0.2.1-unstable.40"
resolved "https://registry.yarnpkg.com/@sphereon/ui-components.core/-/ui-components.core-0.2.1-unstable.40.tgz#df5f1a0f4645709bd621ac514c3a9235fd1fb14e"
integrity sha512-PivZFZ2zx9BOnb+Bpu4JUsgVaHES/urMuqg6SvFer7f0T43xMpC4KnXKt4x3fhIUQbilTIC9k7+IO1i/QozS1g==
"@sphereon/[email protected].44", "@sphereon/[email protected].44+5dc2b62":
version "0.2.1-unstable.44"
resolved "https://registry.yarnpkg.com/@sphereon/ui-components.core/-/ui-components.core-0.2.1-unstable.44.tgz#6a5610f45f93c3f327cb1e04d82f0f8a8a25bda2"
integrity sha512-v0kF4597cAO5IHrUcM0aDWqWOjHug7dYCaN9ezkPN6j2UWNNyJZhp7AflDeQsG4nD0YMIkqhoAyU4fzy/yJfZg==
dependencies:
i18n-js "^3.8.0"
lodash.memoize "^4.1.2"
styled-components "^5.3.3"

"@sphereon/ui-components.credential-representation@0.2.1-unstable.40":
version "0.2.1-unstable.40"
resolved "https://registry.yarnpkg.com/@sphereon/ui-components.credential-representation/-/ui-components.credential-representation-0.2.1-unstable.40.tgz#1e3c198e27a211b5840ffe5d8f5c5b1e9dd2c172"
integrity sha512-4DeuEJ6aLYEDzqCHau4SzRc3inXnZ4HicU8HWW1gcL4WtEtnhbFD8M6XGnuUUF/NDKAUdwWuydCl0CzjS3ZwWA==
"@sphereon/ui-components.credential-branding@0.2.1-unstable.44":
version "0.2.1-unstable.44"
resolved "https://registry.yarnpkg.com/@sphereon/ui-components.credential-branding/-/ui-components.credential-branding-0.2.1-unstable.44.tgz#1936d575970d2467f1db514fbff55bfa33b6b7d9"
integrity sha512-xFPqY+6LUzVwDuAFQ9+IlnUieGDCi+p9rX/U1pfPon8iDtWZbssPbaWL2l3bmmsaGQe3affiyDBEtYR5RDfsTA==
dependencies:
"@sphereon/ssi-sdk.core" "0.26.1-next.6"
"@sphereon/ssi-sdk.data-store" "0.26.1-next.6"
"@sphereon/ssi-types" "0.26.1-next.6"
"@sphereon/ui-components.core" "0.2.1-unstable.40+157b133"
"@sphereon/ui-components.core" "0.2.1-unstable.44+5dc2b62"
"@veramo/core" "4.2.0"
"@veramo/utils" "4.2.0"
i18n-js "^3.8.0"
uuid "^9.0.1"

"@sphereon/[email protected].40":
version "0.2.1-unstable.40"
resolved "https://registry.yarnpkg.com/@sphereon/ui-components.ssi-react-native/-/ui-components.ssi-react-native-0.2.1-unstable.40.tgz#2018c04a1d3fd92d74dd3ebc9d76ee682f0af7b2"
integrity sha512-+Kyd5KZrDqBgqwLCa+GCy/21E1yzKYwpUbg/++2H8TT4P+s1ikrtQyZWtr2CEh20AvJALsOSuj8m3O6MJZMgfQ==
"@sphereon/[email protected].44":
version "0.2.1-unstable.44"
resolved "https://registry.yarnpkg.com/@sphereon/ui-components.ssi-react-native/-/ui-components.ssi-react-native-0.2.1-unstable.44.tgz#577db4fb843c72125de6f33fc9dcfeee339dfdc0"
integrity sha512-1NacHrjZ9mX7ttZY4j034g7Jgf5aVOI5+F4rGsVZgRt00jnZpuzQwEC0Wbzfzd4ng/RCUYb4ZdpCghpItWTt1A==
dependencies:
"@react-native-community/blur" "^4.4.0"
"@react-native-masked-view/masked-view" "0.3.1"
"@sphereon/ui-components.core" "0.2.1-unstable.40+157b133"
"@sphereon/ui-components.core" "0.2.1-unstable.44+5dc2b62"
expo-linear-gradient "~12.7.2"
react-native-fast-image "^8.6.3"
react-native-size-matters "^0.4.0"
Expand Down

0 comments on commit 2ea5a5a

Please sign in to comment.