@gataca/design-system 0.4.1 → 0.4.2
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/components/index.native.d.ts +3 -0
- package/dist/components/index.web.d.ts +3 -0
- package/dist/components/native/Action/ActionItems/actionItems_styles.native.d.ts +8 -8
- package/dist/components/native/Alerts/Alert/Alert_styles.native.d.ts +1 -1
- package/dist/components/native/BottomSticky/BottomStickyContainer/bottomStickyContainer_styles.native.d.ts +3 -3
- package/dist/components/native/Buttons/Button/styles.native.d.ts +2 -2
- package/dist/components/native/Buttons/ButtonIcon/ButtonIcon.types.native.d.ts +1 -0
- package/dist/components/native/Buttons/RoundedButton/styles.native.d.ts +2 -2
- package/dist/components/native/Buttons/SegmentedButton/styles.native.d.ts +2 -2
- package/dist/components/native/Cards/Consent/consentCard_styles.native.d.ts +1 -1
- package/dist/components/native/Cards/Credential/credential_styles.native.d.ts +3 -3
- package/dist/components/native/Cards/HeadingAvatars/headingAvatarsCard_styles.native.d.ts +2 -2
- package/dist/components/native/Cards/MiniCredential/miniCredential_styles.native.d.ts +2 -2
- package/dist/components/native/Chips/Chip/styles.native.d.ts +1 -1
- package/dist/components/native/Dialog/Dialog/dialog_styles.native.d.ts +11 -11
- package/dist/components/native/Drawer/BottomDrawer/bottomDrawer_styles.native.d.ts +6 -6
- package/dist/components/native/Headings/HeadingCredential/HeadingCredential_styles.native.d.ts +8 -8
- package/dist/components/native/Icons/icons/one.d.ts +8 -0
- package/dist/components/native/Icons/icons/three.d.ts +8 -0
- package/dist/components/native/Icons/icons/two.d.ts +8 -0
- package/dist/components/native/Icons/index.native.d.ts +3 -0
- package/dist/components/native/Indicator/Indicator/indicator_styles.native.d.ts +1 -1
- package/dist/components/native/Lists/List/list_styles.native.d.ts +1 -1
- package/dist/components/native/Lists/ListItem/listItem_styles.native.d.ts +3 -3
- package/dist/components/native/Lists/ListItem/listItem_types.native.d.ts +3 -1
- package/dist/components/native/NavBar/NavigationBar/navigationBar_styles.native.d.ts +1 -1
- package/dist/components/native/Popover/popover_styles.native.d.ts +14 -14
- package/dist/components/native/TextField/TextField/textField_styles.native.d.ts +3 -3
- package/dist/components/native/Tooltips/Tooltip/tooltip_styles.native.d.ts +2 -2
- package/dist/components/native/TopAppBar/TopAppBar/topAppBar_styles.native.d.ts +2 -2
- package/dist/components/native/TopAppBar/TopDrawerBar/topDrawerBar_styles.native.d.ts +2 -2
- package/dist/components/web/Avatars/Avatar/Avatar.types.web.d.ts +1 -0
- package/dist/components/web/Buttons/ButtonIcon/ButtonIcon.types.web.d.ts +1 -0
- package/dist/components/web/Icons/icons/one.d.ts +8 -0
- package/dist/components/web/Icons/icons/three.d.ts +8 -0
- package/dist/components/web/Icons/icons/two.d.ts +8 -0
- package/dist/components/web/Icons/index.web.d.ts +3 -0
- package/dist/components/web/Lists/ListItem/listItem_types.web.d.ts +3 -1
- 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
|
@@ -72,6 +72,9 @@ export { default as CheckIcon } from './native/Icons/icons/check';
|
|
|
72
72
|
export { default as InfoIcon } from './native/Icons/icons/info';
|
|
73
73
|
export { default as ChevronDownIcon } from './native/Icons/icons/chevronDown';
|
|
74
74
|
export { default as CloseIcon } from './native/Icons/icons/close';
|
|
75
|
+
export { default as OneIcon } from './native/Icons/icons/one';
|
|
76
|
+
export { default as TwoIcon } from './native/Icons/icons/two';
|
|
77
|
+
export { default as ThreeIcon } from './native/Icons/icons/three';
|
|
75
78
|
export { default as ImageError } from './native/Icons/icons/imageError';
|
|
76
79
|
export { default as SlashIcon } from './native/Icons/icons/slash';
|
|
77
80
|
export { default as WarningIcon } from './native/Icons/icons/warning';
|
|
@@ -66,6 +66,9 @@ export { default as CheckIcon } from './web/Icons/icons/check';
|
|
|
66
66
|
export { default as InfoIcon } from './web/Icons/icons/info';
|
|
67
67
|
export { default as ChevronDownIcon } from './web/Icons/icons/chevronDown';
|
|
68
68
|
export { default as CloseIcon } from './web/Icons/icons/close';
|
|
69
|
+
export { default as OneIcon } from './web/Icons/icons/one';
|
|
70
|
+
export { default as TwoIcon } from './web/Icons/icons/two';
|
|
71
|
+
export { default as ThreeIcon } from './web/Icons/icons/three';
|
|
69
72
|
export { default as ImageError } from './web/Icons/icons/imageError';
|
|
70
73
|
export { default as SlashIcon } from './web/Icons/icons/slash';
|
|
71
74
|
export { default as WarningIcon } from './web/Icons/icons/warning';
|
|
@@ -23,20 +23,20 @@ declare const _default: {
|
|
|
23
23
|
borderRadius: number;
|
|
24
24
|
};
|
|
25
25
|
landscapeImage: {
|
|
26
|
-
minWidth:
|
|
27
|
-
minHeight:
|
|
28
|
-
maxHeight:
|
|
26
|
+
minWidth: "100%";
|
|
27
|
+
minHeight: "100%";
|
|
28
|
+
maxHeight: "100%";
|
|
29
29
|
objectFit: "cover";
|
|
30
30
|
};
|
|
31
31
|
portraitImage: {
|
|
32
|
-
minWidth:
|
|
33
|
-
minHeight:
|
|
34
|
-
maxWidth:
|
|
32
|
+
minWidth: "100%";
|
|
33
|
+
minHeight: "100%";
|
|
34
|
+
maxWidth: "100%";
|
|
35
35
|
objectFit: "cover";
|
|
36
36
|
};
|
|
37
37
|
squareImage: {
|
|
38
|
-
minWidth:
|
|
39
|
-
minHeight:
|
|
38
|
+
minWidth: "100%";
|
|
39
|
+
minHeight: "100%";
|
|
40
40
|
objectFit: "cover";
|
|
41
41
|
};
|
|
42
42
|
};
|
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
alignItems: "center";
|
|
6
6
|
justifyContent: "center";
|
|
7
7
|
alignSelf: "stretch";
|
|
8
|
-
width:
|
|
8
|
+
width: "100%";
|
|
9
9
|
right: number;
|
|
10
10
|
left: number;
|
|
11
11
|
position: "absolute";
|
|
@@ -18,9 +18,9 @@ declare const _default: {
|
|
|
18
18
|
flexDirection: "row";
|
|
19
19
|
justifyContent: "center";
|
|
20
20
|
gap: number;
|
|
21
|
-
width:
|
|
21
|
+
width: "100%";
|
|
22
22
|
flexWrap: "wrap-reverse";
|
|
23
|
-
marginLeft:
|
|
23
|
+
marginLeft: "auto";
|
|
24
24
|
padding: number;
|
|
25
25
|
alignItems: "stretch";
|
|
26
26
|
};
|
|
@@ -4,10 +4,10 @@ declare const _default: {
|
|
|
4
4
|
alignItems: "center";
|
|
5
5
|
justifyContent: "center";
|
|
6
6
|
flexDirection: "row";
|
|
7
|
-
width:
|
|
7
|
+
width: "auto";
|
|
8
8
|
gap: number;
|
|
9
9
|
borderRadius: number;
|
|
10
|
-
maxWidth:
|
|
10
|
+
maxWidth: "100%";
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export default _default;
|
|
@@ -5,10 +5,10 @@ declare const _default: {
|
|
|
5
5
|
alignItems: "center";
|
|
6
6
|
justifyContent: "center";
|
|
7
7
|
flexDirection: "row";
|
|
8
|
-
width:
|
|
8
|
+
width: "auto";
|
|
9
9
|
gap: number;
|
|
10
10
|
borderRadius: number;
|
|
11
|
-
maxWidth:
|
|
11
|
+
maxWidth: "100%";
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
container: {
|
|
3
|
-
width:
|
|
3
|
+
width: "100%";
|
|
4
4
|
borderRadius: number;
|
|
5
5
|
flexDirection: "row";
|
|
6
6
|
justifyContent: "space-between";
|
|
7
7
|
alignItems: "center";
|
|
8
|
-
height:
|
|
8
|
+
height: "auto";
|
|
9
9
|
alignSelf: "flex-start";
|
|
10
10
|
overflow: "hidden";
|
|
11
11
|
};
|
|
@@ -7,14 +7,14 @@ export declare const styles: (colors: ColorsType, fontStyles: StyleType, backgro
|
|
|
7
7
|
backgroundColor: string;
|
|
8
8
|
borderRadius: number;
|
|
9
9
|
alignSelf: "stretch";
|
|
10
|
-
width:
|
|
10
|
+
width: "100%";
|
|
11
11
|
};
|
|
12
12
|
linearGradientOverlay: {
|
|
13
13
|
padding: number;
|
|
14
14
|
display: "flex";
|
|
15
15
|
flexDirection: "column";
|
|
16
16
|
borderRadius: number;
|
|
17
|
-
width:
|
|
17
|
+
width: "100%";
|
|
18
18
|
alignSelf: "stretch";
|
|
19
19
|
};
|
|
20
20
|
credCardMainContent: {
|
|
@@ -22,7 +22,7 @@ export declare const styles: (colors: ColorsType, fontStyles: StyleType, backgro
|
|
|
22
22
|
flexDirection: "column";
|
|
23
23
|
gap: number;
|
|
24
24
|
minHeight: number;
|
|
25
|
-
width:
|
|
25
|
+
width: "100%";
|
|
26
26
|
alignSelf: "center";
|
|
27
27
|
justifyContent: "space-between";
|
|
28
28
|
};
|
|
@@ -4,7 +4,7 @@ export declare const styles: {
|
|
|
4
4
|
display: "flex";
|
|
5
5
|
flexDirection: "column";
|
|
6
6
|
alignItems: "center";
|
|
7
|
-
width:
|
|
7
|
+
width: "100%";
|
|
8
8
|
borderRadius: number;
|
|
9
9
|
alignSelf: "stretch";
|
|
10
10
|
overflow: "hidden";
|
|
@@ -16,7 +16,7 @@ export declare const styles: {
|
|
|
16
16
|
paddingBottom: number;
|
|
17
17
|
flexDirection: "column";
|
|
18
18
|
alignItems: "center";
|
|
19
|
-
width:
|
|
19
|
+
width: "100%";
|
|
20
20
|
alignSelf: "stretch";
|
|
21
21
|
gap: number;
|
|
22
22
|
};
|
|
@@ -16,8 +16,8 @@ export declare const styles: (colors: ColorsType, fontStyles: StyleType, backgro
|
|
|
16
16
|
display: "flex";
|
|
17
17
|
flexDirection: "column";
|
|
18
18
|
borderRadius: number;
|
|
19
|
-
width:
|
|
20
|
-
height:
|
|
19
|
+
width: "100%";
|
|
20
|
+
height: "100%";
|
|
21
21
|
alignSelf: "stretch";
|
|
22
22
|
gap: number;
|
|
23
23
|
};
|
|
@@ -6,8 +6,8 @@ declare const _default: {
|
|
|
6
6
|
top: number;
|
|
7
7
|
left: number;
|
|
8
8
|
right: number;
|
|
9
|
-
width:
|
|
10
|
-
height:
|
|
9
|
+
width: "100%";
|
|
10
|
+
height: "100%";
|
|
11
11
|
flexDirection: "column";
|
|
12
12
|
zIndex: number;
|
|
13
13
|
display: "flex";
|
|
@@ -19,7 +19,7 @@ declare const _default: {
|
|
|
19
19
|
display: "flex";
|
|
20
20
|
flexDirection: "column";
|
|
21
21
|
width: number;
|
|
22
|
-
height:
|
|
22
|
+
height: "auto";
|
|
23
23
|
elevation: number;
|
|
24
24
|
shadowOffset: {
|
|
25
25
|
width: number;
|
|
@@ -29,15 +29,15 @@ declare const _default: {
|
|
|
29
29
|
shadowOpacity: number;
|
|
30
30
|
shadowRadius: number;
|
|
31
31
|
overflow: "hidden";
|
|
32
|
-
maxWidth:
|
|
33
|
-
maxHeight:
|
|
32
|
+
maxWidth: "90%";
|
|
33
|
+
maxHeight: "90%";
|
|
34
34
|
};
|
|
35
35
|
topContainer: {
|
|
36
36
|
display: "flex";
|
|
37
37
|
flexDirection: "row";
|
|
38
38
|
justifyContent: "space-between";
|
|
39
39
|
alignItems: "flex-start";
|
|
40
|
-
width:
|
|
40
|
+
width: "100%";
|
|
41
41
|
flexWrap: "wrap-reverse";
|
|
42
42
|
paddingVertical: number;
|
|
43
43
|
paddingHorizontal: number;
|
|
@@ -47,7 +47,7 @@ declare const _default: {
|
|
|
47
47
|
display: "flex";
|
|
48
48
|
justifyContent: "flex-start";
|
|
49
49
|
alignItems: "flex-start";
|
|
50
|
-
marginLeft:
|
|
50
|
+
marginLeft: "auto";
|
|
51
51
|
alignSelf: "center";
|
|
52
52
|
};
|
|
53
53
|
mainContainer: {
|
|
@@ -67,7 +67,7 @@ declare const _default: {
|
|
|
67
67
|
justifyContent: "flex-start";
|
|
68
68
|
alignItems: "flex-start";
|
|
69
69
|
gap: number;
|
|
70
|
-
width:
|
|
70
|
+
width: "100%";
|
|
71
71
|
};
|
|
72
72
|
scrollableArea: {
|
|
73
73
|
display: "flex";
|
|
@@ -77,7 +77,7 @@ declare const _default: {
|
|
|
77
77
|
alignItems: "flex-start";
|
|
78
78
|
gap: number;
|
|
79
79
|
overflow: "scroll";
|
|
80
|
-
width:
|
|
80
|
+
width: "100%";
|
|
81
81
|
};
|
|
82
82
|
textsContainer: {
|
|
83
83
|
display: "flex";
|
|
@@ -85,7 +85,7 @@ declare const _default: {
|
|
|
85
85
|
gap: number;
|
|
86
86
|
alignItems: "flex-start";
|
|
87
87
|
paddingHorizontal: number;
|
|
88
|
-
width:
|
|
88
|
+
width: "100%";
|
|
89
89
|
};
|
|
90
90
|
bottomContainer: {
|
|
91
91
|
paddingVertical: number;
|
|
@@ -98,7 +98,7 @@ declare const _default: {
|
|
|
98
98
|
gap: number;
|
|
99
99
|
alignItems: "center";
|
|
100
100
|
flexWrap: "wrap-reverse";
|
|
101
|
-
marginLeft:
|
|
101
|
+
marginLeft: "auto";
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
export default _default;
|
|
@@ -4,13 +4,13 @@ declare const _default: {
|
|
|
4
4
|
borderTopRightRadius: number;
|
|
5
5
|
display: "flex";
|
|
6
6
|
flexDirection: "column";
|
|
7
|
-
height:
|
|
7
|
+
height: "auto";
|
|
8
8
|
elevation: number;
|
|
9
9
|
shadowOffset: {
|
|
10
10
|
width: number;
|
|
11
11
|
height: number;
|
|
12
12
|
};
|
|
13
|
-
width:
|
|
13
|
+
width: "100%";
|
|
14
14
|
zIndex: number;
|
|
15
15
|
shadowOpacity: number;
|
|
16
16
|
shadowRadius: number;
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
flex: number;
|
|
19
19
|
};
|
|
20
20
|
topSeparator: {
|
|
21
|
-
width:
|
|
21
|
+
width: "100%";
|
|
22
22
|
paddingTop: number;
|
|
23
23
|
display: "flex";
|
|
24
24
|
justifyContent: "center";
|
|
@@ -29,14 +29,14 @@ declare const _default: {
|
|
|
29
29
|
paddingTop: number;
|
|
30
30
|
borderRadius: number;
|
|
31
31
|
backgroundColor: string;
|
|
32
|
-
margin:
|
|
32
|
+
margin: "auto";
|
|
33
33
|
};
|
|
34
34
|
topContainer: {
|
|
35
35
|
display: "flex";
|
|
36
36
|
flexDirection: "row";
|
|
37
37
|
justifyContent: "space-between";
|
|
38
38
|
alignItems: "flex-start";
|
|
39
|
-
width:
|
|
39
|
+
width: "100%";
|
|
40
40
|
flexWrap: "wrap-reverse";
|
|
41
41
|
paddingVertical: number;
|
|
42
42
|
paddingHorizontal: number;
|
|
@@ -46,7 +46,7 @@ declare const _default: {
|
|
|
46
46
|
display: "flex";
|
|
47
47
|
justifyContent: "flex-start";
|
|
48
48
|
alignItems: "flex-start";
|
|
49
|
-
marginLeft:
|
|
49
|
+
marginLeft: "auto";
|
|
50
50
|
alignSelf: "center";
|
|
51
51
|
};
|
|
52
52
|
mainContainer: {
|
package/dist/components/native/Headings/HeadingCredential/HeadingCredential_styles.native.d.ts
CHANGED
|
@@ -13,20 +13,20 @@ declare const _default: {
|
|
|
13
13
|
borderRadius: number;
|
|
14
14
|
};
|
|
15
15
|
landscapeImage: {
|
|
16
|
-
minWidth:
|
|
17
|
-
minHeight:
|
|
18
|
-
maxHeight:
|
|
16
|
+
minWidth: "100%";
|
|
17
|
+
minHeight: "100%";
|
|
18
|
+
maxHeight: "100%";
|
|
19
19
|
objectFit: "cover";
|
|
20
20
|
};
|
|
21
21
|
portraitImage: {
|
|
22
|
-
minWidth:
|
|
23
|
-
minHeight:
|
|
24
|
-
maxWidth:
|
|
22
|
+
minWidth: "100%";
|
|
23
|
+
minHeight: "100%";
|
|
24
|
+
maxWidth: "100%";
|
|
25
25
|
objectFit: "cover";
|
|
26
26
|
};
|
|
27
27
|
squareImage: {
|
|
28
|
-
minWidth:
|
|
29
|
-
minHeight:
|
|
28
|
+
minWidth: "100%";
|
|
29
|
+
minHeight: "100%";
|
|
30
30
|
objectFit: "cover";
|
|
31
31
|
};
|
|
32
32
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconExtendedSize, IconSize } from '../icon_types';
|
|
2
|
+
type OneIconProps = {
|
|
3
|
+
id?: string;
|
|
4
|
+
size: IconSize | IconExtendedSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const OneIcon: (props: OneIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default OneIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconExtendedSize, IconSize } from '../icon_types';
|
|
2
|
+
type ThreeIconProps = {
|
|
3
|
+
id?: string;
|
|
4
|
+
size: IconSize | IconExtendedSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const ThreeIcon: (props: ThreeIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ThreeIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconExtendedSize, IconSize } from '../icon_types';
|
|
2
|
+
type TwoIconProps = {
|
|
3
|
+
id?: string;
|
|
4
|
+
size: IconSize | IconExtendedSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const TwoIcon: (props: TwoIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default TwoIcon;
|
|
@@ -36,6 +36,9 @@ export { default as CheckIcon } from './icons/check';
|
|
|
36
36
|
export { default as InfoIcon } from './icons/info';
|
|
37
37
|
export { default as ChevronDownIcon } from './icons/chevronDown';
|
|
38
38
|
export { default as CloseIcon } from './icons/close';
|
|
39
|
+
export { default as OneIcon } from './icons/one';
|
|
40
|
+
export { default as TwoIcon } from './icons/two';
|
|
41
|
+
export { default as ThreeIcon } from './icons/three';
|
|
39
42
|
export { default as ImageError } from './icons/imageError';
|
|
40
43
|
export { default as SlashIcon } from './icons/slash';
|
|
41
44
|
export { default as WarningIcon } from './icons/warning';
|
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
justifyContent: "flex-start";
|
|
6
6
|
alignItems: "flex-start";
|
|
7
7
|
gap: number;
|
|
8
|
-
width:
|
|
8
|
+
width: "100%";
|
|
9
9
|
alignSelf: "stretch";
|
|
10
10
|
};
|
|
11
11
|
listItemContainer: {
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
alignSelf: "stretch";
|
|
19
19
|
paddingVertical: number;
|
|
20
20
|
paddingHorizontal: number;
|
|
21
|
-
width:
|
|
21
|
+
width: "100%";
|
|
22
22
|
};
|
|
23
23
|
listItemLeftContainer: {
|
|
24
24
|
display: "flex";
|
|
@@ -34,7 +34,7 @@ declare const _default: {
|
|
|
34
34
|
justifyContent: "center";
|
|
35
35
|
alignItems: "center";
|
|
36
36
|
cursor: "pointer";
|
|
37
|
-
marginLeft:
|
|
37
|
+
marginLeft: "auto";
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ActionItemsProps } from '../../Action/ActionItems/actionItems_types.native';
|
|
2
2
|
import { AvatarProps } from '../../Avatars/Avatar/Avatar.types.native';
|
|
3
3
|
import { ButtonProps } from '../../Buttons/Button/Button.types.native';
|
|
4
|
+
import { ButtonIconProps } from '../../Buttons/ButtonIcon/ButtonIcon.types.native';
|
|
4
5
|
import { SegmentedButtonProps } from '../../Buttons/SegmentedButton/SegmentedButton.types.native';
|
|
5
6
|
import { MiniCredentialCardProps } from '../../Cards/MiniCredential/miniCredential_types.native';
|
|
6
7
|
import { CheckboxProps } from '../../Checkbox/Checkbox/checkbox_types.native';
|
|
@@ -16,7 +17,7 @@ export type ListItemCondition = 'all' | 'title' | 'titleExtraInfo';
|
|
|
16
17
|
export type ListItemSize = 'medium' | 'small';
|
|
17
18
|
export type ListItemColor = 'black' | 'gray' | 'white' | 'red';
|
|
18
19
|
export type ListItemAlign = 'left' | 'right';
|
|
19
|
-
export type ListItemLeading = 'none' | 'avatar' | 'credential' | 'icon' | 'chip' | 'indicator';
|
|
20
|
+
export type ListItemLeading = 'none' | 'avatar' | 'credential' | 'icon' | 'chip' | 'indicator' | 'buttonIcon';
|
|
20
21
|
export type ListItemTrailing = 'none' | 'checkbox' | 'switch' | 'radioButton' | 'notifications' | 'icon' | 'segmentedButton' | 'value' | 'action' | 'button' | 'chip' | 'iconGroup';
|
|
21
22
|
export interface ListItemProps {
|
|
22
23
|
id?: string;
|
|
@@ -34,6 +35,7 @@ export interface ListItemProps {
|
|
|
34
35
|
helperText?: string;
|
|
35
36
|
avatar?: AvatarProps;
|
|
36
37
|
credential?: MiniCredentialCardProps;
|
|
38
|
+
leadingButtonIcon?: ButtonIconProps;
|
|
37
39
|
checkbox?: CheckboxProps;
|
|
38
40
|
switchOpt?: SwitchProps;
|
|
39
41
|
radioButton?: RadioButtonProps;
|
|
@@ -6,8 +6,8 @@ declare const _default: {
|
|
|
6
6
|
top: number;
|
|
7
7
|
left: number;
|
|
8
8
|
right: number;
|
|
9
|
-
width:
|
|
10
|
-
height:
|
|
9
|
+
width: "100%";
|
|
10
|
+
height: "100%";
|
|
11
11
|
flexDirection: "column";
|
|
12
12
|
zIndex: number;
|
|
13
13
|
display: "flex";
|
|
@@ -26,8 +26,8 @@ declare const _default: {
|
|
|
26
26
|
shadowOpacity: number;
|
|
27
27
|
shadowRadius: number;
|
|
28
28
|
overflow: "hidden";
|
|
29
|
-
maxWidth:
|
|
30
|
-
maxHeight:
|
|
29
|
+
maxWidth: "90%";
|
|
30
|
+
maxHeight: "90%";
|
|
31
31
|
padding: number;
|
|
32
32
|
gap: number;
|
|
33
33
|
};
|
|
@@ -35,29 +35,29 @@ declare const _default: {
|
|
|
35
35
|
position: "relative";
|
|
36
36
|
flex: number;
|
|
37
37
|
maxHeight: number;
|
|
38
|
-
width:
|
|
38
|
+
width: "100%";
|
|
39
39
|
overflow: "hidden";
|
|
40
40
|
borderRadius: number;
|
|
41
41
|
};
|
|
42
42
|
landscapeImage: {
|
|
43
|
-
minWidth:
|
|
44
|
-
minHeight:
|
|
45
|
-
maxHeight:
|
|
43
|
+
minWidth: "100%";
|
|
44
|
+
minHeight: "100%";
|
|
45
|
+
maxHeight: "100%";
|
|
46
46
|
objectFit: "cover";
|
|
47
47
|
};
|
|
48
48
|
portraitImage: {
|
|
49
|
-
minWidth:
|
|
50
|
-
minHeight:
|
|
51
|
-
maxWidth:
|
|
49
|
+
minWidth: "100%";
|
|
50
|
+
minHeight: "100%";
|
|
51
|
+
maxWidth: "100%";
|
|
52
52
|
objectFit: "cover";
|
|
53
53
|
};
|
|
54
54
|
squareImage: {
|
|
55
|
-
minWidth:
|
|
56
|
-
minHeight:
|
|
55
|
+
minWidth: "100%";
|
|
56
|
+
minHeight: "100%";
|
|
57
57
|
objectFit: "cover";
|
|
58
58
|
};
|
|
59
59
|
bottomContainer: {
|
|
60
|
-
width:
|
|
60
|
+
width: "100%";
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
export default _default;
|
|
@@ -5,13 +5,13 @@ declare const _default: {
|
|
|
5
5
|
alignItems: "flex-start";
|
|
6
6
|
gap: number;
|
|
7
7
|
alignSelf: "stretch";
|
|
8
|
-
width:
|
|
8
|
+
width: "100%";
|
|
9
9
|
};
|
|
10
10
|
textFieldTopTextContainer: {
|
|
11
11
|
display: "flex";
|
|
12
12
|
flexDirection: "row";
|
|
13
13
|
justifyContent: "space-between";
|
|
14
|
-
width:
|
|
14
|
+
width: "100%";
|
|
15
15
|
alignItems: "center";
|
|
16
16
|
gap: number;
|
|
17
17
|
};
|
|
@@ -34,7 +34,7 @@ declare const _default: {
|
|
|
34
34
|
zIndex: number;
|
|
35
35
|
};
|
|
36
36
|
textFieldInput: {
|
|
37
|
-
width:
|
|
37
|
+
width: "100%";
|
|
38
38
|
borderWidth: number;
|
|
39
39
|
borderRadius: number;
|
|
40
40
|
paddingHorizontal: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
topAppBarWrapper: {
|
|
3
|
-
width:
|
|
3
|
+
width: "100%";
|
|
4
4
|
right: number;
|
|
5
5
|
left: number;
|
|
6
6
|
position: "absolute";
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
gap: number;
|
|
17
17
|
minHeight: number;
|
|
18
18
|
alignSelf: "stretch";
|
|
19
|
-
width:
|
|
19
|
+
width: "100%";
|
|
20
20
|
flexShrink: number;
|
|
21
21
|
flexWrap: "wrap";
|
|
22
22
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
topDrawerBarWrapper: {
|
|
3
|
-
width:
|
|
3
|
+
width: "100%";
|
|
4
4
|
right: number;
|
|
5
5
|
left: number;
|
|
6
6
|
position: "absolute";
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
gap: number;
|
|
17
17
|
minHeight: number;
|
|
18
18
|
alignSelf: "stretch";
|
|
19
|
-
width:
|
|
19
|
+
width: "100%";
|
|
20
20
|
flexShrink: number;
|
|
21
21
|
flexWrap: "wrap";
|
|
22
22
|
paddingVertical: number;
|