@gataca/design-system 0.2.16 → 0.2.18

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 (36) hide show
  1. package/dist/components/index.native.d.ts +2 -0
  2. package/dist/components/index.web.d.ts +2 -0
  3. package/dist/components/native/Avatars/Avatar/Avatar.config.native.d.ts +214 -0
  4. package/dist/components/native/Avatars/Avatar/Avatar.native.d.ts +4 -0
  5. package/dist/components/native/Avatars/Avatar/Avatar.types.native.d.ts +57 -0
  6. package/dist/components/native/Avatars/Avatar/index.native.d.ts +2 -0
  7. package/dist/components/native/Avatars/Avatar/styles.native.d.ts +12 -0
  8. package/dist/components/native/Buttons/ButtonIcon/ButtonIcon.config.native.d.ts +90 -5
  9. package/dist/components/native/Buttons/ButtonIcon/ButtonIcon.types.native.d.ts +11 -3
  10. package/dist/components/native/Buttons/ButtonIcon/styles.native.d.ts +1 -0
  11. package/dist/components/native/Icons/icon_types.d.ts +3 -1
  12. package/dist/components/native/Icons/icons/camera.d.ts +2 -2
  13. package/dist/components/native/Icons/icons/check.d.ts +2 -2
  14. package/dist/components/native/Indicator/Indicator/index.native.d.ts +2 -0
  15. package/dist/components/native/Indicator/Indicator/indicator.native.d.ts +4 -0
  16. package/dist/components/native/Indicator/Indicator/indicator_styles.native.d.ts +15 -0
  17. package/dist/components/native/Indicator/Indicator/indicator_types.native.d.ts +28 -0
  18. package/dist/components/web/Avatars/Avatar/Avatar.config.web.d.ts +214 -0
  19. package/dist/components/web/Avatars/Avatar/Avatar.types.web.d.ts +57 -0
  20. package/dist/components/web/Avatars/Avatar/Avatar.web.d.ts +4 -0
  21. package/dist/components/web/Avatars/Avatar/index.web.d.ts +2 -0
  22. package/dist/components/web/Avatars/Avatar/styles.web.d.ts +3 -0
  23. package/dist/components/web/Buttons/ButtonIcon/ButtonIcon.config.web.d.ts +92 -8
  24. package/dist/components/web/Buttons/ButtonIcon/ButtonIcon.types.web.d.ts +11 -3
  25. package/dist/components/web/Icons/icon_types.d.ts +3 -1
  26. package/dist/components/web/Icons/icons/camera.d.ts +2 -2
  27. package/dist/components/web/Icons/icons/check.d.ts +2 -2
  28. package/dist/components/web/Indicator/Indicator/index.web.d.ts +2 -0
  29. package/dist/components/web/Indicator/Indicator/indicator.web.d.ts +4 -0
  30. package/dist/components/web/Indicator/Indicator/indicator_styles.web.d.ts +4 -0
  31. package/dist/components/web/Indicator/Indicator/indicator_types.web.d.ts +28 -0
  32. package/dist/index.native.js +1 -1
  33. package/dist/index.native.js.map +1 -1
  34. package/dist/index.web.js +1 -1
  35. package/dist/index.web.js.map +1 -1
  36. package/package.json +1 -1
@@ -9,6 +9,8 @@ export { default as RoundedButton } from './native/Buttons/RoundedButton/index.n
9
9
  export { default as ButtonIcon } from './native/Buttons/ButtonIcon/index.native';
10
10
  export { default as BrandButton } from './native/Buttons/BrandButton/index.native';
11
11
  export { default as SegmentedButton } from './native/Buttons/SegmentedButton/index.native';
12
+ export { default as Indicator } from './native/Indicator/Indicator/index.native';
13
+ export { default as Avatar } from './native/Avatars/Avatar/index.native';
12
14
  export { default as CheckIcon } from './native/Icons/icons/check';
13
15
  export { default as InfoIcon } from './native/Icons/icons/info';
14
16
  export { default as ChevronDownIcon } from './native/Icons/icons/chevronDown';
@@ -8,6 +8,8 @@ export { default as RoundedButton } from './web/Buttons/RoundedButton/index.web'
8
8
  export { default as ButtonIcon } from './web/Buttons/ButtonIcon/index.web';
9
9
  export { default as BrandButton } from './web/Buttons/BrandButton/index.web';
10
10
  export { default as SegmentedButton } from './web/Buttons/SegmentedButton/index.web';
