@gataca/design-system 0.4.15 → 1.0.17

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 (28) hide show
  1. package/dist/components/index.native.d.ts +1 -0
  2. package/dist/components/index.web.d.ts +1 -0
  3. package/dist/components/native/Buttons/Button/Button.config.native.d.ts +1 -1
  4. package/dist/components/native/Cards/MiniCredential/miniCredential_styles.native.d.ts +41 -1
  5. package/dist/components/native/Cards/MiniCredential/miniCredential_types.native.d.ts +4 -0
  6. package/dist/components/native/Chips/Chip/Chip.config.native.d.ts +34 -0
  7. package/dist/components/native/Chips/Chip/Chip.types.native.d.ts +1 -1
  8. package/dist/components/native/Headings/StatusHeadingContainer/StatusHeadingContainer.native.d.ts +4 -0
  9. package/dist/components/native/Headings/StatusHeadingContainer/StatusHeadingContainer_styles.native.d.ts +16 -0
  10. package/dist/components/native/Headings/StatusHeadingContainer/StatusHeadingContainer_types.native.d.ts +18 -0
  11. package/dist/components/native/Headings/StatusHeadingContainer/index.native.d.ts +2 -0
  12. package/dist/components/native/Lists/List/list_types.native.d.ts +3 -0
  13. package/dist/components/native/TopAppBar/TopDrawerBar/topDrawerBar_styles.native.d.ts +14 -0
  14. package/dist/components/native/TopAppBar/TopDrawerBar/topDrawerBar_types.native.d.ts +1 -0
  15. package/dist/components/web/Cards/MiniCredential/miniCredential_styles.web.d.ts +5 -1
  16. package/dist/components/web/Cards/MiniCredential/miniCredential_types.web.d.ts +4 -0
  17. package/dist/components/web/Chips/Chip/Chip.config.web.d.ts +34 -0
  18. package/dist/components/web/Chips/Chip/Chip.types.web.d.ts +1 -1
  19. package/dist/components/web/Headings/StatusHeadingContainer/StatusHeadingContainer.web.d.ts +4 -0
  20. package/dist/components/web/Headings/StatusHeadingContainer/StatusHeadingContainer_styles.web.d.ts +5 -0
  21. package/dist/components/web/Headings/StatusHeadingContainer/StatusHeadingContainer_types.web.d.ts +19 -0
  22. package/dist/components/web/Headings/StatusHeadingContainer/index.web.d.ts +2 -0
  23. package/dist/components/web/Lists/List/list_types.web.d.ts +3 -0
  24. package/dist/index.native.js +1 -1
  25. package/dist/index.native.js.map +1 -1
  26. package/dist/index.web.js +1 -1
  27. package/dist/index.web.js.map +1 -1
  28. package/package.json +1 -1
@@ -7,6 +7,7 @@ export { default as HeadingAvatarsCard } from './native/Cards/HeadingAvatars/ind
7
7
  export { default as ConsentCard } from './native/Cards/Consent/index.native';
8
8
  export { default as HeadingCredential } from './native/Headings/HeadingCredential/index.native';
9
9
  export { default as HeadingContainer } from './native/Headings/HeadingContainer/index.native';
10
+ export { default as StatusHeadingContainer } from './native/Headings/StatusHeadingContainer/index.native';
10
11
  export { default as Button } from './native/Buttons/Button/index.native';
11
12
  export { default as RoundedButton } from './native/Buttons/RoundedButton/index.native';
12
13
  export { default as ButtonIcon } from './native/Buttons/ButtonIcon/index.native';
@@ -6,6 +6,7 @@ export { default as HeadingAvatarsCard } from './web/Cards/HeadingAvatars/index.
6
6
  export { default as ConsentCard } from './web/Cards/Consent/index.web';
7
7
  export { default as HeadingCredential } from './web/Headings/HeadingCredential/index.web';
8
8
  export { default as HeadingContainer } from './web/Headings/HeadingContainer/index.web';
