@sphereon/ui-components.ssi-react-native 0.2.1-unstable.97 → 0.3.1-unstable.3

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.
Files changed (32) hide show
  1. package/dist/components/assets/badges/SSICheckmarkBadge/index.js +40 -12
  2. package/dist/components/assets/badges/SSIExclamationMarkBadge/index.js +40 -12
  3. package/dist/components/assets/logos/SSILogo/index.js +15 -10
  4. package/dist/components/assets/logos/SSIPlaceholderLogo/index.js +44 -16
  5. package/dist/components/buttons/PrimaryButton/index.js +16 -11
  6. package/dist/components/buttons/SecondaryButton/index.js +18 -14
  7. package/dist/components/indicators/SSIActivityIndicator/index.js +11 -6
  8. package/dist/components/labels/SSIStatusLabel/index.js +25 -20
  9. package/dist/components/views/SSICredentialCardView/index.js +52 -47
  10. package/dist/components/views/SSICredentialMiniCardView/index.js +14 -9
  11. package/dist/index.js +41 -12
  12. package/dist/styles/components/buttons/index.d.ts +17 -12
  13. package/dist/styles/components/buttons/index.js +13 -6
  14. package/dist/styles/components/components/SSICredentialCardView/index.d.ts +14 -17
  15. package/dist/styles/components/components/SSICredentialCardView/index.js +24 -18
  16. package/dist/styles/components/components/SSICredentialMiniCardView/index.d.ts +2 -5
  17. package/dist/styles/components/components/SSICredentialMiniCardView/index.js +10 -4
  18. package/dist/styles/components/components/SSIStatusLabel/index.d.ts +3 -4
  19. package/dist/styles/components/components/SSIStatusLabel/index.js +12 -6
  20. package/dist/styles/components/components/SecondaryButton/index.d.ts +19 -13
  21. package/dist/styles/components/components/SecondaryButton/index.js +20 -6
  22. package/dist/styles/components/components/index.js +20 -4
  23. package/dist/styles/components/containers/index.d.ts +36 -8
  24. package/dist/styles/components/containers/index.js +14 -8
  25. package/dist/styles/components/index.js +19 -3
  26. package/dist/styles/fonts/index.d.ts +21 -13
  27. package/dist/styles/fonts/index.js +98 -45
  28. package/dist/styles/gradients/index.d.ts +29 -22
  29. package/dist/styles/gradients/index.js +13 -7
  30. package/dist/styles/index.js +20 -4
  31. package/dist/styles/typography.js +64 -61
  32. package/package.json +12 -14
@@ -1,63 +1,116 @@
1
- import styled from 'styled-components/native';
2
- import { fontColors } from '@sphereon/ui-components.core';
3
- import { fontStyle } from '../typography';
4
- export const SSITextH2Styled = styled.Text `
5
- font-family: ${fontStyle.h2Regular.fontFamily};
6
- font-size: ${fontStyle.h2Regular.fontSize}px;
7
- font-weight: ${fontStyle.h2Regular.fontWeight};
8
- line-height: ${fontStyle.h2Regular.lineHeight}px;
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SSITextH7LightStyled = exports.SSITextH7Styled = exports.Text64Styled = exports.SSITextH6LightStyled = exports.SSITextH6Styled = exports.SSITextH5LightStyled = exports.SSITextH5Styled = exports.SSITextH4SemiBoldLightStyled = exports.SSITextH4LightStyled = exports.SSITextH4SemiBoldStyled = exports.SSITextH4Styled = exports.SSITextH3SemiBoldStyled = exports.SSITextH3LightStyled = exports.SSITextH3Styled = exports.SSITextH2SecondaryButtonStyled = exports.SSITextH2SemiBoldLightStyled = exports.SSITextH2SemiBoldStyled = exports.SSITextH2LightStyled = exports.SSITextH2Styled = exports.SSITextH1SemiBoldLightStyled = exports.SSITextH1SemiBoldStyled = void 0;
7
+ const native_1 = __importDefault(require("styled-components/native"));
8
+ const ui_components_core_1 = require("@sphereon/ui-components.core");
9
+ const typography_1 = require("../typography");
10
+ exports.SSITextH1SemiBoldStyled = native_1.default.Text `
11
+ font-family: ${typography_1.fontStyle.h1SemiBold.fontFamily};
12
+ font-size: ${typography_1.fontStyle.h1SemiBold.fontSize}px;
13
+ font-weight: ${typography_1.fontStyle.h1SemiBold.fontWeight};
14
+ line-height: ${typography_1.fontStyle.h1SemiBold.lineHeight}px;
9
15
  height: auto;
