@gataca/design-system 0.4.16 → 0.4.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.
- package/dist/assets/update~SEJFBKXV.png +0 -0
- package/dist/components/index.native.d.ts +2 -0
- package/dist/components/index.web.d.ts +2 -0
- package/dist/components/native/Cards/MiniCredential/miniCredential_styles.native.d.ts +41 -1
- package/dist/components/native/Cards/MiniCredential/miniCredential_types.native.d.ts +4 -0
- package/dist/components/native/Chips/Chip/Chip.config.native.d.ts +34 -0
- package/dist/components/native/Chips/Chip/Chip.types.native.d.ts +1 -1
- package/dist/components/native/Dialog/Dialog/dialog_types.native.d.ts +1 -1
- package/dist/components/native/Drawer/BottomDrawer/bottomDrawer_styles.native.d.ts +0 -14
- package/dist/components/native/Headings/HeadingContainer/HeadingContainer_types.native.d.ts +1 -1
- package/dist/components/native/Headings/StatusHeadingContainer/StatusHeadingContainer.native.d.ts +4 -0
- package/dist/components/native/Headings/StatusHeadingContainer/StatusHeadingContainer_styles.native.d.ts +21 -0
- package/dist/components/native/Headings/StatusHeadingContainer/StatusHeadingContainer_types.native.d.ts +22 -0
- package/dist/components/native/Headings/StatusHeadingContainer/index.native.d.ts +2 -0
- package/dist/components/native/Icons/icons/moreHorizontal.d.ts +8 -0
- package/dist/components/native/Icons/index.native.d.ts +1 -0
- package/dist/components/native/Illustrations/illustrations_types.d.ts +1 -0
- package/dist/components/native/Lists/List/list_types.native.d.ts +3 -0
- package/dist/components/native/Lists/ListItem/listItem.config.native.d.ts +74 -0
- package/dist/components/native/Lists/ListItem/listItem_styles.native.d.ts +0 -10
- package/dist/components/native/Lists/ListItem/listItem_types.native.d.ts +11 -21
- package/dist/components/native/Lists/ListMetaContainer/listMetaContainer_types.native.d.ts +23 -4
- package/dist/components/native/TopAppBar/TopAppBar/topAppBar_types.native.d.ts +11 -3
- package/dist/components/native/TopAppBar/TopDrawerBar/topDrawerBar_styles.native.d.ts +16 -1
- package/dist/components/native/TopAppBar/TopDrawerBar/topDrawerBar_types.native.d.ts +1 -0
- package/dist/components/web/Buttons/RoundedButton/RoundedButton.config.web.d.ts +2 -4
- package/dist/components/web/Cards/MiniCredential/miniCredential_styles.web.d.ts +5 -1
- package/dist/components/web/Cards/MiniCredential/miniCredential_types.web.d.ts +4 -0
- package/dist/components/web/Chips/Chip/Chip.config.web.d.ts +34 -0
- package/dist/components/web/Chips/Chip/Chip.types.web.d.ts +1 -1
- package/dist/components/web/Headings/HeadingContainer/HeadingContainer_types.web.d.ts +1 -1
- package/dist/components/web/Headings/StatusHeadingContainer/StatusHeadingContainer.web.d.ts +4 -0
- package/dist/components/web/Headings/StatusHeadingContainer/StatusHeadingContainer_styles.web.d.ts +5 -0
- package/dist/components/web/Headings/StatusHeadingContainer/StatusHeadingContainer_types.web.d.ts +19 -0
- package/dist/components/web/Headings/StatusHeadingContainer/index.web.d.ts +2 -0
- package/dist/components/web/Icons/icons/moreHorizontal.d.ts +9 -0
- package/dist/components/web/Icons/index.web.d.ts +1 -0
- package/dist/components/web/Lists/List/list_types.web.d.ts +3 -0
- package/dist/components/web/Lists/ListItem/listItem.config.web.d.ts +62 -0
- package/dist/components/web/Lists/ListItem/listItem_styles.web.d.ts +0 -1
- package/dist/components/web/Lists/ListItem/listItem_types.web.d.ts +15 -26
- package/dist/components/web/Lists/ListMetaContainer/listMetaContainer_types.web.d.ts +25 -4
- package/dist/index.native.js +1 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +1 -1
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
|
Binary file
|
|
@@ -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';
|
|
@@ -133,6 +134,7 @@ export { default as MinusIcon } from './native/Icons/icons/minus';
|
|
|
133
134
|
export { default as MoneyIcon } from './native/Icons/icons/money';
|
|
134
135
|
export { default as MonitorIcon } from './native/Icons/icons/monitor';
|
|
135
136
|
export { default as MoreVerticalIcon } from './native/Icons/icons/moreVertical';
|
|
137
|
+
export { default as MoreHorizontalIcon } from './native/Icons/icons/moreHorizontal';
|
|
136
138
|
export { default as PencilIcon } from './native/Icons/icons/pencil';
|
|
137
139
|
export { default as PlayCircleIcon } from './native/Icons/icons/playCircle';
|
|
138
140
|
export { default as PlusSquaresIcon } from './native/Icons/icons/plusSquares';
|
|
@@ -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';
|
|
@@ -127,6 +128,7 @@ export { default as MinusIcon } from './web/Icons/icons/minus';
|
|
|
127
128
|
export { default as MoneyIcon } from './web/Icons/icons/money';
|
|
128
129
|
export { default as MonitorIcon } from './web/Icons/icons/monitor';
|
|
129
130
|
export { default as MoreVerticalIcon } from './web/Icons/icons/moreVertical';
|
|
131
|
+
export { default as MoreHorizontalIcon } from './web/Icons/icons/moreHorizontal';
|
|
130
132
|
export { default as PencilIcon } from './web/Icons/icons/pencil';
|
|
131
133
|
export { default as PlayCircleIcon } from './web/Icons/icons/playCircle';
|
|
132
134
|
export { default as PlusSquaresIcon } from './web/Icons/icons/plusSquares';
|
|
@@ -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';
|
|
@@ -17,20 +17,6 @@ declare const _default: {
|
|
|
17
17
|
overflow: "hidden";
|
|
18
18
|
flex: number;
|
|
19
19
|
};
|
|
20
|
-
topSeparator: {
|
|
21
|
-
width: "100%";
|
|
22
|
-
paddingTop: number;
|
|
23
|
-
display: "flex";
|
|
24
|
-
justifyContent: "center";
|
|
25
|
-
flexDirection: "row";
|
|
26
|
-
};
|
|
27
|
-
topSeparatorLine: {
|
|
28
|
-
width: number;
|
|
29
|
-
paddingTop: number;
|
|
30
|
-
borderRadius: number;
|
|
31
|
-
backgroundColor: string;
|
|
32
|
-
margin: "auto";
|
|
33
|
-
};
|
|
34
20
|
topContainer: {
|
|
35
21
|
display: "flex";
|
|
36
22
|
flexDirection: "row";
|
|
@@ -15,7 +15,7 @@ export interface HeadingContainerProps {
|
|
|
15
15
|
sectionName?: string;
|
|
16
16
|
titleText?: string;
|
|
17
17
|
titleTooltip?: ParentComponentTooltipProps;
|
|
18
|
-
contentText?: string;
|
|
18
|
+
contentText?: string | React.Component | any;
|
|
19
19
|
chip?: ChipProps;
|
|
20
20
|
containerStyle?: any;
|
|
21
21
|
}
|
package/dist/components/native/Headings/StatusHeadingContainer/StatusHeadingContainer.native.d.ts
ADDED
|
@@ -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,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
statusHeadingContainer: {
|
|
3
|
+
display: "flex";
|
|
4
|
+
flexDirection: "column";
|
|
5
|
+
gap: number;
|
|
6
|
+
width: "100%";
|
|
7
|
+
justifyContent: "flex-start";
|
|
8
|
+
alignItems: "center";
|
|
9
|
+
};
|
|
10
|
+
bottomImageContainer: {
|
|
11
|
+
display: "flex";
|
|
12
|
+
flexDirection: "row";
|
|
13
|
+
paddingVertical: number;
|
|
14
|
+
paddingHorizontal: number;
|
|
15
|
+
borderRadius: number;
|
|
16
|
+
};
|
|
17
|
+
bottomImage: {
|
|
18
|
+
flex: number;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
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: {
|
|
9
|
+
uri: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
};
|
|
13
|
+
id?: string;
|
|
14
|
+
width?: number | string;
|
|
15
|
+
height?: number | string;
|
|
16
|
+
containerStyle?: any;
|
|
17
|
+
resizeMode?: 'cover' | 'contain' | 'stretch' | 'repeat' | 'center' | undefined;
|
|
18
|
+
resizeMethod?: 'auto' | 'resize' | 'scale' | undefined;
|
|
19
|
+
parentContainerStyle?: any;
|
|
20
|
+
};
|
|
21
|
+
containerStyle?: any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconSize } from '../icon_types';
|
|
2
|
+
type MoreHorizontalIconProps = {
|
|
3
|
+
id?: string;
|
|
4
|
+
size: IconSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const MoreHorizontalIcon: (props: MoreHorizontalIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default MoreHorizontalIcon;
|
|
@@ -97,6 +97,7 @@ export { default as MinusIcon } from './icons/minus';
|
|
|
97
97
|
export { default as MoneyIcon } from './icons/money';
|
|
98
98
|
export { default as MonitorIcon } from './icons/monitor';
|
|
99
99
|
export { default as MoreVerticalIcon } from './icons/moreVertical';
|
|
100
|
+
export { default as MoreHorizontalIcon } from './icons/moreHorizontal';
|
|
100
101
|
export { default as PencilIcon } from './icons/pencil';
|
|
101
102
|
export { default as PlayCircleIcon } from './icons/playCircle';
|
|
102
103
|
export { default as PlusSquaresIcon } from './icons/plusSquares';
|
|
@@ -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;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../utils/theming';
|
|
2
|
+
import { ListItemColor, ListItemState, ListItemType } from './listItem_types.native';
|
|
3
|
+
export declare const createColorMap: (Colors: ColorsType) => {
|
|
4
|
+
white: {
|
|
5
|
+
enable: string;
|
|
6
|
+
hover: string;
|
|
7
|
+
active: string;
|
|
8
|
+
};
|
|
9
|
+
grey: {
|
|
10
|
+
enable: string;
|
|
11
|
+
hover: string;
|
|
12
|
+
active: string;
|
|
13
|
+
};
|
|
14
|
+
none: {
|
|
15
|
+
enable: string;
|
|
16
|
+
hover: string;
|
|
17
|
+
active: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare const getContainerStyles: (colors: ColorsType, color?: ListItemColor, type?: ListItemType, state?: ListItemState) => {
|
|
21
|
+
borderBottomRightRadius: number;
|
|
22
|
+
borderBottomLeftRadius: number;
|
|
23
|
+
borderRadius?: undefined;
|
|
24
|
+
borderWidth: number;
|
|
25
|
+
borderColor: string;
|
|
26
|
+
borderTopWidth?: undefined;
|
|
27
|
+
borderTopColor?: undefined;
|
|
28
|
+
backgroundColor: string;
|
|
29
|
+
} | {
|
|
30
|
+
borderRadius: number;
|
|
31
|
+
borderBottomRightRadius?: undefined;
|
|
32
|
+
borderBottomLeftRadius?: undefined;
|
|
33
|
+
borderWidth: number;
|
|
34
|
+
borderColor: string;
|
|
35
|
+
borderTopWidth?: undefined;
|
|
36
|
+
borderTopColor?: undefined;
|
|
37
|
+
backgroundColor: string;
|
|
38
|
+
} | {
|
|
39
|
+
borderBottomRightRadius: number;
|
|
40
|
+
borderBottomLeftRadius: number;
|
|
41
|
+
borderRadius?: undefined;
|
|
42
|
+
borderTopWidth: number;
|
|
43
|
+
borderTopColor: string;
|
|
44
|
+
borderWidth?: undefined;
|
|
45
|
+
borderColor?: undefined;
|
|
46
|
+
backgroundColor: string;
|
|
47
|
+
} | {
|
|
48
|
+
borderRadius: number;
|
|
49
|
+
borderBottomRightRadius?: undefined;
|
|
50
|
+
borderBottomLeftRadius?: undefined;
|
|
51
|
+
borderTopWidth: number;
|
|
52
|
+
borderTopColor: string;
|
|
53
|
+
borderWidth?: undefined;
|
|
54
|
+
borderColor?: undefined;
|
|
55
|
+
backgroundColor: string;
|
|
56
|
+
} | {
|
|
57
|
+
borderBottomRightRadius: number;
|
|
58
|
+
borderBottomLeftRadius: number;
|
|
59
|
+
borderRadius?: undefined;
|
|
60
|
+
borderWidth: number;
|
|
61
|
+
borderColor?: undefined;
|
|
62
|
+
borderTopWidth?: undefined;
|
|
63
|
+
borderTopColor?: undefined;
|
|
64
|
+
backgroundColor: string;
|
|
65
|
+
} | {
|
|
66
|
+
borderRadius: number;
|
|
67
|
+
borderBottomRightRadius?: undefined;
|
|
68
|
+
borderBottomLeftRadius?: undefined;
|
|
69
|
+
borderWidth: number;
|
|
70
|
+
borderColor?: undefined;
|
|
71
|
+
borderTopWidth?: undefined;
|
|
72
|
+
borderTopColor?: undefined;
|
|
73
|
+
backgroundColor: string;
|
|
74
|
+
};
|
|
@@ -12,7 +12,6 @@ declare const _default: {
|
|
|
12
12
|
display: "flex";
|
|
13
13
|
flexDirection: "row";
|
|
14
14
|
justifyContent: "space-between";
|
|
15
|
-
alignItems: "center";
|
|
16
15
|
gap: number;
|
|
17
16
|
flexWrap: "wrap";
|
|
18
17
|
alignSelf: "stretch";
|
|
@@ -24,17 +23,8 @@ declare const _default: {
|
|
|
24
23
|
display: "flex";
|
|
25
24
|
flexDirection: "row";
|
|
26
25
|
justifyContent: "flex-start";
|
|
27
|
-
alignItems: "center";
|
|
28
26
|
gap: number;
|
|
29
27
|
flex: number;
|
|
30
28
|
};
|
|
31
|
-
notificationContainer: {
|
|
32
|
-
display: "flex";
|
|
33
|
-
flexDirection: "column";
|
|
34
|
-
justifyContent: "center";
|
|
35
|
-
alignItems: "center";
|
|
36
|
-
cursor: "pointer";
|
|
37
|
-
marginLeft: "auto";
|
|
38
|
-
};
|
|
39
29
|
};
|
|
40
30
|
export default _default;
|
|
@@ -11,26 +11,20 @@ import { IconSize } from '../../Icons/icon_types';
|
|
|
11
11
|
import { IconGroupProps } from '../../Icons/IconGroup/iconGroup_types.native';
|
|
12
12
|
import { RadioButtonProps } from '../../RadioButton/RadioButton/radioButton_types.native';
|
|
13
13
|
import { SwitchProps } from '../../Switch/Switch/switch_types.native';
|
|
14
|
-
import {
|
|
15
|
-
export type ListItemType = 'filled' | '
|
|
16
|
-
export type ListItemState = 'enable' | 'active';
|
|
17
|
-
export type
|
|
18
|
-
export type
|
|
19
|
-
export type ListItemColor = 'black' | 'gray' | 'white' | 'red';
|
|
20
|
-
export type ListItemAlign = 'left' | 'right';
|
|
14
|
+
import { ListMetaContainerProps } from '../ListMetaContainer/listMetaContainer_types.native';
|
|
15
|
+
export type ListItemType = 'filled' | 'outline' | 'divider' | 'select';
|
|
16
|
+
export type ListItemState = 'enable' | 'hover' | 'active';
|
|
17
|
+
export type ListItemColor = 'white' | 'grey' | 'none';
|
|
18
|
+
export type ListItemAlign = 'center' | 'top';
|
|
21
19
|
export type ListItemLeading = 'none' | 'avatar' | 'credential' | 'icon' | 'chip' | 'indicator' | 'buttonIcon' | 'chipGroup';
|
|
22
|
-
export type ListItemTrailing = 'none' | 'checkbox' | 'switch' | 'radioButton' | '
|
|
20
|
+
export type ListItemTrailing = 'none' | 'checkbox' | 'switch' | 'radioButton' | 'icon' | 'segmentedButton' | 'listMetaContainer' | 'action' | 'button' | 'chip' | 'iconGroup';
|
|
23
21
|
export interface ListItemProps {
|
|
24
22
|
id?: string;
|
|
23
|
+
color?: ListItemColor;
|
|
25
24
|
type?: ListItemType;
|
|
26
25
|
state?: ListItemState;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
content?: string;
|
|
30
|
-
extraInfo?: string;
|
|
31
|
-
mainTextColor?: ListMetaContainerColor;
|
|
32
|
-
mainTextInfoColor?: ListMetaContainerColor;
|
|
33
|
-
mainActionItem?: ActionItemsProps;
|
|
26
|
+
align?: ListItemAlign;
|
|
27
|
+
listMetaContainer?: ListMetaContainerProps;
|
|
34
28
|
leading: ListItemLeading;
|
|
35
29
|
trailing: ListItemTrailing;
|
|
36
30
|
helperText?: string;
|
|
@@ -55,16 +49,12 @@ export interface ListItemProps {
|
|
|
55
49
|
}>;
|
|
56
50
|
color?: string;
|
|
57
51
|
};
|
|
52
|
+
typeSelectRadioButton?: RadioButtonProps;
|
|
58
53
|
segmentedButton?: SegmentedButtonProps;
|
|
59
|
-
|
|
54
|
+
trailingListMetaContainer?: ListMetaContainerProps;
|
|
60
55
|
hasHoverStyle?: boolean;
|
|
61
56
|
containerStyle?: any;
|
|
62
57
|
actionItem?: ActionItemsProps;
|
|
63
|
-
notification?: {
|
|
64
|
-
id?: string;
|
|
65
|
-
text: string;
|
|
66
|
-
onPress: (x?: any) => void;
|
|
67
|
-
};
|
|
68
58
|
button?: ButtonProps;
|
|
69
59
|
leadingChip?: ChipProps;
|
|
70
60
|
chip?: ChipProps;
|
|
@@ -1,22 +1,41 @@
|
|
|
1
1
|
import { ActionItemsProps } from '../../Action/ActionItems/actionItems_types.native';
|
|
2
|
+
import { RoundedButtonProps } from '../../Buttons/RoundedButton/RoundedButton.types.native';
|
|
2
3
|
import { ChipProps } from '../../Chips/Chip/Chip.types.native';
|
|
4
|
+
import { IconSize, IconStyle } from '../../Icons/icon_types';
|
|
3
5
|
import { ParentComponentTooltipProps } from '../../Tooltips/Tooltip/tooltip_types.native';
|
|
4
6
|
export type ListMetaContainerCondition = 'all' | 'title' | 'titleExtraInfo';
|
|
7
|
+
export type ListMetaContainerType = 'main' | 'notification';
|
|
8
|
+
export type ListMetaContainerMainColor = 'white' | 'black';
|
|
5
9
|
export type ListMetaContainerSize = 'medium' | 'small';
|
|
6
|
-
export type ListMetaContainerColor = 'black' | 'gray' | '
|
|
10
|
+
export type ListMetaContainerColor = 'black' | 'gray' | 'purple' | 'white';
|
|
7
11
|
export type ListMetaContainerAlign = 'left' | 'right';
|
|
8
12
|
export interface ListMetaContainerProps {
|
|
9
13
|
id?: string;
|
|
10
14
|
condition: ListMetaContainerCondition;
|
|
15
|
+
type?: ListMetaContainerType;
|
|
11
16
|
size?: ListMetaContainerSize;
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
mainColor?: ListMetaContainerMainColor;
|
|
18
|
+
titleColor?: ListMetaContainerColor;
|
|
19
|
+
contentColor?: ListMetaContainerColor;
|
|
14
20
|
align?: ListMetaContainerAlign;
|
|
15
21
|
tooltip?: ParentComponentTooltipProps;
|
|
16
22
|
chip?: ChipProps;
|
|
17
23
|
actionItem?: ActionItemsProps;
|
|
18
24
|
title?: string;
|
|
19
25
|
content?: string;
|
|
20
|
-
extraInfo?: string;
|
|
26
|
+
extraInfo?: string | React.Component | any;
|
|
27
|
+
icon16px?: {
|
|
28
|
+
id?: string;
|
|
29
|
+
color?: string;
|
|
30
|
+
style?: IconStyle;
|
|
31
|
+
Icon?: React.FC<{
|
|
32
|
+
id?: string;
|
|
33
|
+
size: IconSize;
|
|
34
|
+
style?: IconStyle;
|
|
35
|
+
color: string;
|
|
36
|
+
}>;
|
|
37
|
+
onPress: (x?: any) => void;
|
|
38
|
+
};
|
|
39
|
+
roundedButton?: RoundedButtonProps;
|
|
21
40
|
containerStyle?: any;
|
|
22
41
|
}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import { AvatarProps } from '../../Avatars/Avatar/Avatar.types.native';
|
|
2
2
|
import { RoundedButtonState, TrailingIcon } from '../../Buttons/RoundedButton/RoundedButton.types.native';
|
|
3
3
|
import { BellIconStyle, IconSize, IconStyle } from '../../Icons/icon_types';
|
|
4
|
-
export type TopAppBarConfiguration = 'main-screen' | 'sub-screen' | 'sheet-screen';
|
|
4
|
+
export type TopAppBarConfiguration = 'main-screen' | 'sub-screen' | 'sheet-screen' | 'action-screen';
|
|
5
5
|
export type TopAppBarSize = '28' | '16' | '14' | '10' | '8' | '5' | '4';
|
|
6
6
|
export type TopAppBarType = 'quantity' | 'status';
|
|
7
|
-
export type TopAppBarTrailingContainerIcon = 'bell' | 'moreVertical' | 'trash' | 'search';
|
|
7
|
+
export type TopAppBarTrailingContainerIcon = 'bell' | 'moreVertical' | 'trash' | 'search' | 'settings';
|
|
8
8
|
export interface TopAppBarProps {
|
|
9
9
|
id?: string;
|
|
10
10
|
configuration: TopAppBarConfiguration;
|
|
11
11
|
bg?: boolean;
|
|
12
12
|
showBackIcon?: boolean;
|
|
13
13
|
backButtonAction?: (x?: any) => void;
|
|
14
|
-
|
|
14
|
+
centerText?: string;
|
|
15
|
+
leftTextWithAction?: {
|
|
16
|
+
text: string;
|
|
17
|
+
action: (x?: any) => void;
|
|
18
|
+
};
|
|
19
|
+
rightTextWithAction?: {
|
|
20
|
+
text: string;
|
|
21
|
+
action: (x?: any) => void;
|
|
22
|
+
};
|
|
15
23
|
trailingContainer?: {
|
|
16
24
|
leadingIcon?: {
|
|
17
25
|
icon: TopAppBarTrailingContainerIcon;
|
|
@@ -4,8 +4,8 @@ declare const _default: {
|
|
|
4
4
|
right: number;
|
|
5
5
|
left: number;
|
|
6
6
|
position: "absolute";
|
|
7
|
-
minHeight: number;
|
|
8
7
|
top: number;
|
|
8
|
+
minHeight: number;
|
|
9
9
|
zIndex: number;
|
|
10
10
|
};
|
|
11
11
|
topDrawerBarContainer: {
|
|
@@ -29,5 +29,20 @@ 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
|
+
backgroundColor: string;
|
|
40
|
+
};
|
|
41
|
+
notch: {
|
|
42
|
+
width: number;
|
|
43
|
+
height: number;
|
|
44
|
+
borderRadius: number;
|
|
45
|
+
backgroundColor: string;
|
|
46
|
+
};
|
|
32
47
|
};
|
|
33
48
|
export default _default;
|
|
@@ -349,8 +349,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
349
349
|
};
|
|
350
350
|
export declare const getRoundedButtonGeneralStyles: (colors: ColorsType, color: string, style: string, state: string, size: string) => {
|
|
351
351
|
minHeight: number;
|
|
352
|
-
|
|
353
|
-
paddingHorizontal: number;
|
|
352
|
+
padding: string;
|
|
354
353
|
backgroundColor: any;
|
|
355
354
|
borderColor: any;
|
|
356
355
|
borderWidth: number;
|
|
@@ -358,8 +357,7 @@ export declare const getRoundedButtonGeneralStyles: (colors: ColorsType, color:
|
|
|
358
357
|
cursor: string;
|
|
359
358
|
};
|
|
360
359
|
export declare const getRoundedButtonPaddings: (size: string, style: string) => {
|
|
361
|
-
|
|
362
|
-
paddingHorizontal: number;
|
|
360
|
+
padding: string;
|
|
363
361
|
};
|
|
364
362
|
export declare const getRoundedButtonMinHeight: (size: string) => 40 | 32;
|
|
365
363
|
export declare const getRoundedButtonContentStyles: (fontStyles: StyleType, colors: ColorsType, color: string, style: string, state: string, size: string) => {
|
|
@@ -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;
|