9
+ export { default as StatusHeadingContainer } from './web/Headings/StatusHeadingContainer/index.web';
9
10
  export { default as Button } from './web/Buttons/Button/index.web';
10
11
  export { default as RoundedButton } from './web/Buttons/RoundedButton/index.web';
11
12
  export { default as ButtonIcon } from './web/Buttons/ButtonIcon/index.web';
@@ -514,7 +514,7 @@ export declare const getButtonMinHeight: (textSize: string, hasIcon?: boolean) =
514
514
  export declare const getButtonContentStyles: (fontStyles: StyleType, colors: ColorsType, color: string, style: string, state: string, textSize: string) => {
515
515
  styles: {
516
516
  lineHeight: number | undefined;
517
- textAlignVertical: string;
517
+ textAlignVertical: "center";
518
518
  color: any;
519
519
  fontFamily?: string;
520
520
  fontSize?: number;
@@ -1,6 +1,6 @@
1
1
  import { ColorsType } from '../../../../styles/Colors';
2
2
  import { StyleType } from '../../../../styles';
3
- export declare const styles: (colors: ColorsType, fontStyles: StyleType, background_color?: string) => {
3
+ export declare const styles: (credIsWhite: boolean, colors: ColorsType, fontStyles: StyleType, background_color?: string, hasIndicator?: boolean, size?: string) => {
4
4
  credCardContainer: {
5
5
  display: "flex";
6
6
  flexDirection: "column";
@@ -9,6 +9,10 @@ export declare const styles: (colors: ColorsType, fontStyles: StyleType, backgro
9
9
  alignSelf: "stretch";
10
10
  width: number;
11
11
  height: number;
12
+ justifyContent: "flex-start" | "flex-end";
13
+ marginRight: number;
14
+ marginTop: number;
15
+ position: "relative";
12
16
  };
13
17
  linearGradientOverlay: {
14
18
  paddingVertical: number;
@@ -16,6 +20,7 @@ export declare const styles: (colors: ColorsType, fontStyles: StyleType, backgro
16
20
  display: "flex";
17
21
  flexDirection: "column";
18
22
  borderRadius: number;
23
+ justifyContent: "flex-start" | "flex-end";
19
24
  width: "100%";
20
25
  height: "100%";
21
26
  alignSelf: "stretch";
@@ -63,6 +68,41 @@ export declare const styles: (colors: ColorsType, fontStyles: StyleType, backgro
63
68
  height: number;
64
69
  resizeMode: "contain";
65
70
  };
71
+ credCardVerifiedIcon: {
72
+ marginLeft: "auto";
73
+ display: "flex";
74
+ alignItems: "flex-start";
75
+ justifyContent: "flex-end";
76
+ };
77
+ credCardIndicator: {
78
+ position: "absolute";
79
+ right: number;
80
+ top: number;
81
+ };
82
+ smallCredLines: {
83
+ display: "flex";
84
+ gap: number;
85
+ flexDirection: "column";
86
+ width: "100%";
87
+ alignSelf: "stretch";
88
+ marginTop: "auto";
89
+ };
90
+ smallCredLinesTop: {
91
+ backgroundColor: string;
92
+ height: number;
93
+ width: number;
94
+ gap: number;
95
+ borderRadius: number;
96
+ opacity: number;
97
+ };
98
+ smallCredLinesBottom: {
99
+ backgroundColor: string;
100
+ height: number;
101
+ width: number;
102
+ gap: number;
103
+ borderRadius: number;
104
+ opacity: number;
105
+ };
66
106
  };
67
107
  export declare const credentialCardShadows: (colors: ColorsType) => {
68
108
  elevation: number;
@@ -1,5 +1,7 @@
1
1
  import { IconSize, IconStyle, ShieldIconSize } from '../../Icons/icon_types';
2
+ import { IndicatorProps } from '../../Indicator/Indicator/indicator_types.native';
2
3
  export type VerifiedIcons = 'error' | 'check';
4
+ export type MiniCredSize = 'medium' | 'small';
3
5
  export declare const verifiedIconMap: {
4
6
  [key in VerifiedIcons]: React.FC<{
5
7
  size: IconSize | ShieldIconSize;
@@ -11,11 +13,13 @@ export declare const verifiedIconMap: {
11
13
  };
12
14
  export type MiniCredentialCardProps = {
13
15
  id?: string;
16
+ size?: MiniCredSize;
14
17
  issuer: {
15
18
  image?: string;
16
19
  name: string;
17
20
  failToLoadImageText?: string;
18
21
  };
22
+ indicator?: IndicatorProps;
19
23
  chip?: {
20
24
  text: string;
21
25
  color?: string;
@@ -320,6 +320,40 @@ export declare const createColorMap: (Colors: ColorsType) => {
320
320
  };
321
321
  };
322
322
  };
323
+ lightPink: {
324
+ filled: {
325
+ enable: {
326
+ backgroundColor: string;
327
+ textColor: string;
328
+ };
329
+ hover: {
330
+ backgroundColor: string;
331
+ textColor: string;
332
+ };
333
+ active: {
334
+ backgroundColor: string;
335
+ textColor: string;
336
+ };
337
+ disable: {
338
+ backgroundColor: string;
339
+ textColor: string;
340
+ };
341
+ };
342
+ outline: {
343
+ enable: {
344
+ textColor: string;
345
+ };
346
+ hover: {
347
+ textColor: string;
348
+ };
349
+ active: {
350
+ textColor: string;
351
+ };
352
+ disable: {
353
+ textColor: string;
354
+ };
355
+ };
356
+ };
323
357
  grey: {
324
358
  filled: {
325
359
  enable: {
@@ -1,5 +1,5 @@
1
1
  import { ParentComponentTooltipProps } from '../../Tooltips/Tooltip/tooltip_types.native';
2
- export type ChipColor = 'yellow' | 'lightYellow' | 'red' | 'grey' | 'white' | 'purple' | 'green' | 'blue' | 'teal' | 'pink' | 'black';
2
+ export type ChipColor = 'yellow' | 'lightYellow' | 'red' | 'grey' | 'white' | 'purple' | 'green' | 'blue' | 'teal' | 'pink' | 'lightPink' | 'black';
3
3
  export type ChipState = 'enable' | 'hover' | 'disable' | 'active';
4
4
  export type ChipStyle = 'outline' | 'filled';
5
5
  export type ChipForm = 'square' | 'round';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { StatusHeadingContainerProps } from './StatusHeadingContainer_types.native';
3
+ declare const StatusHeadingContainer: (props: React.PropsWithChildren<StatusHeadingContainerProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default StatusHeadingContainer;
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ statusHeadingContainer: {
3
+ display: "flex";
4
+ flexDirection: "column";
5
+ gap: number;
6
+ alignItems: "center";
7
+ width: "100%";
8
+ };
9
+ bottomImageContainer: {
10
+ width: "100%";
11
+ paddingVertical: number;
12
+ paddingHorizontal: number;
13
+ borderRadius: number;
14
+ };
15
+ };
16
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { IllustrationProps } from '../../Illustrations/illustrations_types';
2
+ import { HeadingContainerProps } from '../HeadingContainer/HeadingContainer_types.native';
3
+ export interface StatusHeadingContainerProps {
4
+ id?: string;
5
+ swapIllustration: IllustrationProps;
6
+ headingContainer: HeadingContainerProps;
7
+ bottomImage?: {
8
+ source: any;
9
+ id?: string;
10
+ width?: number | string;
11
+ height?: number | string;
12
+ containerStyle?: any;
13
+ resizeMode?: 'cover' | 'contain' | 'stretch' | 'repeat' | 'center' | undefined;
14
+ resizeMethod?: 'auto' | 'resize' | 'scale' | undefined;
15
+ parentContainerStyle?: any;
16
+ };
17
+ containerStyle?: any;
18
+ }
@@ -0,0 +1,2 @@
1
+ import StatusHeadingContainer from './StatusHeadingContainer.native';
2
+ export default StatusHeadingContainer;
@@ -1,9 +1,12 @@
1
+ import { HeadingContainerProps } from '../../Headings/HeadingContainer/HeadingContainer_types.native';
1
2
  import { ListItemProps } from '../ListItem/listItem_types.native';
2
3
  export type ListBg = 'grey' | 'white';
3
4
  export interface ListProps {
4
5
  id?: string;
5
6
  list: ListItemProps[];
6
7
  bgColor?: ListBg;
8
+ spacing?: boolean;
9
+ headingContainer?: HeadingContainerProps;
7
10
  containerStyle?: any;
8
11
  contentContainerStyle?: any;
9
12
  nestedScrollEnabled?: boolean;
@@ -29,5 +29,19 @@ declare const _default: {
29
29
  justifyContent: "flex-start";
30
30
  flexDirection: "row";
31
31
  };
32
+ notchContainer: {
33
+ width: "100%";
34
+ paddingTop: number;
35
+ paddingBottom: number;
36
+ display: "flex";
37
+ justifyContent: "center";
38
+ alignItems: "center";
39
+ };
40
+ notch: {
41
+ width: number;
42
+ height: number;
43
+ borderRadius: number;
44
+ backgroundColor: string;
45
+ };
32
46
  };
33
47
  export default _default;
@@ -5,6 +5,7 @@ export interface TopDrawerBarProps {
5
5
  configuration: TopDrawerBarConfiguration;
6
6
  bg?: boolean;
7
7
  divider?: boolean;
8
+ notch?: boolean;
8
9
  leadingIcon?: {
9
10
  Icon: React.FC<{
10
11
  size: IconSize;
@@ -1,6 +1,6 @@
1
1
  import { ColorsType } from '../../../../styles/Colors';
2
2
  import { StyleType } from '../../../../styles';
3
- export declare const styles: (colors: ColorsType, fontStyles: StyleType, background_color?: string, verifiedIcon?: boolean, hasGradient?: boolean) => {
3
+ export declare const styles: (credIsWhite: boolean, colors: ColorsType, fontStyles: StyleType, background_color?: string, verifiedIcon?: boolean, hasGradient?: boolean, hasIndicator?: boolean, size?: string) => {
4
4
  credCardContainer: React.CSSProperties;
5
5
  linearGradientOverlay: React.CSSProperties;
6
6
  credCardMainContent: React.CSSProperties;
@@ -9,4 +9,8 @@ export declare const styles: (colors: ColorsType, fontStyles: StyleType, backgro
9
9
  credIssuerImageError: React.CSSProperties;
10
10
  credCardIssuerImage: React.CSSProperties;
11
11
  credCardVerifiedIcon: React.CSSProperties;
12
+ credCardIndicator: React.CSSProperties;
13
+ smallCredLines: React.CSSProperties;
14
+ smallCredLinesTop: React.CSSProperties;
15
+ smallCredLinesBottom: React.CSSProperties;
12
16
  };
@@ -1,5 +1,7 @@
1
1
  import { IconSize, IconStyle, ShieldIconSize } from '../../Icons/icon_types';
2
+ import { IndicatorProps } from '../../Indicator/Indicator/indicator_types.web';
2
3
  export type VerifiedIcons = 'error' | 'check';
4
+ export type MiniCredSize = 'medium' | 'small';
3
5
  export declare const verifiedIconMap: {
4
6
  [key in VerifiedIcons]: React.FC<{
5
7
  size: IconSize | ShieldIconSize;
@@ -11,7 +13,9 @@ export declare const verifiedIconMap: {
11
13
  };
12
14
  export type MiniCredentialCardProps = {
13
15
  id?: string;
16
+ size?: MiniCredSize;
14
17
  className?: string;
18
+ indicator?: IndicatorProps;
15
19
  issuer: {
16
20
  image?: string;
17
21
  name: string;
@@ -320,6 +320,40 @@ export declare const createColorMap: (Colors: ColorsType) => {
320
320
  };
321
321
  };
322
322
  };
323
+ lightPink: {
324
+ filled: {
325
+ enable: {
326
+ backgroundColor: string;
327
+ textColor: string;
328
+ };
329
+ hover: {
330
+ backgroundColor: string;
331
+ textColor: string;
332
+ };
333
+ active: {
334
+ backgroundColor: string;
335
+ textColor: string;
336
+ };
337
+ disable: {
338
+ backgroundColor: string;
339
+ textColor: string;
340
+ };
341
+ };
342
+ outline: {
343
+ enable: {
344
+ textColor: string;
345
+ };
346
+ hover: {
347
+ textColor: string;
348
+ };
349
+ active: {
350
+ textColor: string;
351
+ };
352
+ disable: {
353
+ textColor: string;
354
+ };
355
+ };
356
+ };
323
357
  grey: {
324
358
  filled: {
325
359
  enable: {
@@ -1,5 +1,5 @@
1
1
  import { ParentComponentTooltipProps } from '../../Tooltips/Tooltip/tooltip_types.web';
2
- export type ChipColor = 'yellow' | 'lightYellow' | 'red' | 'grey' | 'white' | 'purple' | 'green' | 'blue' | 'teal' | 'pink' | 'black';
2
+ export type ChipColor = 'yellow' | 'lightYellow' | 'red' | 'grey' | 'white' | 'purple' | 'green' | 'blue' | 'teal' | 'pink' | 'lightPink' | 'black';
3
3
  export type ChipState = 'enable' | 'hover' | 'disable' | 'active';
4
4
  export type ChipStyle = 'outline' | 'filled';
5
5
  export type ChipForm = 'square' | 'round';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { StatusHeadingContainerProps } from './StatusHeadingContainer_types.web';
3
+ declare const StatusHeadingContainer: (props: React.PropsWithChildren<StatusHeadingContainerProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default StatusHeadingContainer;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const styles: () => {
3
+ statusHeadingContainer: React.CSSProperties;
4
+ bottomImageContainer: React.CSSProperties;
5
+ };
@@ -0,0 +1,19 @@
1
+ import { IllustrationProps } from '../../Illustrations/illustrations_types';
2
+ import { HeadingContainerProps } from '../HeadingContainer/HeadingContainer_types.web';
3
+ export interface StatusHeadingContainerProps {
4
+ id?: string;
5
+ swapIllustration: IllustrationProps;
6
+ headingContainer: HeadingContainerProps;
7
+ bottomImage?: {
8
+ source: any;
9
+ id?: string;
10
+ width?: number | string;
11
+ height?: number | string;
12
+ containerStyle?: any;
13
+ resizeMode?: 'cover' | 'contain' | 'stretch' | 'repeat' | 'center' | undefined;
14
+ resizeMethod?: 'auto' | 'resize' | 'scale' | undefined;
15
+ parentContainerStyle?: any;
16
+ alt?: string;
17
+ };
18
+ containerStyle?: any;
19
+ }
@@ -0,0 +1,2 @@
1
+ import StatusHeadingContainer from './StatusHeadingContainer.web';
2
+ export default StatusHeadingContainer;
@@ -1,10 +1,13 @@
1
+ import { HeadingContainerProps } from '../../Headings/HeadingContainer/HeadingContainer_types.web';
1
2
  import { ListItemProps } from '../ListItem/listItem_types.web';
2
3
  export type ListBg = 'grey' | 'white';
3
4
  export interface ListProps {
4
5
  id?: string;
5
6
  className?: string;
6
7
  list: ListItemProps[];
8
+ spacing?: boolean;
7
9
  bgColor?: ListBg;
8
10
  borderTop?: boolean;
9
11
  containerStyle?: any;
12
+ headingContainer?: HeadingContainerProps;
10
13
  }