10
16
  `;
11
- export const SSITextH2LightStyled = styled(SSITextH2Styled) `
12
- color: ${fontColors.light};
17
+ exports.SSITextH1SemiBoldLightStyled = (0, native_1.default)(exports.SSITextH1SemiBoldStyled) `
18
+ color: ${ui_components_core_1.fontColors.light};
13
19
  `;
14
- export const SSITextH2SecondaryButtonStyled = styled(SSITextH2Styled) `
15
- color: ${fontColors.secondaryButton};
20
+ exports.SSITextH2Styled = native_1.default.Text `
21
+ font-family: ${typography_1.fontStyle.h2Regular.fontFamily};
22
+ font-size: ${typography_1.fontStyle.h2Regular.fontSize}px;
23
+ font-weight: ${typography_1.fontStyle.h2Regular.fontWeight};
24
+ line-height: ${typography_1.fontStyle.h2Regular.lineHeight}px;
25
+ height: auto;
26
+ `;
27
+ exports.SSITextH2LightStyled = (0, native_1.default)(exports.SSITextH2Styled) `
28
+ color: ${ui_components_core_1.fontColors.light};
29
+ `;
30
+ exports.SSITextH2SemiBoldStyled = native_1.default.Text `
31
+ font-family: ${typography_1.fontStyle.h2SemiBold.fontFamily};
32
+ font-size: ${typography_1.fontStyle.h2SemiBold.fontSize}px;
33
+ font-weight: ${typography_1.fontStyle.h2SemiBold.fontWeight};
34
+ line-height: ${typography_1.fontStyle.h2SemiBold.lineHeight}px;
35
+ height: auto;
36
+ `;
37
+ exports.SSITextH2SemiBoldLightStyled = (0, native_1.default)(exports.SSITextH2SemiBoldStyled) `
38
+ color: ${ui_components_core_1.fontColors.light};
39
+ `;
40
+ exports.SSITextH2SecondaryButtonStyled = (0, native_1.default)(exports.SSITextH2Styled) `
41
+ color: ${ui_components_core_1.fontColors.secondaryButton};
42
+ `;
43
+ exports.SSITextH3Styled = native_1.default.Text `
44
+ font-family: ${typography_1.fontStyle.h3Regular.fontFamily};
45
+ font-size: ${typography_1.fontStyle.h3Regular.fontSize}px;
46
+ font-weight: ${typography_1.fontStyle.h3Regular.fontWeight};
47
+ line-height: ${typography_1.fontStyle.h3Regular.lineHeight}px;
48
+ height: auto;
49
+ `;
50
+ exports.SSITextH3LightStyled = (0, native_1.default)(exports.SSITextH3Styled) `
51
+ color: ${ui_components_core_1.fontColors.light};
52
+ `;
53
+ exports.SSITextH3SemiBoldStyled = native_1.default.Text `
54
+ font-family: ${typography_1.fontStyle.h3SemiBold.fontFamily};
55
+ font-size: ${typography_1.fontStyle.h3SemiBold.fontSize}px;
56
+ font-weight: ${typography_1.fontStyle.h3SemiBold.fontWeight};
57
+ line-height: ${typography_1.fontStyle.h3SemiBold.lineHeight}px;
58
+ height: auto;
16
59
  `;
17
- export const SSITextH4Styled = styled.Text `
18
- font-family: ${fontStyle.h4Regular.fontFamily};
19
- font-size: ${fontStyle.h4Regular.fontSize}px;
20
- font-weight: ${fontStyle.h4Regular.fontWeight};
21
- line-height: ${fontStyle.h4Regular.lineHeight}px;
60
+ exports.SSITextH4Styled = native_1.default.Text `
61
+ font-family: ${typography_1.fontStyle.h4Regular.fontFamily};
62
+ font-size: ${typography_1.fontStyle.h4Regular.fontSize}px;
63
+ font-weight: ${typography_1.fontStyle.h4Regular.fontWeight};
64
+ line-height: ${typography_1.fontStyle.h4Regular.lineHeight}px;
22
65
  height: auto;
23
66
  `;