11
+ export { default as Indicator } from './web/Indicator/Indicator/index.web';
12
+ export { default as Avatar } from './web/Avatars/Avatar/index.web';
11
13
  export { default as CheckIcon } from './web/Icons/icons/check';
12
14
  export { default as InfoIcon } from './web/Icons/icons/info';
13
15
  export { default as ChevronDownIcon } from './web/Icons/icons/chevronDown';
@@ -0,0 +1,214 @@
1
+ import { ColorsType, StyleType } from '../../../../utils/theming';
2
+ import { AvatarType } from './Avatar.types.native';
3
+ export declare const createColorMap: (Colors: ColorsType) => {
4
+ white: {
5
+ enable: {
6
+ backgroundColor: string;
7
+ iconColor: string;
8
+ };
9
+ hover: {
10
+ backgroundColor: string;
11
+ iconColor: string;
12
+ };
13
+ disable: {
14
+ backgroundColor: string;
15
+ iconColor: string;
16
+ };
17
+ };
18
+ black: {
19
+ enable: {
20
+ backgroundColor: string;
21
+ iconColor: string;
22
+ };
23
+ hover: {
24
+ backgroundColor: string;
25
+ iconColor: string;
26
+ };
27
+ disable: {
28
+ backgroundColor: string;
29
+ iconColor: string;
30
+ };
31
+ };
32
+ purple: {
33
+ enable: {
34
+ backgroundColor: string;
35
+ iconColor: string;
36
+ };
37
+ hover: {
38
+ backgroundColor: string;
39
+ iconColor: string;
40
+ };
41
+ disable: {
42
+ backgroundColor: string;
43
+ iconColor: string;
44
+ };
45
+ };
46
+ lightPurple: {
47
+ enable: {
48
+ backgroundColor: string;
49
+ iconColor: string;
50
+ };
51
+ hover: {
52
+ backgroundColor: string;
53
+ iconColor: string;
54
+ };
55
+ disable: {
56
+ backgroundColor: string;
57
+ iconColor: string;
58
+ };
59
+ };
60
+ red: {
61
+ enable: {
62
+ backgroundColor: string;
63
+ iconColor: string;
64
+ };
65
+ hover: {
66
+ backgroundColor: string;
67
+ iconColor: string;
68
+ };
69
+ disable: {
70
+ backgroundColor: string;
71
+ iconColor: string;
72
+ };
73
+ };
74
+ green: {
75
+ enable: {
76
+ backgroundColor: string;
77
+ iconColor: string;
78
+ };
79
+ hover: {
80
+ backgroundColor: string;
81
+ iconColor: string;
82
+ };
83
+ disable: {
84
+ backgroundColor: string;
85
+ iconColor: string;
86
+ };
87
+ };
88
+ yellow: {
89
+ enable: {
90
+ backgroundColor: string;
91
+ iconColor: string;
92
+ };
93
+ hover: {
94
+ backgroundColor: string;
95
+ iconColor: string;
96
+ };
97
+ disable: {
98
+ backgroundColor: string;
99
+ iconColor: string;
100
+ };
101
+ };
102
+ blue: {
103
+ enable: {
104
+ backgroundColor: string;
105
+ iconColor: string;
106
+ };
107
+ hover: {
108
+ backgroundColor: string;
109
+ iconColor: string;
110
+ };
111
+ disable: {
112
+ backgroundColor: string;
113
+ iconColor: string;
114
+ };
115
+ };
116
+ teal: {
117
+ enable: {
118
+ backgroundColor: string;
119
+ iconColor: string;
120
+ };
121
+ hover: {
122
+ backgroundColor: string;
123
+ iconColor: string;
124
+ };
125
+ disable: {
126
+ backgroundColor: string;
127
+ iconColor: string;
128
+ };
129
+ };
130
+ lightTeal: {
131
+ enable: {
132
+ backgroundColor: string;
133
+ iconColor: string;
134
+ };
135
+ hover: {
136
+ backgroundColor: string;
137
+ iconColor: string;
138
+ };
139
+ disable: {
140
+ backgroundColor: string;
141
+ iconColor: string;
142
+ };
143
+ };
144
+ grey: {
145
+ enable: {
146
+ backgroundColor: string;
147
+ iconColor: string;
148
+ };
149
+ hover: {
150
+ backgroundColor: string;
151
+ iconColor: string;
152
+ };
153
+ disable: {
154
+ backgroundColor: string;
155
+ iconColor: string;
156
+ };
157
+ };
158
+ pink: {
159
+ enable: {
160
+ backgroundColor: string;
161
+ iconColor: string;
162
+ };
163
+ hover: {
164
+ backgroundColor: string;
165
+ iconColor: string;
166
+ };
167
+ disable: {
168
+ backgroundColor: string;
169
+ iconColor: string;
170
+ };
171
+ };
172
+ lightPink: {
173
+ enable: {
174
+ backgroundColor: string;
175
+ iconColor: string;
176
+ };
177
+ hover: {
178
+ backgroundColor: string;
179
+ iconColor: string;
180
+ };
181
+ disable: {
182
+ backgroundColor: string;
183
+ iconColor: string;
184
+ };
185
+ };
186
+ };
187
+ export declare const avatarBgColorMap: (Colors: ColorsType) => {
188
+ black: string;
189
+ purple: string;
190
+ pink: string;
191
+ teal: string;
192
+ gray: string;
193
+ };
194
+ export declare const avatarContainerSizeMap: Record<string, any>;
195
+ export declare const avatarSizeMap: Record<string, any>;
196
+ export declare const avatarBorderRadiousMap: Record<string, any>;
197
+ export declare const avatarFontsMap: (fonts: StyleType) => {
198
+ '2xl': import("../../../../styles/Fonts").FontsStyle;
199
+ large: import("../../../../styles/Fonts").FontsStyle;
200
+ medium: import("../../../../styles/Fonts").FontsStyle;
201
+ small: import("../../../../styles/Fonts").FontsStyle;
202
+ };
203
+ export declare const avatarIndicatorSizeMap: Record<string, string>;
204
+ export declare const avatarButtonIconSizeMap: Record<string, string>;
205
+ export declare const getAvatarGeneralStyles: (colors: ColorsType, size: string, color: string, type?: AvatarType, image?: string) => {
206
+ backgroundColor: any;
207
+ backgroundImage: any;
208
+ borderRadius: any;
209
+ height: any;
210
+ width: any;
211
+ };
212
+ export declare const getAvatarPaddings: (size: string) => "8px" | "12px";
213
+ export declare const getAvatarMinSize: (size: string) => 48 | 40 | 32;
214
+ export declare const getAvatarTextStyles: (fontStyles: StyleType, colors: ColorsType, size: string) => any;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { AvatarProps } from './Avatar.types.native';
3
+ declare const Avatar: (props: React.PropsWithChildren<AvatarProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Avatar;
@@ -0,0 +1,57 @@
1
+ import { ButtonIconColor, ButtonIconState } from '../../Buttons/ButtonIcon/ButtonIcon.types.native';
2
+ import { IconSize, IconStyle } from '../../Icons/icon_types';
3
+ import { IndicatorColor, IndicatorType } from '../../Indicator/Indicator/indicator_types.native';
4
+ export type Size = 'large' | 'medium' | 'small';
5
+ export type AvatarForm = 'square' | 'round';
6
+ export type AvatarType = 'image' | 'initials';
7
+ export type AvatarSize = '2xl' | 'large' | 'medium' | 'small';
8
+ export type AvatarColor = 'gray' | 'teal' | 'pink' | 'purple' | 'black';
9
+ export interface AvatarProps {
10
+ type: AvatarType;
11
+ image?: string;
12
+ text?: string;
13
+ size: AvatarSize;
14
+ color?: AvatarColor;
15
+ showIndicator?: boolean;
16
+ indicator?: {
17
+ color?: IndicatorColor;
18
+ type?: IndicatorType;
19
+ quantity?: number;
20
+ };
21
+ showButtonIcon?: boolean;
22
+ buttonIcon?: {
23
+ color?: ButtonIconColor;
24
+ state?: ButtonIconState;
25
+ Icon?: React.FC<{
26
+ size: IconSize;
27
+ style: IconStyle;
28
+ color: string;
29
+ }>;
30
+ onPress: (x?: any) => void;
31
+ };
32
+ containerStyle?: any;
33
+ }
34
+ export type AvatarCircleSize = {
35
+ '2xl': 109;
36
+ xl: 78.1;
37
+ large: 6.1;
38
+ medium: 40;
39
+ small: 32;
40
+ xsmall: 24.4;
41
+ };
42
+ export type AvatarIndicatorSize = {
43
+ '2xl': 24;
44
+ xl: 22;
45
+ large: 12;
46
+ medium: 10;
47
+ small: 8;
48
+ xsmall: 4;
49
+ };
50
+ export type AvatarFontStyle = {
51
+ '2xl': 'heading2';
52
+ xl: 'heading4';
53
+ large: 'heading5';
54
+ medium: 'bodyBoldMD';
55
+ small: 'bodyBoldSmall';
56
+ xsmall: 'bodyBoldCap';
57
+ };
@@ -0,0 +1,2 @@
1
+ import Avatar from './Avatar.native';
2
+ export default Avatar;
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ avatarCircle: {
3
+ display: "flex";
4
+ alignItems: "center";
5
+ justifyContent: "center";
6
+ flexDirection: "row";
7
+ gap: number;
8
+ borderWidth: number;
9
+ position: "relative";
10
+ };
11
+ };
12
+ export default _default;
@@ -4,16 +4,28 @@ export declare const createColorMap: (Colors: ColorsType) => {
4
4
  enable: {
5
5
  backgroundColor: string;
6
6
  iconColor: string;
7
+ borderColor: string;
8
+ };
9
+ hover: {
10
+ backgroundColor: string;
11
+ iconColor: string;
12
+ borderColor: string;
7
13
  };
8
14
  disable: {
9
15
  backgroundColor: string;
10
16
  iconColor: string;
11
17
  };
12
18
  };
