@sphereon/ui-components.ssi-react-native 0.4.1-next.154 → 0.4.1-next.179

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.
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -35,7 +35,7 @@ const SSICredentialCardView = (props) => {
35
35
  <styles_1.SSICredentialCardViewCredentialTitleTextStyled style={{ color: textColor }} numberOfLines={2}>
36
36
  {credentialTitle}
37
37
  </styles_1.SSICredentialCardViewCredentialTitleTextStyled>
38
- {credentialSubtitle && <styles_1.SSICredentialCardViewCredentialSubtitleTextStyled style={{ color: textColor }}>{credentialSubtitle}</styles_1.SSICredentialCardViewCredentialSubtitleTextStyled>}
38
+ {credentialSubtitle && <styles_1.SSICredentialCardViewCredentialSubtitleTextStyled style={{ color: textColor }} numberOfLines={2}>{credentialSubtitle}</styles_1.SSICredentialCardViewCredentialSubtitleTextStyled>}
39
39
  </styles_1.SSICredentialCardViewHeaderTitleContainerStyled>)}
40
40
  </styles_1.SSICredentialCardViewHeaderContainerStyled>)}
41
41
  {body && (<styles_1.SSICredentialCardViewContentMainContainerStyled>
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SSIFlexDirectionRowViewStyled, SSIRoundedContainerStyled } from '../../containers';
3
2
  import { SSITextH4SemiBoldLightStyled, SSITextH5LightStyled } from '../../../fonts';
4
3
  export declare const SSICredentialCardViewContainerStyled: typeof SSIRoundedContainerStyled;
@@ -13,7 +13,8 @@ exports.SSICredentialCardViewContainerStyled = (0, native_1.default)(containers_
13
13
  height: 186px;
14
14
  `;
15
15
  exports.SSICredentialCardViewHeaderContainerStyled = (0, native_1.default)(containers_1.SSIFlexDirectionRowViewStyled) `
16
- height: 32px;
16
+ min-height: 32px;
17
+ max-height: 64px;
17
18
  margin-top: 16px;
18
19
  `;
19
20
  exports.SSICredentialCardViewHeaderLogoContainerStyled = native_1.default.View `
@@ -22,6 +23,7 @@ exports.SSICredentialCardViewHeaderLogoContainerStyled = native_1.default.View `
22
23
  exports.SSICredentialCardViewHeaderTitleContainerStyled = native_1.default.View `
23
24
  flex: 1;
24
25
  margin: 0 13px 0 auto;
26
+ overflow: hidden;
25
27
  `;
26
28
  exports.SSICredentialCardViewContentMainContainerStyled = native_1.default.View `
27
29
  flex: 1;
@@ -40,6 +42,8 @@ exports.SSICredentialCardViewContentPropertiesContainerStyled = (0, native_1.def
40
42
  exports.SSICredentialCardViewFooterContentContainerStyled = (0, native_1.default)(containers_1.SSIFlexDirectionRowViewStyled) `
41
43
  padding: 11px 12px;
42
44
  background-color: transparent;
45
+ justify-content: space-between;
46
+ align-items: center;
43
47
  `;
44
48
  exports.SSICredentialCardViewFooterContainerStyled = native_1.default.View `
45
49
  height: 39px;
@@ -47,7 +51,6 @@ exports.SSICredentialCardViewFooterContainerStyled = native_1.default.View `
47
51
  overflow: hidden;
48
52
  `;
49
53
  exports.SSICredentialCardViewCredentialTitleTextStyled = (0, native_1.default)(fonts_1.SSITextH4SemiBoldLightStyled) `
50
- flex: 1;
51
54
  text-align: right;
52
55
  `;
53
56
  exports.SSICredentialCardViewCredentialSubtitleTextStyled = (0, native_1.default)(fonts_1.SSITextH5LightStyled) `
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  export declare const SSICredentialMiniCardViewContainerStyled: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never>>;
3
2
  export declare const SSICredentialMiniCardViewBackgroundImageStyled: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").Substitute<import("styled-components/native/dist/types").Substitute<import("styled-components/native/dist/types").Substitute<import("react-native-fast-image").FastImageProps | (import("react-native-fast-image").FastImageProps & import("react").RefAttributes<import("react").Component<import("react-native-fast-image").FastImageProps, any, any>>), import("react-native-fast-image").FastImageProps & import("react").RefAttributes<import("react").Component<import("react-native-fast-image").FastImageProps, any, any>>>, import("styled-components/native/dist/types").BaseObject> | import("styled-components/native/dist/types").Substitute<import("styled-components/native/dist/types").Substitute<import("react-native-fast-image").FastImageProps | (import("react-native-fast-image").FastImageProps & import("react").RefAttributes<import("react").Component<import("react-native-fast-image").FastImageProps, any, any>>), import("react-native-fast-image").FastImageProps>, import("styled-components/native/dist/types").BaseObject>, import("styled-components/native/dist/types").BaseObject>>;
@@ -1,37 +1,15 @@
1
- /// <reference types="react" />
1
+ import { BlurView } from 'expo-blur';
2
2
  export declare const SSIAlphaContainerStyled: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never>>;
3
- export declare const SSIBlurredContainerStyled: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").Substitute<import("styled-components/native/dist/types").Substitute<import("styled-components/native/dist/types").Substitute<(Omit<import("react-native").ViewProps & {
4
- blurType?: ("dark" | "light" | "regular" | "xlight" | "prominent" | "extraDark" | "chromeMaterial" | "material" | "thickMaterial" | "thinMaterial" | "ultraThinMaterial" | "chromeMaterialDark" | "materialDark" | "thickMaterialDark" | "thinMaterialDark" | "ultraThinMaterialDark" | "chromeMaterialLight" | "materialLight" | "thickMaterialLight" | "thinMaterialLight" | "ultraThinMaterialLight") | undefined;
5
- blurAmount?: number | undefined;
6
- reducedTransparencyFallbackColor?: string | undefined;
7
- } & import("react").RefAttributes<import("react-native").View>, "ref"> & {
8
- ref?: ((instance: import("react-native").View | null) => void) | import("react").RefObject<import("react-native").View> | null | undefined;
9
- }) | (Omit<import("react-native").ViewProps & {
10
- blurAmount?: number | undefined;
11
- blurType?: "dark" | "light" | "xlight" | undefined;
12
- blurRadius?: number | undefined;
13
- downsampleFactor?: number | undefined;
14
- overlayColor?: string | undefined;
15
- enabled?: boolean | undefined;
16
- autoUpdate?: boolean | undefined;
17
- } & import("react").RefAttributes<import("react-native").View>, "ref"> & {
18
- ref?: ((instance: import("react-native").View | null) => void) | import("react").RefObject<import("react-native").View> | null | undefined;
19
- }), (Omit<import("react-native").ViewProps & {
20
- blurType?: ("dark" | "light" | "regular" | "xlight" | "prominent" | "extraDark" | "chromeMaterial" | "material" | "thickMaterial" | "thinMaterial" | "ultraThinMaterial" | "chromeMaterialDark" | "materialDark" | "thickMaterialDark" | "thinMaterialDark" | "ultraThinMaterialDark" | "chromeMaterialLight" | "materialLight" | "thickMaterialLight" | "thinMaterialLight" | "ultraThinMaterialLight") | undefined;
21
- blurAmount?: number | undefined;
22
- reducedTransparencyFallbackColor?: string | undefined;
23
- } & import("react").RefAttributes<import("react-native").View>, "ref"> & {
24
- ref?: ((instance: import("react-native").View | null) => void) | import("react").RefObject<import("react-native").View> | null | undefined;
25
- }) | (Omit<import("react-native").ViewProps & {
26
- blurAmount?: number | undefined;
27
- blurType?: "dark" | "light" | "xlight" | undefined;
28
- blurRadius?: number | undefined;
29
- downsampleFactor?: number | undefined;
30
- overlayColor?: string | undefined;
31
- enabled?: boolean | undefined;
32
- autoUpdate?: boolean | undefined;
33
- } & import("react").RefAttributes<import("react-native").View>, "ref"> & {
34
- ref?: ((instance: import("react-native").View | null) => void) | import("react").RefObject<import("react-native").View> | null | undefined;
35
- })>, import("styled-components/native/dist/types").BaseObject>, import("styled-components/native/dist/types").BaseObject>>;
3
+ export declare const SSIBlurredContainerStyled: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").Substitute<{
4
+ tint?: import("expo-blur").BlurTint;
5
+ intensity?: number;
6
+ blurReductionFactor?: number;
7
+ experimentalBlurMethod?: import("expo-blur").ExperimentalBlurMethod;
8
+ } & import("react-native").ViewProps & import("react").RefAttributes<BlurView>, {
9
+ tint?: import("expo-blur").BlurTint;
10
+ intensity?: number;
11
+ blurReductionFactor?: number;
12
+ experimentalBlurMethod?: import("expo-blur").ExperimentalBlurMethod;
13
+ } & import("react-native").ViewProps & import("react").RefAttributes<BlurView>>, never>, never>>;
36
14
  export declare const SSIFlexDirectionRowViewStyled: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never>>;