24
- export const SSITextH4SemiBoldStyled = styled.Text `
25
- font-family: ${fontStyle.h4SemiBold.fontFamily};
26
- font-size: ${fontStyle.h4SemiBold.fontSize}px;
27
- font-weight: ${fontStyle.h4SemiBold.fontWeight};
28
- line-height: ${fontStyle.h4SemiBold.lineHeight}px;
67
+ exports.SSITextH4SemiBoldStyled = native_1.default.Text `
68
+ font-family: ${typography_1.fontStyle.h4SemiBold.fontFamily};
69
+ font-size: ${typography_1.fontStyle.h4SemiBold.fontSize}px;
70
+ font-weight: ${typography_1.fontStyle.h4SemiBold.fontWeight};
71
+ line-height: ${typography_1.fontStyle.h4SemiBold.lineHeight}px;
29
72
  height: auto;
30
73
  `;
31
- export const SSITextH4LightStyled = styled(SSITextH4Styled) `
32
- color: ${fontColors.light};
74
+ exports.SSITextH4LightStyled = (0, native_1.default)(exports.SSITextH4Styled) `
75
+ color: ${ui_components_core_1.fontColors.light};
33
76
  `;
34
- export const SSITextH4SemiBoldLightStyled = styled(SSITextH4SemiBoldStyled) `
35
- color: ${fontColors.light};
77
+ exports.SSITextH4SemiBoldLightStyled = (0, native_1.default)(exports.SSITextH4SemiBoldStyled) `
78
+ color: ${ui_components_core_1.fontColors.light};
36
79
  `;
37
- export const SSITextH5Styled = styled.Text `
38
- font-family: ${fontStyle.h5Regular.fontFamily};
39
- font-size: ${fontStyle.h5Regular.fontSize}px;
40
- font-weight: ${fontStyle.h5Regular.fontWeight};
41
- line-height: ${fontStyle.h5Regular.lineHeight}px;
80
+ exports.SSITextH5Styled = native_1.default.Text `
81
+ font-family: ${typography_1.fontStyle.h5Regular.fontFamily};
82
+ font-size: ${typography_1.fontStyle.h5Regular.fontSize}px;
83
+ font-weight: ${typography_1.fontStyle.h5Regular.fontWeight};
84
+ line-height: ${typography_1.fontStyle.h5Regular.lineHeight}px;
42
85
  height: auto;
43
86
  `;
44
- export const SSITextH5LightStyled = styled(SSITextH5Styled) `
45
- color: ${fontColors.light};
87
+ exports.SSITextH5LightStyled = (0, native_1.default)(exports.SSITextH5Styled) `
88
+ color: ${ui_components_core_1.fontColors.light};
46
89
  `;
47
- export const SSITextH6Styled = styled.Text `
48
- font-family: ${fontStyle.h6.fontFamily};
49
- font-size: ${fontStyle.h6.fontSize}px;
50
- font-weight: ${fontStyle.h6.fontWeight};
51
- line-height: ${fontStyle.h6.lineHeight}px;
90
+ exports.SSITextH6Styled = native_1.default.Text `
91
+ font-family: ${typography_1.fontStyle.h6.fontFamily};
92
+ font-size: ${typography_1.fontStyle.h6.fontSize}px;
93
+ font-weight: ${typography_1.fontStyle.h6.fontWeight};
94
+ line-height: ${typography_1.fontStyle.h6.lineHeight}px;
52
95
  height: auto;
53
96
  `;