13
- black: {
19
+ grey: {
14
20
  enable: {
15
21
  backgroundColor: string;
16
22
  iconColor: string;
23
+ borderColor: string;
24
+ };
25
+ hover: {
26
+ backgroundColor: string;
27
+ iconColor: string;
28
+ borderColor: string;
17
29
  };
18
30
  disable: {
19
31
  backgroundColor: string;
@@ -24,6 +36,12 @@ export declare const createColorMap: (Colors: ColorsType) => {
24
36
  enable: {
25
37
  backgroundColor: string;
26
38
  iconColor: string;
39
+ borderColor: string;
40
+ };
41
+ hover: {
42
+ backgroundColor: string;
43
+ iconColor: string;
44
+ borderColor: string;
27
45
  };
28
46
  disable: {
29
47
  backgroundColor: string;
@@ -34,6 +52,12 @@ export declare const createColorMap: (Colors: ColorsType) => {
34
52
  enable: {
35
53
  backgroundColor: string;
36
54
  iconColor: string;
55
+ borderColor: string;
56
+ };
57
+ hover: {
58
+ backgroundColor: string;
59
+ iconColor: string;
60
+ borderColor: string;
37
61
  };
38
62
  disable: {
39
63
  backgroundColor: string;
@@ -44,6 +68,12 @@ export declare const createColorMap: (Colors: ColorsType) => {
44
68
  enable: {
45
69
  backgroundColor: string;
46
70
  iconColor: string;
71
+ borderColor: string;
72
+ };
73
+ hover: {
74
+ backgroundColor: string;
75
+ iconColor: string;
76
+ borderColor: string;
47
77
  };
48
78
  disable: {
49
79
  backgroundColor: string;
@@ -54,6 +84,12 @@ export declare const createColorMap: (Colors: ColorsType) => {
54
84
  enable: {
55
85
  backgroundColor: string;
56
86
  iconColor: string;
87
+ borderColor: string;
88
+ };
89
+ hover: {
90
+ backgroundColor: string;
91
+ iconColor: string;
92
+ borderColor: string;
57
93
  };
58
94
  disable: {
59
95
  backgroundColor: string;
@@ -64,6 +100,12 @@ export declare const createColorMap: (Colors: ColorsType) => {
64
100
  enable: {
65
101
  backgroundColor: string;
66
102
  iconColor: string;
103
+ borderColor: string;
104
+ };
105
+ hover: {
106
+ backgroundColor: string;
107
+ iconColor: string;
108
+ borderColor: string;
67
109
  };
68
110
  disable: {
69
111
  backgroundColor: string;
@@ -74,6 +116,12 @@ export declare const createColorMap: (Colors: ColorsType) => {
74
116
  enable: {
75
117
  backgroundColor: string;
76
118
  iconColor: string;
119
+ borderColor: string;
120
+ };
121
+ hover: {
122
+ backgroundColor: string;
123
+ iconColor: string;
124
+ borderColor: string;
77
125
  };
78
126
  disable: {
79
127
  backgroundColor: string;
@@ -84,6 +132,12 @@ export declare const createColorMap: (Colors: ColorsType) => {
84
132
  enable: {
85
133
  backgroundColor: string;
86
134
  iconColor: string;
135
+ borderColor: string;
136
+ };
137
+ hover: {
138
+ backgroundColor: string;
139
+ iconColor: string;
140
+ borderColor: string;
87
141
  };
88
142
  disable: {
89
143
  backgroundColor: string;
@@ -94,16 +148,28 @@ export declare const createColorMap: (Colors: ColorsType) => {
94
148
  enable: {
95
149
  backgroundColor: string;
96
150
  iconColor: string;
151
+ borderColor: string;
152
+ };
153
+ hover: {
154
+ backgroundColor: string;
155
+ iconColor: string;
156
+ borderColor: string;
97
157
  };
98
158
  disable: {
99
159
  backgroundColor: string;
100
160
  iconColor: string;
101
161
  };
102
162
  };
103
- grey: {
163
+ lightGrey: {
104
164
  enable: {
105
165
  backgroundColor: string;
106
166
  iconColor: string;
167
+ borderColor: string;
168
+ };
169
+ hover: {
170
+ backgroundColor: string;
171
+ iconColor: string;
172
+ borderColor: string;
107
173
  };
108
174
  disable: {
109
175
  backgroundColor: string;
@@ -114,6 +180,12 @@ export declare const createColorMap: (Colors: ColorsType) => {
114
180
  enable: {
115
181
  backgroundColor: string;
116
182
  iconColor: string;
183
+ borderColor: string;
184
+ };
185
+ hover: {
186
+ backgroundColor: string;
187
+ iconColor: string;
188
+ borderColor: string;
117
189
  };
118
190
  disable: {
119
191
  backgroundColor: string;
@@ -124,6 +196,12 @@ export declare const createColorMap: (Colors: ColorsType) => {
124
196
  enable: {
125
197
  backgroundColor: string;
126
198
  iconColor: string;
199
+ borderColor: string;
200
+ };
201
+ hover: {
202
+ backgroundColor: string;
203
+ iconColor: string;
204
+ borderColor: string;
127
205
  };
128
206
  disable: {
129
207
  backgroundColor: string;
@@ -131,9 +209,10 @@ export declare const createColorMap: (Colors: ColorsType) => {
131
209
  };
132
210
  };
133
211
  };
134
- export declare const getButtonIconGeneralStyles: (colors: ColorsType, color: string, style: string, state: string, size: string) => {
135
- minHeight: number;
212
+ export declare const getButtonIconGeneralStyles: (colors: ColorsType, color: string, style: string, state: string, icon: any, size: string, showStroke?: boolean) => {
213
+ height: number;
136
214
  width: number;
215
+ border: string;
137
216
  paddingVertical: number;
138
217
  paddingHorizontal: number;
139
218
  backgroundColor: any;
@@ -141,11 +220,17 @@ export declare const getButtonIconGeneralStyles: (colors: ColorsType, color: str
141
220
  cursor: string;
142
221
  borderRadius: number;
143
222
  };
223
+ export declare const borderWidthMap: Record<string, number>;
224
+ export declare const indicatorSizeMap: Record<string, string>;
225
+ export declare const paddingMap: Record<string, number>;
144
226
  export declare const getButtonIconPaddings: (size: string) => {
145
227
  paddingVertical: number;
146
228
  paddingHorizontal: number;
147
229
  };
148
- export declare const getButtonIconMinSize: (size: string) => 48 | 40 | 32;
230
+ export declare const iconSizeMap: Record<string, any>;
231
+ export declare const getIconSize: (icon: any, size: string) => any;
232
+ export declare const buttonIconSizeMap: Record<string, number>;
233
+ export declare const getButtonIconMinSize: (icon: any, size: string) => number;
149
234
  export declare const getButtonIconContentStyles: (fontStyles: StyleType, colors: ColorsType, color: string, state: string) => {
150
235
  styles: {
151
236
  lineHeight: number | undefined;
@@ -1,8 +1,9 @@
1
1
  import { IconSize, IconStyle } from '../../Icons/icon_types';
2
- export type ButtonIconColor = 'yellow' | 'red' | 'grey' | 'white' | 'purple' | 'lightPurple' | 'green' | 'blue' | 'teal' | 'lightTeal' | 'pink' | 'lightPink';
3
- export type ButtonIconState = 'enable' | 'disable';
2
+ import { IndicatorColor } from '../../Indicator/Indicator/indicator_types.native';
3
+ export type ButtonIconColor = 'yellow' | 'red' | 'grey' | 'lightGrey' | 'white' | 'purple' | 'lightPurple' | 'green' | 'blue' | 'teal' | 'lightTeal' | 'pink' | 'lightPink';
4
+ export type ButtonIconState = 'enable' | 'hover' | 'disable';
4
5
  export type ButtonIconStyle = 'square' | 'round';
5
- export type Size = 'large' | 'medium' | 'small';
6
+ export type Size = '2xlarge' | 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall' | '2xsmall' | '3xsmall';
6
7
  export type ButtonIconForm = 'square' | 'round';
7
8
  export interface ButtonIconProps {
8
9
  color?: ButtonIconColor;
@@ -14,5 +15,12 @@ export interface ButtonIconProps {
14
15
  style: IconStyle;
15
16
  color: string;
16
17
  }>;
18
+ showIndicator?: boolean;
19
+ indicator?: {
20
+ quantity?: number;
21
+ color?: IndicatorColor;
22
+ };
23
+ showStroke?: boolean;
24
+ containerStyle?: any;
17
25
  onPress?: (x?: any) => void;
18
26
  }
@@ -6,6 +6,7 @@ declare const _default: {
6
6
  flexDirection: "row";
7
7
  gap: number;
8
8
  borderWidth: number;
9
+ position: "relative";
9
10
  };
10
11
  };
11
12
  export default _default;
@@ -1,9 +1,11 @@
1
1
  export type IconSize = '16' | '24' | '32';
2
- export type IconExtendedSize = '12' | '16' | '24' | '32';
2
+ export type IconExtendedSize = '6' | '8' | '12' | '16' | '24' | '32';
3
3
  export type GatacaLogoIconSize = '12' | '16' | '24' | '32' | '64' | '71';
4
4
  export type LoaderPrototipeIconSize = '24' | '40';
5
5
  export type IconStyle = 'outline' | 'filled';
6
6
  export declare const iconStrokeWidthBySize: {
7
+ '6': string;
8
+ '8': string;
7
9
  '12': string;
8
10
  '16': string;
9
11
  '24': string;
@@ -1,6 +1,6 @@
1
- import { IconSize } from '../icon_types';
1
+ import { IconExtendedSize, IconSize } from '../icon_types';
2
2
  type CameraIconProps = {
3
- size: IconSize;
3
+ size: IconSize | IconExtendedSize;
4
4
  color?: string;
5
5
  };
6
6
  declare const CameraIcon: (props: CameraIconProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
- import { IconSize } from '../icon_types';
1
+ import { IconExtendedSize, IconSize } from '../icon_types';
2
2
  type CheckIconProps = {
3
- size: IconSize;
3
+ size: IconSize | IconExtendedSize;
4
4
  color?: string;
5
5
  };
6
6
  declare const CheckIcon: (props: CheckIconProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import Indicator from './indicator.native';
2
+ export default Indicator;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IndicatorProps } from './indicator_types.native';
3
+ declare const Indicator: (props: React.PropsWithChildren<IndicatorProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Indicator;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ indicatorContainer: {
3
+ display: "flex";
4
+ justifyContent: "center";
5
+ alignItems: "center";
6
+ gap: number;
7
+ flexShrink: number;
8
+ };
9
+ indicatorText: {
10
+ minWidth: "100%";
11
+ textAlign: "center";
12
+ alignSelf: "center";
13
+ };
14
+ };
15
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { StyleType } from '../../../../styles';
2
+ import { ColorsType } from '../../../../styles/Colors';
3
+ export type IndicatorColor = 'purple' | 'green' | 'red' | 'blue';
4
+ export type IndicatorSize = '28' | '16' | '14' | '10' | '8' | '5' | '4';
5
+ export type IndicatorType = 'quantity' | 'status';
6
+ export interface IndicatorProps {
7
+ size: IndicatorSize;
8
+ color: IndicatorColor;
9
+ type: IndicatorType;
10
+ quantity?: number;
11
+ containerStyle?: any;
12
+ }
13
+ export declare const IndicatorBorderWidthySize: Record<string, number>;
14
+ export declare const createBgColorMap: (Colors: ColorsType) => {
15
+ purple: string;
16
+ red: string;
17
+ green: string;
18
+ blue: string;
19
+ };
20
+ export declare const fontMap: (fontStyles: StyleType) => {
21
+ '28': import("../../../../styles").FontsStyle;
22
+ '16': import("../../../../styles").FontsStyle;
23
+ '14': import("../../../../styles").FontsStyle;
24
+ '10': import("../../../../styles").FontsStyle;
25
+ '8': import("../../../../styles").FontsStyle;
26
+ '5': import("../../../../styles").FontsStyle;
27
+ '4': import("../../../../styles").FontsStyle;
28
+ };