@sphereon/ui-components.ssi-react-native 0.4.1-next.182 → 0.4.1-next.183

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.
@@ -47,16 +47,15 @@ const SSICredentialCardView = (props) => {
47
47
  </styles_1.SSICredentialCardViewContentSubContainerStyled>
48
48
  </styles_1.SSICredentialCardViewContentMainContainerStyled>)}
49
49
  {footer && (<styles_1.SSICredentialCardViewFooterContainerStyled>
50
- <styles_1.SSIBlurredContainerStyled>
51
- <styles_1.SSICredentialCardViewFooterContentContainerStyled>
52
- <styles_1.SSITextH5LightStyled style={{ color: textColor }}>
53
- {expirationDate
50
+ <styles_1.SSIBlurredContainerStyled />
51
+ <styles_1.SSICredentialCardViewFooterContentContainerStyled>
52
+ <styles_1.SSITextH5LightStyled style={{ color: textColor }}>
53
+ {expirationDate
54
54
  ? `${ui_components_core_1.Localization.translate('credential_card_expires_message')} ${(0, ui_components_core_1.toLocalDateString)(expirationDate)}`
55
55
  : ui_components_core_1.Localization.translate('credential_status_never_expires_date_label')}
56
- </styles_1.SSITextH5LightStyled>
57
- {credentialStatus && (<styles_1.SSICredentialCardViewStatusContainerStyled>{credentialStatus && <SSIStatusLabel_1.default status={credentialStatus} color={textColor}/>}</styles_1.SSICredentialCardViewStatusContainerStyled>)}
58
- </styles_1.SSICredentialCardViewFooterContentContainerStyled>
59
- </styles_1.SSIBlurredContainerStyled>
56
+ </styles_1.SSITextH5LightStyled>
57
+ {credentialStatus && (<styles_1.SSICredentialCardViewStatusContainerStyled>{credentialStatus && <SSIStatusLabel_1.default status={credentialStatus} color={textColor}/>}</styles_1.SSICredentialCardViewStatusContainerStyled>)}
58
+ </styles_1.SSICredentialCardViewFooterContentContainerStyled>
60
59
  </styles_1.SSICredentialCardViewFooterContainerStyled>)}
61
60
  </styles_1.SSIAlphaContainerStyled>
62
61
  </styles_1.SSICredentialCardViewBackgroundImageStyled>
@@ -49,6 +49,7 @@ exports.SSICredentialCardViewFooterContainerStyled = native_1.default.View `
49
49
  height: 39px;
50
50
  margin-top: auto;
51
51
  overflow: hidden;
52
+ position: relative;
52
53
  `;
53
54
  exports.SSICredentialCardViewCredentialTitleTextStyled = (0, native_1.default)(fonts_1.SSITextH4SemiBoldLightStyled) `
54
55
  text-align: right;
@@ -15,7 +15,11 @@ exports.SSIBlurredContainerStyled = (0, native_1.default)(expo_blur_1.BlurView).
15
15
  tint: 'light',
16
16
  intensity: 15,
17
17
  }) `
18
- flex: 1;
18
+ position: absolute;
19
+ top: 0;
20
+ left: 0;
21
+ right: 0;
22
+ bottom: 0;
19
23
  `;
20
24
  exports.SSIFlexDirectionRowViewStyled = native_1.default.View `
21
25
  flex-direction: row;
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.4.1-next.182+f365faa",
4
+ "version": "0.4.1-next.183+a3ea620",
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-masked-view/masked-view": "^0.3.2",
32
- "@sphereon/ui-components.core": "0.4.1-next.182+f365faa",
32
+ "@sphereon/ui-components.core": "0.4.1-next.183+a3ea620",
33
33
  "expo-blur": "^15.0.8",
34
34
  "expo-linear-gradient": "~13.0.2",
35
35
  "react-native-fast-image": "^8.6.3",
@@ -46,5 +46,5 @@
46
46
  "react": ">= 18.2",
47
47
  "react-native": "~0.74.3"
48
48
  },
49
- "gitHead": "f365faa68bacc4671c039cd473bbd306b1d09aa8"
49
+ "gitHead": "a3ea620f95d823f6a2447e49d0eab3fca7ec32a0"
50
50
  }