54
- export const SSITextH6LightStyled = styled(SSITextH6Styled) `
55
- color: ${fontColors.light};
97
+ exports.SSITextH6LightStyled = (0, native_1.default)(exports.SSITextH6Styled) `
98
+ color: ${ui_components_core_1.fontColors.light};
56
99
  `;
57
- export const Text64Styled = styled.Text `
58
- font-family: ${fontStyle.Regular64.fontFamily};
59
- font-size: ${fontStyle.Regular64.fontSize}px;
60
- font-weight: ${fontStyle.Regular64.fontWeight};
61
- line-height: ${fontStyle.Regular64.lineHeight}px;
100
+ exports.Text64Styled = native_1.default.Text `
101
+ font-family: ${typography_1.fontStyle.Regular64.fontFamily};
102
+ font-size: ${typography_1.fontStyle.Regular64.fontSize}px;
103
+ font-weight: ${typography_1.fontStyle.Regular64.fontWeight};
104
+ line-height: ${typography_1.fontStyle.Regular64.lineHeight}px;
62
105
  height: auto;
63
106
  `;
107
+ exports.SSITextH7Styled = native_1.default.Text `
108
+ font-family: ${typography_1.fontStyle.h7Regular.fontFamily};
109
+ font-size: ${typography_1.fontStyle.h7Regular.fontSize}px;
110
+ font-weight: ${typography_1.fontStyle.h7Regular.fontWeight};
111
+ line-height: ${typography_1.fontStyle.h7Regular.lineHeight}px;
112
+ height: auto;
113
+ `;
114
+ exports.SSITextH7LightStyled = (0, native_1.default)(exports.SSITextH7Styled) `
115
+ color: ${ui_components_core_1.fontColors.light};
116
+ `;
@@ -1,23 +1,30 @@
1
+ /// <reference types="react" />
1
2
  import { LinearGradient } from 'expo-linear-gradient';
