@sphereon/ui-components.ssi-react-native 0.2.1-unstable.8 → 0.2.1-unstable.86

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 (48) hide show
  1. package/LICENSE +201 -636
  2. package/package.json +12 -14
  3. package/dist/components/assets/badges/SSICheckmarkBadge/index.d.ts +0 -9
  4. package/dist/components/assets/badges/SSICheckmarkBadge/index.js +0 -14
  5. package/dist/components/assets/badges/SSIExclamationMarkBadge/index.d.ts +0 -9
  6. package/dist/components/assets/badges/SSIExclamationMarkBadge/index.js +0 -14
  7. package/dist/components/assets/logos/SSILogo/index.d.ts +0 -11
  8. package/dist/components/assets/logos/SSILogo/index.js +0 -14
  9. package/dist/components/assets/logos/SSIPlaceholderLogo/index.d.ts +0 -9
  10. package/dist/components/assets/logos/SSIPlaceholderLogo/index.js +0 -18
  11. package/dist/components/buttons/PrimaryButton/index.d.ts +0 -12
  12. package/dist/components/buttons/PrimaryButton/index.js +0 -18
  13. package/dist/components/buttons/SecondaryButton/index.d.ts +0 -12
  14. package/dist/components/buttons/SecondaryButton/index.js +0 -23
  15. package/dist/components/indicators/SSIActivityIndicator/index.d.ts +0 -9
  16. package/dist/components/indicators/SSIActivityIndicator/index.js +0 -8
  17. package/dist/components/labels/SSIStatusLabel/index.d.ts +0 -11
  18. package/dist/components/labels/SSIStatusLabel/index.js +0 -29
  19. package/dist/components/views/SSICredentialCardView/index.d.ts +0 -33
  20. package/dist/components/views/SSICredentialCardView/index.js +0 -60
  21. package/dist/components/views/SSICredentialMiniCardView/index.d.ts +0 -12
  22. package/dist/components/views/SSICredentialMiniCardView/index.js +0 -11
  23. package/dist/index.d.ts +0 -12
  24. package/dist/index.js +0 -12
  25. package/dist/styles/components/buttons/index.d.ts +0 -13
  26. package/dist/styles/components/buttons/index.js +0 -10
  27. package/dist/styles/components/components/SSICredentialCardView/index.d.ts +0 -18
  28. package/dist/styles/components/components/SSICredentialCardView/index.js +0 -57
  29. package/dist/styles/components/components/SSICredentialMiniCardView/index.d.ts +0 -6
  30. package/dist/styles/components/components/SSICredentialMiniCardView/index.js +0 -15
  31. package/dist/styles/components/components/SSIStatusLabel/index.d.ts +0 -4
  32. package/dist/styles/components/components/SSIStatusLabel/index.js +0 -21
  33. package/dist/styles/components/components/SecondaryButton/index.d.ts +0 -13
  34. package/dist/styles/components/components/SecondaryButton/index.js +0 -14
  35. package/dist/styles/components/components/index.d.ts +0 -4
  36. package/dist/styles/components/components/index.js +0 -4
  37. package/dist/styles/components/containers/index.d.ts +0 -9
  38. package/dist/styles/components/containers/index.js +0 -21
  39. package/dist/styles/components/index.d.ts +0 -3
  40. package/dist/styles/components/index.js +0 -3
  41. package/dist/styles/fonts/index.d.ts +0 -13
  42. package/dist/styles/fonts/index.js +0 -63
  43. package/dist/styles/gradients/index.d.ts +0 -23
  44. package/dist/styles/gradients/index.js +0 -11
  45. package/dist/styles/index.d.ts +0 -4
  46. package/dist/styles/index.js +0 -4
  47. package/dist/styles/typography.d.ts +0 -4
  48. package/dist/styles/typography.js +0 -105