37
15
  export declare const SSIRoundedContainerStyled: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never>>;
@@ -4,19 +4,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.SSIRoundedContainerStyled = exports.SSIFlexDirectionRowViewStyled = exports.SSIBlurredContainerStyled = exports.SSIAlphaContainerStyled = void 0;
7
- const blur_1 = require("@react-native-community/blur");
7
+ const expo_blur_1 = require("expo-blur");
8
8
  const native_1 = __importDefault(require("styled-components/native"));
9
9
  const ui_components_core_1 = require("@sphereon/ui-components.core");
10
10
  exports.SSIAlphaContainerStyled = native_1.default.View `
11
11
  flex: 1;
12
12
  background-color: rgba(0, 0, 0, 0.2);
13
13
  `;
14
- exports.SSIBlurredContainerStyled = (0, native_1.default)(blur_1.BlurView).attrs({
15
- blurType: 'light',
16
- blurAmount: 3,
14
+ exports.SSIBlurredContainerStyled = (0, native_1.default)(expo_blur_1.BlurView).attrs({
15
+ tint: 'light',
16
+ intensity: 15,
17
17
  }) `
18
18
  flex: 1;
19
- background-color: rgba(255, 255, 255, 0.25);
20
19
  `;
21
20
  exports.SSIFlexDirectionRowViewStyled = native_1.default.View `
22
21
  flex-direction: row;
@@ -1,16 +1,15 @@
1
- /// <reference types="react" />
2
1
  import { LinearGradient } from 'expo-linear-gradient';
3
2
  export declare const SSILinearGradientStyled: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").Substitute<import("react-native").ViewProps & {
4
3
  colors: readonly string[];
5
- locations?: readonly number[] | null | undefined;
6
- start?: import("expo-linear-gradient").LinearGradientPoint | null | undefined;
7
- end?: import("expo-linear-gradient").LinearGradientPoint | null | undefined;
8
- dither?: boolean | undefined;
4
+ locations?: readonly number[] | null;
5
+ start?: import("expo-linear-gradient").LinearGradientPoint | null;
6
+ end?: import("expo-linear-gradient").LinearGradientPoint | null;
7
+ dither?: boolean;
9
8
  } & import("react").RefAttributes<LinearGradient>, import("react-native").ViewProps & {
10
9
  colors: readonly string[];
11
- locations?: readonly number[] | null | undefined;
12
- start?: import("expo-linear-gradient").LinearGradientPoint | null | undefined;
13
- end?: import("expo-linear-gradient").LinearGradientPoint | null | undefined;
14
- dither?: boolean | undefined;
10
+ locations?: readonly number[] | null;
11
+ start?: import("expo-linear-gradient").LinearGradientPoint | null;
12
+ end?: import("expo-linear-gradient").LinearGradientPoint | null;
13
+ dither?: boolean;
15
14
  } & import("react").RefAttributes<LinearGradient>>, never>, never>>;
16
15
  export declare const SSIRoundedLinearGradient: typeof SSILinearGradientStyled;
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.154+4dc9fea",
4
+ "version": "0.4.1-next.179+216c7c7",
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>",
@@ -28,9 +28,9 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@react-native-community/blur": "^4.4.1",
32
31
  "@react-native-masked-view/masked-view": "^0.3.2",
33
- "@sphereon/ui-components.core": "0.4.1-next.154+4dc9fea",
32
+ "@sphereon/ui-components.core": "0.4.1-next.179+216c7c7",
33
+ "expo-blur": "^15.0.8",
34
34
  "expo-linear-gradient": "~13.0.2",
35
35
  "react-native-fast-image": "^8.6.3",
36
36
  "react-native-size-matters": "^0.4.2",
@@ -40,11 +40,11 @@
40
40
  "devDependencies": {
41
41
  "@types/react": "~18.3.18",
42
42
  "expo": "^51.0.22",
43
- "typescript": "~5.3.3"
43
+ "typescript": "~5.8.3"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">= 18.2",
47
47
  "react-native": "~0.74.3"
48
48
  },
49
- "gitHead": "4dc9fea5acbcbdcca8c4a8ff9107f5af1899ba11"
49
+ "gitHead": "216c7c7dd49b3f1ed6048ed17f746d5b477682da"
50
50
  }