@sphereon/ui-components.ssi-react-native 0.1.3-next.13 → 0.1.3-next.16
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/dist/components/assets/logos/SSILogo/index.d.ts +1 -1
- package/dist/components/assets/logos/SSILogo/index.js +1 -1
- package/dist/components/assets/logos/SSIPlaceholderLogo/index.js +1 -1
- package/dist/components/views/{SSICardView → SSICredentialCardView}/index.d.ts +2 -2
- package/dist/components/views/{SSICardView → SSICredentialCardView}/index.js +13 -13
- package/dist/components/views/SSICredentialMiniCardView/index.d.ts +12 -0
- package/dist/components/views/SSICredentialMiniCardView/index.js +14 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/styles/components/components/SSICredentialCardView/index.d.ts +18 -0
- package/dist/styles/components/components/SSICredentialCardView/index.js +57 -0
- package/dist/styles/components/components/SSICredentialMiniCardView/index.d.ts +6 -0
- package/dist/styles/components/components/SSICredentialMiniCardView/index.js +15 -0
- package/dist/styles/components/components/index.d.ts +2 -1
- package/dist/styles/components/components/index.js +2 -1
- package/package.json +3 -3
- package/dist/styles/components/components/SSICardView/index.d.ts +0 -14
- package/dist/styles/components/components/SSICardView/index.js +0 -52
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ImageAttributes } from '@sphereon/ui-components.core';
|
|
2
1
|
import { FC } from 'react';
|
|
3
2
|
import { ColorValue, ViewStyle } from 'react-native';
|
|
3
|
+
import { ImageAttributes } from '@sphereon/ui-components.core';
|
|
4
4
|
type Props = {
|
|
5
5
|
logo?: ImageAttributes;
|
|
6
6
|
size?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { calculateAspectRatio, logoColors } from '@sphereon/ui-components.core';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import FastImage from 'react-native-fast-image';
|
|
3
|
+
import { calculateAspectRatio, logoColors } from '@sphereon/ui-components.core';
|
|
4
4
|
import SSIPlaceholderLogo from '../SSIPlaceholderLogo';
|
|
5
5
|
const SSILogo = (props) => {
|
|
6
6
|
const { logo, color = logoColors.default, size = 32, style } = props;
|
|
@@ -4,7 +4,7 @@ import Svg, { Path } from 'react-native-svg';
|
|
|
4
4
|
import { logoColors } from '@sphereon/ui-components.core';
|
|
5
5
|
const SSIPlaceholderLogo = (props) => {
|
|
6
6
|
const { color = logoColors.default, size = 32, style } = props;
|
|
7
|
-
return (<View style={[style, { width: size,
|
|
7
|
+
return (<View style={[style, { width: size, height: size }]}>
|
|
8
8
|
<Svg width="100%" height="100%" viewBox="0 0 32 32" fill="none">
|
|
9
9
|
<Path d="M15.9997 31.9999C11.7563 31.9999 7.68645 30.3141 4.68603 27.3136C1.68548 24.313 0 20.2435 0 15.9999C0 11.7563 1.68548 7.68669 4.68603 4.68627C7.68657 1.68572 11.7561 0 15.9997 0C20.2433 0 24.3129 1.68572 27.3133 4.68627C30.3139 7.68657 31.9994 11.7563 31.9994 15.9999C31.9947 20.2419 30.3075 24.3089 27.3079 27.3082C24.3083 30.3077 20.2415 31.9949 15.9997 31.9999ZM15.9997 0.914927V0.914691C11.9987 0.914691 8.16186 2.50412 5.33238 5.33317C2.50339 8.1624 0.9139 11.9997 0.9139 16.0005C0.9139 20.0015 2.50333 23.8383 5.33238 26.6678C8.16137 29.4968 11.9983 31.0863 15.9997 31.0863C20.0011 31.0863 23.8375 29.4968 26.667 26.6678C29.496 23.8388 31.0855 20.0018 31.0855 16.0005C31.081 12.0009 29.4901 8.16627 26.662 5.33861C23.834 2.51059 19.9997 0.919705 16.0002 0.915174L15.9997 0.914927Z" fill={color}/>
|
|
10
10
|
<Path d="M30.1659 10.0545C30.0927 10.0545 30.0205 10.0368 29.9556 10.0028C26.3647 8.13584 21.2781 7.06476 15.9997 7.06476C10.7214 7.06476 5.63448 8.13578 2.04387 10.0028C1.93604 10.0625 1.80862 10.0762 1.6904 10.0405C1.57241 10.0049 1.47355 9.92327 1.41668 9.81378C1.35981 9.70429 1.34966 9.5764 1.38836 9.45936C1.42706 9.34232 1.51154 9.24581 1.62244 9.19177C5.39433 7.23065 10.4993 6.15039 16 6.15039C21.5006 6.15039 26.6056 7.23065 30.3775 9.19177C30.5643 9.28899 30.6604 9.50136 30.6104 9.70594C30.5603 9.91052 30.377 10.0545 30.1663 10.0545L30.1659 10.0545Z" fill={color}/>
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
-
import
|
|
4
|
-
import { backgroundColors, credentialCardColors, Localization, toLocalDateString, } from '@sphereon/ui-components.core';
|
|
5
|
-
import { SSIAlphaContainerStyled as AlphaContainer, SSIBlurredContainerStyled as BlurredView, SSICardViewContainerStyled as Container, SSICardViewContentMainContainerStyled as ContentMainContainer, SSICardViewContentSubContainerStyled as ContentSubContainer, SSICardViewSSICredentialStatusStyled as CredentialStatusContainer, SSICardViewCredentialSubtitleTextStyled as CredentialSubtitleText, SSICardViewCredentialTitleTextStyled as CredentialTitleText, SSITextH5LightStyled as ExpirationDateText, SSICardViewFooterContainerStyled as FooterContainer, SSICardViewFooterContentContainerStyled as FooterContentContainer, SSITextH4LightStyled as H4Text, SSICardViewHeaderContainerStyled as HeaderContainer, SSICardViewContentIssueNameContainerStyled as IssueNameContainer, SSICardViewHeaderLogoContainerStyled as LogoContainer, SSICardViewContentPropertiesContainerStyled as PropertiesContainer, SSITextH6LightStyled as PropertyValueText, SSICardViewHeaderTitleContainerStyled as TitleContainer, } from '../../../styles/components';
|
|
3
|
+
import { backgroundColors, credentialCardColors, Localization, toLocalDateString } from '@sphereon/ui-components.core';
|
|
6
4
|
import SSILogo from '../../assets/logos/SSILogo';
|
|
7
5
|
import SSIStatusLabel from '../../labels/SSIStatusLabel';
|
|
8
|
-
|
|
6
|
+
import { SSIAlphaContainerStyled as AlphaContainer, SSICredentialCardViewBackgroundImageStyled as BackgroundImage, SSIBlurredContainerStyled as BlurredView, SSICredentialCardViewContainerStyled as Container, SSICredentialCardViewContentMainContainerStyled as ContentMainContainer, SSICredentialCardViewContentSubContainerStyled as ContentSubContainer, SSICredentialCardViewStatusContainerStyled as StatusContainer, SSICredentialCardViewCredentialSubtitleTextStyled as CredentialSubtitleText, SSICredentialCardViewCredentialTitleTextStyled as CredentialTitleText, SSITextH5LightStyled as ExpirationDateText, SSICredentialCardViewFooterContainerStyled as FooterContainer, SSICredentialCardViewFooterContentContainerStyled as FooterContentContainer, SSITextH4LightStyled as H4Text, SSICredentialCardViewHeaderContainerStyled as HeaderContainer, SSICredentialCardViewContentIssueNameContainerStyled as IssueNameContainer, SSICredentialCardViewHeaderLogoContainerStyled as LogoContainer, SSICredentialCardViewContentPropertiesContainerStyled as PropertiesContainer, SSITextH6LightStyled as PropertyValueText, SSICredentialCardViewHeaderTitleContainerStyled as TitleContainer, } from '../../../styles/components';
|
|
7
|
+
const SSICredentialCardView = (props) => {
|
|
9
8
|
const { header, body, footer } = props;
|
|
10
9
|
const { credentialTitle, credentialSubtitle, logo } = props.header ?? {};
|
|
11
10
|
const { issuerName, properties } = props.body ?? {};
|
|
12
11
|
const { credentialStatus, expirationDate } = props.footer ?? {};
|
|
13
|
-
const { backgroundColor = credentialCardColors.default, backgroundImage
|
|
12
|
+
const { backgroundColor = credentialCardColors.default, backgroundImage, textColor = backgroundColors.primaryLight, } = props.display ?? {};
|
|
14
13
|
const getPropertyElementsFrom = (properties) => {
|
|
15
14
|
return properties.slice(0, 2).map((property, index) => (<View key={index} style={{
|
|
16
15
|
...(properties.length > 1 && { width: 140 }),
|
|
@@ -21,12 +20,13 @@ const SSICardView = (props) => {
|
|
|
21
20
|
</View>));
|
|
22
21
|
};
|
|
23
22
|
return (<Container style={{ backgroundColor }}>
|
|
24
|
-
<
|
|
23
|
+
<BackgroundImage source={backgroundImage}>
|
|
25
24
|
<AlphaContainer>
|
|
26
25
|
{header && (<HeaderContainer>
|
|
27
|
-
|
|
28
|
-
<
|
|
29
|
-
|
|
26
|
+
{(!backgroundImage || logo) &&
|
|
27
|
+
<LogoContainer>
|
|
28
|
+
<SSILogo logo={logo} color={textColor}/>
|
|
29
|
+
</LogoContainer>}
|
|
30
30
|
{credentialTitle && (<TitleContainer>
|
|
31
31
|
<CredentialTitleText style={{ color: textColor }} numberOfLines={2}>
|
|
32
32
|
{credentialTitle}
|
|
@@ -50,14 +50,14 @@ const SSICardView = (props) => {
|
|
|
50
50
|
? `${Localization.translate('credential_card_expires_message')} ${toLocalDateString(expirationDate)}`
|
|
51
51
|
: Localization.translate('credential_status_never_expires_date_label')}
|
|
52
52
|
</ExpirationDateText>
|
|
53
|
-
{credentialStatus && (<
|
|
53
|
+
{credentialStatus && (<StatusContainer>
|
|
54
54
|
{credentialStatus && <SSIStatusLabel status={credentialStatus} color={textColor}/>}
|
|
55
|
-
</
|
|
55
|
+
</StatusContainer>)}
|
|
56
56
|
</FooterContentContainer>
|
|
57
57
|
</BlurredView>
|
|
58
58
|
</FooterContainer>)}
|
|
59
59
|
</AlphaContainer>
|
|
60
|
-
</
|
|
60
|
+
</BackgroundImage>
|
|
61
61
|
</Container>);
|
|
62
62
|
};
|
|
63
|
-
export default
|
|
63
|
+
export default SSICredentialCardView;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ColorValue, ViewStyle } from 'react-native';
|
|
3
|
+
import { ImageAttributes } from '@sphereon/ui-components.core';
|
|
4
|
+
type Props = {
|
|
5
|
+
backgroundImage?: ImageAttributes;
|
|
6
|
+
backgroundColor?: ColorValue;
|
|
7
|
+
logo?: ImageAttributes;
|
|
8
|
+
logoColor?: ColorValue;
|
|
9
|
+
style?: ViewStyle;
|
|
10
|
+
};
|
|
11
|
+
declare const SSICredentialMiniCardView: FC<Props>;
|
|
12
|
+
export default SSICredentialMiniCardView;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { credentialCardColors } from '@sphereon/ui-components.core';
|
|
3
|
+
import SSILogo from '../../assets/logos/SSILogo';
|
|
4
|
+
import { SSICredentialMiniCardViewBackgroundImageStyled as BackgroundImage, SSICredentialMiniCardViewContainerStyled as Container, } from '../../../styles/components';
|
|
5
|
+
const SSICredentialMiniCardView = (props) => {
|
|
6
|
+
const { backgroundColor = credentialCardColors.default, backgroundImage, logo, logoColor, style } = props;
|
|
7
|
+
return (<Container style={[style, { backgroundColor }]}>
|
|
8
|
+
<BackgroundImage source={backgroundImage}>
|
|
9
|
+
{(!backgroundImage || logo) &&
|
|
10
|
+
<SSILogo logo={logo} color={logoColor}/>}
|
|
11
|
+
</BackgroundImage>
|
|
12
|
+
</Container>);
|
|
13
|
+
};
|
|
14
|
+
export default SSICredentialMiniCardView;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import SSIStatusLabel from './components/labels/SSIStatusLabel';
|
|
2
|
-
import
|
|
2
|
+
import SSICredentialCardView from './components/views/SSICredentialCardView';
|
|
3
|
+
import SSICredentialMiniCardView from './components/views/SSICredentialMiniCardView';
|
|
3
4
|
import SSICheckmarkBadge from './components/assets/badges/SSICheckmarkBadge';
|
|
4
5
|
import SSIExclamationMarkBadge from './components/assets/badges/SSIExclamationMarkBadge';
|
|
5
6
|
import SSIPlaceholderLogo from './components/assets/logos/SSIPlaceholderLogo';
|
|
6
7
|
import SSILogo from './components/assets/logos/SSILogo';
|
|
7
|
-
export {
|
|
8
|
+
export { SSICredentialCardView, SSICredentialMiniCardView, SSIStatusLabel, SSICheckmarkBadge, SSIExclamationMarkBadge, SSIPlaceholderLogo, SSILogo };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import SSIStatusLabel from './components/labels/SSIStatusLabel';
|
|
2
|
-
import
|
|
2
|
+
import SSICredentialCardView from './components/views/SSICredentialCardView';
|
|
3
|
+
import SSICredentialMiniCardView from './components/views/SSICredentialMiniCardView';
|
|
3
4
|
import SSICheckmarkBadge from './components/assets/badges/SSICheckmarkBadge';
|
|
4
5
|
import SSIExclamationMarkBadge from './components/assets/badges/SSIExclamationMarkBadge';
|
|
5
6
|
import SSIPlaceholderLogo from './components/assets/logos/SSIPlaceholderLogo';
|
|
6
7
|
import SSILogo from './components/assets/logos/SSILogo';
|
|
7
|
-
export {
|
|
8
|
+
export { SSICredentialCardView, SSICredentialMiniCardView, SSIStatusLabel, SSICheckmarkBadge, SSIExclamationMarkBadge, SSIPlaceholderLogo, SSILogo };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
export declare const SSICredentialCardViewContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, any, {}, never>;
|
|
4
|
+
export declare const SSICredentialCardViewHeaderContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, any, {}, never>;
|
|
5
|
+
export declare const SSICredentialCardViewHeaderLogoContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const SSICredentialCardViewHeaderTitleContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const SSICredentialCardViewContentMainContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const SSICredentialCardViewContentSubContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
export declare const SSICredentialCardViewContentIssueNameContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
export declare const SSICredentialCardViewContentPropertiesContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, any, {}, never>;
|
|
11
|
+
export declare const SSICredentialCardViewFooterContentContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, any, {}, never>;
|
|
12
|
+
export declare const SSICredentialCardViewFooterContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
+
export declare const SSICredentialCardViewCredentialTitleTextStyled: import("styled-components").StyledComponent<typeof import("react-native").Text, any, {}, never>;
|
|
14
|
+
export declare const SSICredentialCardViewCredentialSubtitleTextStyled: import("styled-components").StyledComponent<typeof import("react-native").Text, any, {}, never>;
|
|
15
|
+
export declare const SSICredentialCardViewStatusContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const SSICredentialCardViewBackgroundImageStyled: import("styled-components").StyledComponent<import("react").ComponentType<import("react-native-fast-image").FastImageProps> & import("react-native-fast-image").FastImageStaticProperties, any, {
|
|
17
|
+
resizeMode: "cover";
|
|
18
|
+
}, "resizeMode">;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import styled from 'styled-components/native';
|
|
2
|
+
import FastImage from 'react-native-fast-image';
|
|
3
|
+
import { SSIFlexDirectionRowViewStyled, SSIRoundedContainerStyled } from '../../containers';
|
|
4
|
+
import { SSITextH4SemiBoldLightStyled, SSITextH5LightStyled } from '../../fonts';
|
|
5
|
+
export const SSICredentialCardViewContainerStyled = styled(SSIRoundedContainerStyled) `
|
|
6
|
+
width: 327px;
|
|
7
|
+
height: 186px;
|
|
8
|
+
`;
|
|
9
|
+
export const SSICredentialCardViewHeaderContainerStyled = styled(SSIFlexDirectionRowViewStyled) `
|
|
10
|
+
height: 32px;
|
|
11
|
+
margin-top: 16px;
|
|
12
|
+
`;
|
|
13
|
+
export const SSICredentialCardViewHeaderLogoContainerStyled = styled.View `
|
|
14
|
+
margin: 0 12px 0 9px;
|
|
15
|
+
`;
|
|
16
|
+
export const SSICredentialCardViewHeaderTitleContainerStyled = styled.View `
|
|
17
|
+
flex: 1;
|
|
18
|
+
margin: 0 13px 0 auto;
|
|
19
|
+
`;
|
|
20
|
+
export const SSICredentialCardViewContentMainContainerStyled = styled.View `
|
|
21
|
+
flex: 1;
|
|
22
|
+
`;
|
|
23
|
+
export const SSICredentialCardViewContentSubContainerStyled = styled.View `
|
|
24
|
+
margin-top: auto;
|
|
25
|
+
`;
|
|
26
|
+
export const SSICredentialCardViewContentIssueNameContainerStyled = styled.View `
|
|
27
|
+
padding: 2px 9px 2px 12px;
|
|
28
|
+
`;
|
|
29
|
+
export const SSICredentialCardViewContentPropertiesContainerStyled = styled(SSIFlexDirectionRowViewStyled) `
|
|
30
|
+
justify-content: flex-start;
|
|
31
|
+
margin: 1px 0;
|
|
32
|
+
padding: 2px 9px 4px 12px;
|
|
33
|
+
`;
|
|
34
|
+
export const SSICredentialCardViewFooterContentContainerStyled = styled(SSIFlexDirectionRowViewStyled) `
|
|
35
|
+
padding: 11px 12px;
|
|
36
|
+
background-color: transparent;
|
|
37
|
+
`;
|
|
38
|
+
export const SSICredentialCardViewFooterContainerStyled = styled.View `
|
|
39
|
+
height: 39px;
|
|
40
|
+
margin-top: auto;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
`;
|
|
43
|
+
export const SSICredentialCardViewCredentialTitleTextStyled = styled(SSITextH4SemiBoldLightStyled) `
|
|
44
|
+
flex: 1;
|
|
45
|
+
text-align: right;
|
|
46
|
+
`;
|
|
47
|
+
export const SSICredentialCardViewCredentialSubtitleTextStyled = styled(SSITextH5LightStyled) `
|
|
48
|
+
text-align: right;
|
|
49
|
+
`;
|
|
50
|
+
export const SSICredentialCardViewStatusContainerStyled = styled.View `
|
|
51
|
+
margin-left: auto;
|
|
52
|
+
`;
|
|
53
|
+
export const SSICredentialCardViewBackgroundImageStyled = styled(FastImage).attrs({
|
|
54
|
+
resizeMode: 'cover',
|
|
55
|
+
}) `
|
|
56
|
+
flex: 1;
|
|
57
|
+
`;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
export declare const SSICredentialMiniCardViewContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const SSICredentialMiniCardViewBackgroundImageStyled: import("styled-components").StyledComponent<import("react").ComponentType<import("react-native-fast-image").FastImageProps> & import("react-native-fast-image").FastImageStaticProperties, any, {
|
|
5
|
+
resizeMode: "cover";
|
|
6
|
+
}, "resizeMode">;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import styled from 'styled-components/native';
|
|
2
|
+
import FastImage from "react-native-fast-image";
|
|
3
|
+
export const SSICredentialMiniCardViewContainerStyled = styled.View `
|
|
4
|
+
width: 75px;
|
|
5
|
+
height: 50px;
|
|
6
|
+
border-radius: 4.6px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
`;
|
|
9
|
+
export const SSICredentialMiniCardViewBackgroundImageStyled = styled(FastImage).attrs({
|
|
10
|
+
resizeMode: 'cover',
|
|
11
|
+
}) `
|
|
12
|
+
flex: 1;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ui-components.ssi-react-native",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.3-next.
|
|
4
|
+
"version": "0.1.3-next.16+40041e4",
|
|
5
5
|
"description": "SSI UI components for React-Native",
|
|
6
6
|
"repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
|
|
7
7
|
"author": "Sphereon <dev@sphereon.com>",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@react-native-community/blur": "^4.3.0",
|
|
32
|
-
"@sphereon/ui-components.core": "0.1.3-next.
|
|
32
|
+
"@sphereon/ui-components.core": "0.1.3-next.16+40041e4",
|
|
33
33
|
"react-native-fast-image": "^8.6.3",
|
|
34
34
|
"react-native-size-matters": "^0.4.0",
|
|
35
35
|
"react-native-svg": "13.4.0",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": ">= 16.8.0",
|
|
47
47
|
"react-native": ">= 0.64.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "40041e40ea53c6df6d736c79fb81e9f4792439af"
|
|
50
50
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
|
-
export declare const SSICardViewContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, any, {}, never>;
|
|
3
|
-
export declare const SSICardViewHeaderContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, any, {}, never>;
|
|
4
|
-
export declare const SSICardViewHeaderLogoContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const SSICardViewHeaderTitleContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
-
export declare const SSICardViewContentMainContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export declare const SSICardViewContentSubContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const SSICardViewContentIssueNameContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
-
export declare const SSICardViewContentPropertiesContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, any, {}, never>;
|
|
10
|
-
export declare const SSICardViewFooterContentContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, any, {}, never>;
|
|
11
|
-
export declare const SSICardViewFooterContainerStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
-
export declare const SSICardViewCredentialTitleTextStyled: import("styled-components").StyledComponent<typeof import("react-native").Text, any, {}, never>;
|
|
13
|
-
export declare const SSICardViewCredentialSubtitleTextStyled: import("styled-components").StyledComponent<typeof import("react-native").Text, any, {}, never>;
|
|
14
|
-
export declare const SSICardViewSSICredentialStatusStyled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components/native';
|
|
2
|
-
import { SSIFlexDirectionRowViewStyled, SSIRoundedContainerStyled } from '../../containers';
|
|
3
|
-
import { SSITextH4SemiBoldLightStyled, SSITextH5LightStyled } from '../../fonts';
|
|
4
|
-
export const SSICardViewContainerStyled = styled(SSIRoundedContainerStyled) `
|
|
5
|
-
width: 327px;
|
|
6
|
-
height: 186px;
|
|
7
|
-
`;
|
|
8
|
-
export const SSICardViewHeaderContainerStyled = styled(SSIFlexDirectionRowViewStyled) `
|
|
9
|
-
height: 32px;
|
|
10
|
-
margin-top: 16px;
|
|
11
|
-
`;
|
|
12
|
-
export const SSICardViewHeaderLogoContainerStyled = styled.View `
|
|
13
|
-
margin-left: 9px;
|
|
14
|
-
margin-right: 12px;
|
|
15
|
-
`;
|
|
16
|
-
export const SSICardViewHeaderTitleContainerStyled = styled.View `
|
|
17
|
-
flex: 1;
|
|
18
|
-
margin: 0px 13px 0px auto;
|
|
19
|
-
`;
|
|
20
|
-
export const SSICardViewContentMainContainerStyled = styled.View `
|
|
21
|
-
flex: 1;
|
|
22
|
-
`;
|
|
23
|
-
export const SSICardViewContentSubContainerStyled = styled.View `
|
|
24
|
-
margin-top: auto;
|
|
25
|
-
`;
|
|
26
|
-
export const SSICardViewContentIssueNameContainerStyled = styled.View `
|
|
27
|
-
padding: 2px 9px 2px 12px;
|
|
28
|
-
`;
|
|
29
|
-
export const SSICardViewContentPropertiesContainerStyled = styled(SSIFlexDirectionRowViewStyled) `
|
|
30
|
-
justify-content: flex-start;
|
|
31
|
-
margin: 1px 0px 1px 0px;
|
|
32
|
-
padding: 2px 9px 4px 12px;
|
|
33
|
-
`;
|
|
34
|
-
export const SSICardViewFooterContentContainerStyled = styled(SSIFlexDirectionRowViewStyled) `
|
|
35
|
-
padding: 11px 12px 11px 12px;
|
|
36
|
-
background-color: transparent;
|
|
37
|
-
`;
|
|
38
|
-
export const SSICardViewFooterContainerStyled = styled.View `
|
|
39
|
-
height: 39px; // 39
|
|
40
|
-
margin-top: auto;
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
`;
|
|
43
|
-
export const SSICardViewCredentialTitleTextStyled = styled(SSITextH4SemiBoldLightStyled) `
|
|
44
|
-
flex: 1;
|
|
45
|
-
text-align: right;
|
|
46
|
-
`;
|
|
47
|
-
export const SSICardViewCredentialSubtitleTextStyled = styled(SSITextH5LightStyled) `
|
|
48
|
-
text-align: right;
|
|
49
|
-
`;
|
|
50
|
-
export const SSICardViewSSICredentialStatusStyled = styled.View `
|
|
51
|
-
margin-left: auto;
|
|
52
|
-
`;
|