2
- export declare const SSILinearGradientStyled: import("styled-components").StyledComponent<typeof LinearGradient, any, {
3
- colors: string[];
4
- start: {
5
- x: number;
6
- y: number;
7
- };
8
- end: {
9
- x: number;
10
- y: number;
11
- };
12
- }, "end" | "start" | "colors">;
13
- export declare const SSIRoundedLinearGradient: import("styled-components").StyledComponent<typeof LinearGradient, any, {
14
- colors: string[];
15
- start: {
16
- x: number;
17
- y: number;
18
- };
19
- end: {
20
- x: number;
21
- y: number;
22
- };
23
- }, "end" | "start" | "colors">;
3
+ export declare const SSILinearGradientStyled: import("styled-components/native").IStyledComponent<"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
+ 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;
9
+ } & import("react").RefAttributes<LinearGradient>, import("react-native").ViewProps & {
10
+ 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;
15
+ } & import("react").RefAttributes<LinearGradient>>, never>, never>>;
16
+ export declare const SSIRoundedLinearGradient: import("styled-components/native").IStyledComponent<"native", import("styled-components/native/dist/types").FastOmit<Omit<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 & {
17
+ colors: readonly string[];
18
+ locations?: readonly number[] | null | undefined;
19
+ start?: import("expo-linear-gradient").LinearGradientPoint | null | undefined;
20
+ end?: import("expo-linear-gradient").LinearGradientPoint | null | undefined;
21
+ dither?: boolean | undefined;
22
+ } & import("react").RefAttributes<LinearGradient>, import("react-native").ViewProps & {
23
+ colors: readonly string[];
24
+ locations?: readonly number[] | null | undefined;
25
+ start?: import("expo-linear-gradient").LinearGradientPoint | null | undefined;
26
+ end?: import("expo-linear-gradient").LinearGradientPoint | null | undefined;
27
+ dither?: boolean | undefined;
28
+ } & import("react").RefAttributes<LinearGradient>>, never>, never>, "ref"> & {
29
+ ref?: ((instance: LinearGradient | null) => void) | import("react").RefObject<LinearGradient> | null | undefined;
30
+ }, never>>;
@@ -1,11 +1,17 @@
1
- import { LinearGradient } from 'expo-linear-gradient';
2
- import styled from 'styled-components/native';
3
- import { gradientsColors, SSIRoundedEdgesCss } from '@sphereon/ui-components.core';
4
- export const SSILinearGradientStyled = styled(LinearGradient).attrs(props => ({
5
- colors: props?.colors ?? [gradientsColors['100'].secondaryColor, gradientsColors['100'].primaryColor],
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SSIRoundedLinearGradient = exports.SSILinearGradientStyled = void 0;
7
+ const expo_linear_gradient_1 = require("expo-linear-gradient");
8
+ const native_1 = __importDefault(require("styled-components/native"));
9
+ const ui_components_core_1 = require("@sphereon/ui-components.core");
10
+ exports.SSILinearGradientStyled = (0, native_1.default)(expo_linear_gradient_1.LinearGradient).attrs(props => ({
11
+ colors: props?.colors ?? [ui_components_core_1.gradientsColors['100'].secondaryColor, ui_components_core_1.gradientsColors['100'].primaryColor],
6
12
  start: { x: 1, y: 1 },
7
13
  end: { x: 0, y: 0 },
8
14
  })) ``;
9
- export const SSIRoundedLinearGradient = styled(SSILinearGradientStyled) `
10
- ${SSIRoundedEdgesCss}
15
+ exports.SSIRoundedLinearGradient = (0, native_1.default)(exports.SSILinearGradientStyled) `
16
+ ${ui_components_core_1.SSIRoundedEdgesCss}
11
17
  `;
@@ -1,4 +1,20 @@
1
- export * from './typography';
2
- export * from './components';
3
- export * from './gradients';
4
- export * from './fonts';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./typography"), exports);
18
+ __exportStar(require("./components"), exports);
19
+ __exportStar(require("./gradients"), exports);
20
+ __exportStar(require("./fonts"), exports);
@@ -1,105 +1,108 @@
1
- import { fontSize as fontSizes, fontWeight, lineHeight } from '@sphereon/ui-components.core';
2
- import { moderateScale } from 'react-native-size-matters';
3
- export const fontSize = {
4
- 100: moderateScale(fontSizes['100']),
5
- 200: moderateScale(fontSizes['200']),
6
- 300: moderateScale(fontSizes['300']),
7
- 400: moderateScale(fontSizes['400']),
8
- 500: moderateScale(fontSizes['500']),
9
- 600: moderateScale(fontSizes['600']),
10
- 700: moderateScale(fontSizes['700']),
11
- 800: moderateScale(fontSizes['800']),
12
- 64: moderateScale(fontSizes['64']),
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fontStyle = exports.fontSize = void 0;
4
+ const ui_components_core_1 = require("@sphereon/ui-components.core");
5
+ const react_native_size_matters_1 = require("react-native-size-matters");
6
+ exports.fontSize = {
7
+ 100: (0, react_native_size_matters_1.moderateScale)(ui_components_core_1.fontSize['100']),
8
+ 200: (0, react_native_size_matters_1.moderateScale)(ui_components_core_1.fontSize['200']),
9
+ 300: (0, react_native_size_matters_1.moderateScale)(ui_components_core_1.fontSize['300']),
10
+ 400: (0, react_native_size_matters_1.moderateScale)(ui_components_core_1.fontSize['400']),
11
+ 500: (0, react_native_size_matters_1.moderateScale)(ui_components_core_1.fontSize['500']),
12
+ 600: (0, react_native_size_matters_1.moderateScale)(ui_components_core_1.fontSize['600']),
13
+ 700: (0, react_native_size_matters_1.moderateScale)(ui_components_core_1.fontSize['700']),
14
+ 800: (0, react_native_size_matters_1.moderateScale)(ui_components_core_1.fontSize['800']),
15
+ 64: (0, react_native_size_matters_1.moderateScale)(ui_components_core_1.fontSize['64']),
13
16
  };
14
- export const fontStyle = {
17
+ exports.fontStyle = {
15
18
  h0SemiBold: {
16
19
  fontFamily: 'Poppins-SemiBold',
17
- fontSize: fontSize[800],
18
- fontWeight: fontWeight[600],
19
- lineHeight: lineHeight[800],
20
+ fontSize: exports.fontSize[800],
21
+ fontWeight: ui_components_core_1.fontWeight[600],
22
+ lineHeight: ui_components_core_1.lineHeight[800],
20
23
  },
21
24
  h1SemiBold: {
22
25
  fontFamily: 'Poppins-SemiBold',
23
- fontSize: fontSize[700],
24
- fontWeight: fontWeight[600],
25
- lineHeight: lineHeight[700],
26
+ fontSize: exports.fontSize[700],
27
+ fontWeight: ui_components_core_1.fontWeight[600],
28
+ lineHeight: ui_components_core_1.lineHeight[700],
26
29
  },
27
30
  h1Regular: {
28
31
  fontFamily: 'Poppins-Regular',
29
- fontSize: fontSize[700],
30
- fontWeight: fontWeight[400],
31
- lineHeight: lineHeight[700],
32
+ fontSize: exports.fontSize[700],
33
+ fontWeight: ui_components_core_1.fontWeight[400],
34
+ lineHeight: ui_components_core_1.lineHeight[700],
32
35
  },
33
36
  h2Regular: {
34
37
  fontFamily: 'Poppins-Regular',
35
- fontSize: fontSize[600],
36
- fontWeight: fontWeight[400],
37
- lineHeight: lineHeight[600],
38
+ fontSize: exports.fontSize[600],
39
+ fontWeight: ui_components_core_1.fontWeight[400],
40
+ lineHeight: ui_components_core_1.lineHeight[600],
38
41
  },
39
42
  h2SemiBold: {
40
43
  fontFamily: 'Poppins-SemiBold',
41
- fontSize: fontSize[600],
42
- fontWeight: fontWeight[600],
43
- lineHeight: lineHeight[600],
44
+ fontSize: exports.fontSize[600],
45
+ fontWeight: ui_components_core_1.fontWeight[600],
46
+ lineHeight: ui_components_core_1.lineHeight[600],
44
47
  },
45
48
  h3Regular: {
46
49
  fontFamily: 'Poppins-Regular',
47
- fontSize: fontSize[500],
48
- fontWeight: fontWeight[400],
49
- lineHeight: lineHeight[500],
50
+ fontSize: exports.fontSize[500],
51
+ fontWeight: ui_components_core_1.fontWeight[400],
52
+ lineHeight: ui_components_core_1.lineHeight[500],
50
53
  },
51
54
  h3SemiBold: {
52
55
  fontFamily: 'Poppins-SemiBold',
53
- fontSize: fontSize[500],
54
- fontWeight: fontWeight[600],
55
- lineHeight: lineHeight[500],
56
+ fontSize: exports.fontSize[500],
57
+ fontWeight: ui_components_core_1.fontWeight[600],
58
+ lineHeight: ui_components_core_1.lineHeight[500],
56
59
  },
57
60
  h4Regular: {
58
61
  fontFamily: 'Poppins-Regular',
59
- fontSize: fontSize[300],
60
- fontWeight: fontWeight[400],
61
- lineHeight: lineHeight[300],
62
+ fontSize: exports.fontSize[300],
63
+ fontWeight: ui_components_core_1.fontWeight[400],
64
+ lineHeight: ui_components_core_1.lineHeight[300],
62
65
  },
63
66
  h4SemiBold: {
64
67
  fontFamily: 'Poppins-SemiBold',
65
- fontSize: fontSize[300],
66
- fontWeight: fontWeight[400],
67
- lineHeight: lineHeight[300],
68
+ fontSize: exports.fontSize[300],
69
+ fontWeight: ui_components_core_1.fontWeight[400],
70
+ lineHeight: ui_components_core_1.lineHeight[300],
68
71
  },
69
72
  h5Regular: {
70
73
  fontFamily: 'Poppins-Regular',
71
- fontSize: fontSize[200],
72
- fontWeight: fontWeight[400],
73
- lineHeight: lineHeight[200],
74
+ fontSize: exports.fontSize[200],
75
+ fontWeight: ui_components_core_1.fontWeight[400],
76
+ lineHeight: ui_components_core_1.lineHeight[200],
74
77
  },
75
78
  h5SemiBold: {
76
79
  fontFamily: 'Poppins-SemiBold',
77
- fontSize: fontSize[200],
78
- fontWeight: fontWeight[600],
79
- lineHeight: lineHeight[200],
80
+ fontSize: exports.fontSize[200],
81
+ fontWeight: ui_components_core_1.fontWeight[600],
82
+ lineHeight: ui_components_core_1.lineHeight[200],
80
83
  },
81
84
  h6: {
82
- fontFamily: 'Poppins',
83
- fontSize: fontSize[100],
84
- fontWeight: fontWeight[400],
85
- lineHeight: lineHeight[100],
85
+ fontFamily: 'Poppins-Regular',
86
+ fontSize: exports.fontSize[100],
87
+ fontWeight: ui_components_core_1.fontWeight[400],
88
+ lineHeight: ui_components_core_1.lineHeight[100],
86
89
  },
87
90
  h7Regular: {
88
- fontFamily: 'Poppins',
89
- fontSize: fontSize[400],
90
- fontWeight: fontWeight[400],
91
- lineHeight: lineHeight[400],
91
+ fontFamily: 'Poppins-Regular',
92
+ fontSize: exports.fontSize[400],
93
+ fontWeight: ui_components_core_1.fontWeight[400],
94
+ lineHeight: ui_components_core_1.lineHeight[400],
92
95
  },
93
96
  h7SemiBold: {
94
97
  fontFamily: 'Poppins-SemiBold',
95
- fontSize: fontSize[400],
96
- fontWeight: fontWeight[600],
97
- lineHeight: lineHeight[400],
98
+ fontSize: exports.fontSize[400],
99
+ fontWeight: ui_components_core_1.fontWeight[600],
100
+ lineHeight: ui_components_core_1.lineHeight[400],
98
101
  },
99
102
  Regular64: {
100
- fontFamily: 'Poppins',
101
- fontSize: fontSize[64],
102
- fontWeight: fontWeight[600],
103
- lineHeight: lineHeight[64],
103
+ fontFamily: 'Poppins-Regular',
104
+ fontSize: exports.fontSize[64],
105
+ fontWeight: ui_components_core_1.fontWeight[600],
106
+ lineHeight: ui_components_core_1.lineHeight[64],
104
107
  },
105
108
  };
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.2.1-unstable.97+d6159f8",
4
+ "version": "0.3.1-unstable.3+9660c06",
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,24 +29,22 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@react-native-community/blur": "^4.4.0",
32
- "@react-native-masked-view/masked-view": "0.3.1",
33
- "@sphereon/ui-components.core": "0.2.1-unstable.97+d6159f8",
34
- "expo-linear-gradient": "~12.7.2",
32
+ "@react-native-masked-view/masked-view": "^0.3.1",
33
+ "@sphereon/ui-components.core": "0.3.1-unstable.3+9660c06",
34
+ "expo-linear-gradient": "~13.0.2",
35
35
  "react-native-fast-image": "^8.6.3",
36
- "react-native-size-matters": "^0.4.0",
37
- "react-native-svg": "14.1.0",
38
- "styled-components": "^5.3.3"
36
+ "react-native-size-matters": "^0.4.2",
37
+ "react-native-svg": "15.2.0",
38
+ "styled-components": "^6.1.12"
39
39
  },
40
40
  "devDependencies": {
41
- "@types/react": "~18.2.67",
42
- "@types/react-native": "0.73.0",
43
- "@types/styled-components": "^5.1.15",
44
- "@types/styled-components-react-native": "^5.1.2",
45
- "typescript": "4.9.5"
41
+ "@types/react": "~18.2.79",
42
+ "expo": "^51.0.22",
43
+ "typescript": "~5.3.3"
46
44
  },
47
45
  "peerDependencies": {
48
46
  "react": ">= 18",
49
- "react-native": "~0.73.6"
47
+ "react-native": "~0.74.3"
50
48
  },
51
- "gitHead": "d6159f8321e6f081a83d11c895e607100e6e08bd"
49
+ "gitHead": "9660c060024b8c03e1596043d1259d08eb7d0d14"
52
50
  }