@@ -1,14 +0,0 @@
1
- import styled from 'styled-components/native';
2
- import { SSILinearGradientStyled } from '../../../gradients';
3
- export const SecondaryButtonMaskContainerStyled = styled.View `
4
- background-color: transparent;
5
- flex: 1;
6
- border-width: 1px;
7
- border-radius: 8px;
8
- align-items: center;
9
- justify-content: center;
10
- `;
11
- export const SecondaryButtonLinearGradientStyled = styled(SSILinearGradientStyled) `
12
- align-items: center;
13
- justify-content: center;
14
- `;
@@ -1,4 +0,0 @@
1
- export * from './SSICredentialCardView';
2
- export * from './SSICredentialMiniCardView';
3
- export * from './SSIStatusLabel';
4
- export * from './SecondaryButton';
@@ -1,4 +0,0 @@
1
- export * from './SSICredentialCardView';
2
- export * from './SSICredentialMiniCardView';
3
- export * from './SSIStatusLabel';
4
- export * from './SecondaryButton';
@@ -1,9 +0,0 @@
1
- /// <reference types="styled-components-react-native" />
2
- /// <reference types="react" />
3
- export declare const SSIAlphaContainerStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").View, import("styled-components").DefaultTheme, {}, never>;
4
- export declare const SSIBlurredContainerStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@react-native-community/blur").BlurViewProps & import("react").RefAttributes<import("react-native/types/index").View>>, any, {
5
- blurType: "light";
6
- blurAmount: 3;
7
- }, "blurType" | "blurAmount">;
8
- export declare const SSIFlexDirectionRowViewStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").View, import("styled-components").DefaultTheme, {}, never>;
9
- export declare const SSIRoundedContainerStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").View, import("styled-components").DefaultTheme, {}, never>;
@@ -1,21 +0,0 @@
1
- import { BlurView } from '@react-native-community/blur';
2
- import styled from 'styled-components/native';
3
- import { SSIRoundedEdgesCss } from '@sphereon/ui-components.core';
4
- export const SSIAlphaContainerStyled = styled.View `
5
- flex: 1;
6
- background-color: rgba(0, 0, 0, 0.2);
7
- `;
8
- export const SSIBlurredContainerStyled = styled(BlurView).attrs({
9
- blurType: 'light',
10
- blurAmount: 3,
11
- }) `
12
- flex: 1;
13
- background-color: rgba(255, 255, 255, 0.25);
14
- `;
15
- export const SSIFlexDirectionRowViewStyled = styled.View `
16
- flex-direction: row;
17
- `;
18
- export const SSIRoundedContainerStyled = styled.View `
19
- ${SSIRoundedEdgesCss};
20
- overflow: hidden;
21
- `;
@@ -1,3 +0,0 @@
1
- export * from './containers';
2
- export * from './components';
3
- export * from './buttons';
@@ -1,3 +0,0 @@
1
- export * from './containers';
2
- export * from './components';
3
- export * from './buttons';
@@ -1,13 +0,0 @@
1
- /// <reference types="styled-components-react-native" />
2
- export declare const SSITextH2Styled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, import("styled-components").DefaultTheme, {}, never>;
3
- export declare const SSITextH2LightStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, any, {}, never>;
4
- export declare const SSITextH2SecondaryButtonStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, any, {}, never>;
5
- export declare const SSITextH4Styled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, import("styled-components").DefaultTheme, {}, never>;
6
- export declare const SSITextH4SemiBoldStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, import("styled-components").DefaultTheme, {}, never>;
7
- export declare const SSITextH4LightStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, any, {}, never>;
8
- export declare const SSITextH4SemiBoldLightStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, any, {}, never>;
9
- export declare const SSITextH5Styled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, import("styled-components").DefaultTheme, {}, never>;
10
- export declare const SSITextH5LightStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, any, {}, never>;
11
- export declare const SSITextH6Styled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, import("styled-components").DefaultTheme, {}, never>;
12
- export declare const SSITextH6LightStyled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, any, {}, never>;
13
- export declare const Text64Styled: import("styled-components").StyledComponent<typeof import("react-native/types/index").Text, import("styled-components").DefaultTheme, {}, never>;
@@ -1,63 +0,0 @@
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;
9
- height: auto;
10
- `;
11
- export const SSITextH2LightStyled = styled(SSITextH2Styled) `
12
- color: ${fontColors.light};
13
- `;
14
- export const SSITextH2SecondaryButtonStyled = styled(SSITextH2Styled) `
15
- color: ${fontColors.secondaryButton};
16
- `;
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;
22
- height: auto;
23
- `;
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;
29
- height: auto;
30
- `;
31
- export const SSITextH4LightStyled = styled(SSITextH4Styled) `
32
- color: ${fontColors.light};
33
- `;
34
- export const SSITextH4SemiBoldLightStyled = styled(SSITextH4SemiBoldStyled) `
35
- color: ${fontColors.light};
36
- `;
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;
42
- height: auto;
43
- `;
44
- export const SSITextH5LightStyled = styled(SSITextH5Styled) `
45
- color: ${fontColors.light};
46
- `;
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;
52
- height: auto;
53
- `;
54
- export const SSITextH6LightStyled = styled(SSITextH6Styled) `
55
- color: ${fontColors.light};
56
- `;
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;
62
- height: auto;
63
- `;
@@ -1,23 +0,0 @@
1
- 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">;
@@ -1,11 +0,0 @@
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],
6
- start: { x: 1, y: 1 },
7
- end: { x: 0, y: 0 },
8
- })) ``;
9
- export const SSIRoundedLinearGradient = styled(SSILinearGradientStyled) `
10
- ${SSIRoundedEdgesCss}
11
- `;
@@ -1,4 +0,0 @@
1
- export * from './typography';
2
- export * from './components';
3
- export * from './gradients';
4
- export * from './fonts';
@@ -1,4 +0,0 @@
1
- export * from './typography';
2
- export * from './components';
3
- export * from './gradients';
4
- export * from './fonts';
@@ -1,4 +0,0 @@
1
- import { FontStyle, FontSize } from '@sphereon/ui-components.core';
2
- import { TextStyle } from 'react-native';
3
- export declare const fontSize: Record<FontSize, number>;
4
- export declare const fontStyle: Record<FontStyle, TextStyle>;
@@ -1,105 +0,0 @@
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']),
13
- };
14
- export const fontStyle = {
15
- h0SemiBold: {
16
- fontFamily: 'Poppins-SemiBold',
17
- fontSize: fontSize[800],
18
- fontWeight: fontWeight[600],
19
- lineHeight: lineHeight[800],
20
- },
21
- h1SemiBold: {
22
- fontFamily: 'Poppins-SemiBold',
23
- fontSize: fontSize[700],
24
- fontWeight: fontWeight[600],
25
- lineHeight: lineHeight[700],
26
- },
27
- h1Regular: {
28
- fontFamily: 'Poppins-Regular',
29
- fontSize: fontSize[700],
30
- fontWeight: fontWeight[400],
31
- lineHeight: lineHeight[700],
32
- },
33
- h2Regular: {
34
- fontFamily: 'Poppins-Regular',
35
- fontSize: fontSize[600],
36
- fontWeight: fontWeight[400],
37
- lineHeight: lineHeight[600],
38
- },
39
- h2SemiBold: {
40
- fontFamily: 'Poppins-SemiBold',
41
- fontSize: fontSize[600],
42
- fontWeight: fontWeight[600],
43
- lineHeight: lineHeight[600],
44
- },
45
- h3Regular: {
46
- fontFamily: 'Poppins-Regular',
47
- fontSize: fontSize[500],
48
- fontWeight: fontWeight[400],
49
- lineHeight: lineHeight[500],
50
- },
51
- h3SemiBold: {
52
- fontFamily: 'Poppins-SemiBold',
53
- fontSize: fontSize[500],
54
- fontWeight: fontWeight[600],
55
- lineHeight: lineHeight[500],
56
- },
57
- h4Regular: {
58
- fontFamily: 'Poppins-Regular',
59
- fontSize: fontSize[300],
60
- fontWeight: fontWeight[400],
61
- lineHeight: lineHeight[300],
62
- },
63
- h4SemiBold: {
64
- fontFamily: 'Poppins-SemiBold',
65
- fontSize: fontSize[300],
66
- fontWeight: fontWeight[400],
67
- lineHeight: lineHeight[300],
68
- },
69
- h5Regular: {
70
- fontFamily: 'Poppins-Regular',
71
- fontSize: fontSize[200],
72
- fontWeight: fontWeight[400],
73
- lineHeight: lineHeight[200],
74
- },
75
- h5SemiBold: {
76
- fontFamily: 'Poppins-SemiBold',
77
- fontSize: fontSize[200],
78
- fontWeight: fontWeight[600],
79
- lineHeight: lineHeight[200],
80
- },
81
- h6: {
82
- fontFamily: 'Poppins',
83
- fontSize: fontSize[100],
84
- fontWeight: fontWeight[400],
85
- lineHeight: lineHeight[100],
86
- },
87
- h7Regular: {
88
- fontFamily: 'Poppins',
89
- fontSize: fontSize[400],
90
- fontWeight: fontWeight[400],
91
- lineHeight: lineHeight[400],
92
- },
93
- h7SemiBold: {
94
- fontFamily: 'Poppins-SemiBold',
95
- fontSize: fontSize[400],
96
- fontWeight: fontWeight[600],
97
- lineHeight: lineHeight[400],
98
- },
99
- Regular64: {
100
- fontFamily: 'Poppins',
101
- fontSize: fontSize[64],
102
- fontWeight: fontWeight[600],
103
- lineHeight: lineHeight[64],
104
- },
105
- };