etendo-ui-library 1.0.80 → 1.0.82

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 (35) hide show
  1. package/components/button/Button.stories.tsx +2 -2
  2. package/components/button/Button.styles.tsx +28 -36
  3. package/components/button/Button.tsx +9 -16
  4. package/components/button/__snapshots__/Button.test.tsx.snap +1 -1
  5. package/components/cards/cardDropdown/CardDropdown.stories.tsx +51 -25
  6. package/components/cards/cardDropdown/CardDropdown.styles.ts +65 -60
  7. package/components/cards/cardDropdown/component/CardDropdownOptions.tsx +5 -5
  8. package/components/docs/screens/changelog/ChangeLogScreen.style.ts +6 -6
  9. package/components/docs/screens/getStarted/GetStartedScreen.style.ts +15 -10
  10. package/components/index.ts +1 -12
  11. package/components/input/Input.style.tsx +33 -33
  12. package/components/input/components/InputOptions.tsx +3 -4
  13. package/components/input/components/InputTitle.tsx +2 -2
  14. package/components/navbar/Navbar.styles.ts +2 -2
  15. package/components/navbar/components/DrawerLateral/DrawerLateral.styles.ts +16 -16
  16. package/components/navbar/components/DrawerLateral/DrawerLateralHelper.tsx +6 -6
  17. package/components/navbar/components/DrawerLateral/DrawerLateralSubMenu.tsx +2 -2
  18. package/components/navbar/components/EtendoLogo/EtendoLogo.tsx +2 -2
  19. package/components/navbar/components/MenuBurger/MenuBurger.tsx +2 -2
  20. package/components/navbar/components/Notification/Notification.styles.ts +16 -17
  21. package/components/navbar/components/Notification/Notification.tsx +4 -4
  22. package/components/navbar/components/Notification/NotificationsOptions.tsx +6 -12
  23. package/components/navbar/components/Profile/Profile.styles.ts +19 -19
  24. package/components/navbar/components/Profile/ProfileOptions.tsx +4 -4
  25. package/components/navbar/components/Welcome/Welcome.styles.ts +3 -3
  26. package/components/navbar/components/Welcome/Welcome.tsx +3 -2
  27. package/components/pagination/Pagination.styles.tsx +3 -2
  28. package/components/states/componentsStates/ComponentsStatesScreen.style.ts +4 -4
  29. package/components/statusbar/StatusBar.stories.tsx +3 -4
  30. package/components/statusbar/StatusBar.styles.tsx +13 -13
  31. package/components/tab/Tab.tsx +7 -13
  32. package/components/table/Table.styles.ts +17 -12
  33. package/helpers/table_utils.ts +3 -3
  34. package/package.json +1 -1
  35. package/styles/colors.ts +38 -47
@@ -6,7 +6,7 @@ import {View} from 'react-native';
6
6
  import {styles} from './Button.styles';
7
7
  import addMarginContainer from '../../helpers/addMargin';
8
8
  import {CheckIcon} from '../../assets/images/icons/CheckIcon';
9
- import {WHITE} from '../../styles/colors';
9
+ import { NEUTRALS_0 } from '../../styles/colors';
10
10
 
11
11
  const meta: Meta = {
12
12
  title: 'Etendo/Button',
@@ -29,7 +29,7 @@ const Template1: Story<ButtonProps> = args => (
29
29
  onPress={() => {}}
30
30
  image={
31
31
  <CheckIcon
32
- fill={WHITE}
32
+ fill={NEUTRALS_0}
33
33
  style={{
34
34
  marginRight: 10,
35
35
  width: 12,
@@ -1,19 +1,11 @@
1
1
  import {StyleSheet} from 'react-native';
2
- import {
3
- BLUE,
4
- GREY_BLUE_50,
5
- PURPLE_10,
6
- PURPLE_50,
7
- WHITE,
8
- YELLOW,
9
- YELLOW_30,
10
- } from '../../styles/colors';
2
+ import { NEUTRALS_0, PRIMARY_100, QUATERNARY_10, QUATERNARY_50, SECONDARY_100, SECONDARY_30, TERTIARY_50 } from '../../styles/colors';
11
3
  import {buttonStyleVariant} from './Button.types';
12
4
 
13
5
  export const ButtonStyleVariant: buttonStyleVariant = {
14
6
  primary: {
15
7
  container: {
16
- backgroundColor: BLUE,
8
+ backgroundColor: PRIMARY_100,
17
9
  borderRadius: 5,
18
10
  flexDirection: 'row',
19
11
  justifyContent: 'center',
@@ -22,25 +14,25 @@ export const ButtonStyleVariant: buttonStyleVariant = {
22
14
  padding: 24,
23
15
  },
24
16
  text: {
25
- color: WHITE,
17
+ color: NEUTRALS_0,
26
18
  fontWeight: '600',
27
19
  },
28
20
  containerDisabled: {
29
- backgroundColor: GREY_BLUE_50,
21
+ backgroundColor: QUATERNARY_50,
30
22
  borderRadius: 5,
31
23
  flexDirection: 'row',
32
24
  justifyContent: 'center',
33
25
  alignItems: 'center',
34
26
  },
35
27
  textDisabled: {
36
- color: WHITE,
28
+ color: NEUTRALS_0,
37
29
  fontWeight: 'bold',
38
30
  },
39
- imageColor: WHITE,
31
+ imageColor: NEUTRALS_0,
40
32
  },
41
33
  secondary: {
42
34
  container: {
43
- backgroundColor: YELLOW,
35
+ backgroundColor: SECONDARY_100,
44
36
  borderRadius: 5,
45
37
  flexDirection: 'row',
46
38
  alignItems: 'center',
@@ -48,25 +40,25 @@ export const ButtonStyleVariant: buttonStyleVariant = {
48
40
  padding: 24,
49
41
  },
50
42
  text: {
51
- color: BLUE,
43
+ color: PRIMARY_100,
52
44
  fontWeight: 'bold',
53
45
  },
54
46
  containerDisabled: {
55
- backgroundColor: YELLOW_30,
47
+ backgroundColor: SECONDARY_30,
56
48
  borderRadius: 5,
57
49
  flexDirection: 'row',
58
50
  justifyContent: 'center',
59
51
  alignItems: 'center',
60
52
  },
61
53
  textDisabled: {
62
- color: GREY_BLUE_50,
54
+ color: QUATERNARY_50,
63
55
  fontWeight: 'bold',
64
56
  },
65
- imageColor: BLUE,
57
+ imageColor: PRIMARY_100,
66
58
  },
67
59
  terciary: {
68
60
  container: {
69
- backgroundColor: PURPLE_50,
61
+ backgroundColor: QUATERNARY_50,
70
62
  borderRadius: 5,
71
63
  flexDirection: 'row',
72
64
  justifyContent: 'center',
@@ -74,55 +66,55 @@ export const ButtonStyleVariant: buttonStyleVariant = {
74
66
  padding: 24,
75
67
  },
76
68
  text: {
77
- color: BLUE,
69
+ color: PRIMARY_100,
78
70
  fontWeight: 'bold',
79
71
  },
80
72
  containerDisabled: {
81
- backgroundColor: PURPLE_10,
73
+ backgroundColor: QUATERNARY_10,
82
74
  borderRadius: 5,
83
75
  flexDirection: 'row',
84
76
  justifyContent: 'center',
85
77
  alignItems: 'center',
86
78
  },
87
79
  textDisabled: {
88
- color: GREY_BLUE_50,
80
+ color: TERTIARY_50,
89
81
  fontWeight: 'bold',
90
82
  },
91
- imageColor: BLUE,
83
+ imageColor: PRIMARY_100,
92
84
  },
93
85
  whiteBorder: {
94
86
  container: {
95
- backgroundColor: WHITE,
87
+ backgroundColor: NEUTRALS_0,
96
88
  borderRadius: 5,
97
89
  flexDirection: 'row',
98
90
  borderWidth: 2,
99
- borderColor: BLUE,
91
+ borderColor: PRIMARY_100,
100
92
  justifyContent: 'center',
101
93
  alignItems: 'center',
102
94
  padding: 24,
103
95
  },
104
96
  text: {
105
- color: BLUE,
97
+ color: PRIMARY_100,
106
98
  fontWeight: 'bold',
107
99
  },
108
100
  containerDisabled: {
109
- backgroundColor: WHITE,
101
+ backgroundColor: NEUTRALS_0,
110
102
  borderRadius: 5,
111
103
  flexDirection: 'row',
112
104
  borderWidth: 2,
113
- borderColor: GREY_BLUE_50,
105
+ borderColor: TERTIARY_50,
114
106
  justifyContent: 'center',
115
107
  alignItems: 'center',
116
108
  },
117
109
  textDisabled: {
118
- color: GREY_BLUE_50,
110
+ color: TERTIARY_50,
119
111
  fontWeight: 'bold',
120
112
  },
121
- imageColor: BLUE,
113
+ imageColor: PRIMARY_100,
122
114
  },
123
115
  white: {
124
116
  container: {
125
- backgroundColor: WHITE,
117
+ backgroundColor: NEUTRALS_0,
126
118
  borderRadius: 5,
127
119
  flexDirection: 'row',
128
120
  justifyContent: 'center',
@@ -130,21 +122,21 @@ export const ButtonStyleVariant: buttonStyleVariant = {
130
122
  padding: 24,
131
123
  },
132
124
  text: {
133
- color: BLUE,
125
+ color: PRIMARY_100,
134
126
  fontWeight: 'bold',
135
127
  },
136
128
  containerDisabled: {
137
- backgroundColor: WHITE,
129
+ backgroundColor: NEUTRALS_0,
138
130
  borderRadius: 5,
139
131
  flexDirection: 'row',
140
132
  justifyContent: 'center',
141
133
  alignItems: 'center',
142
134
  },
143
135
  textDisabled: {
144
- color: GREY_BLUE_50,
136
+ color: TERTIARY_50,
145
137
  fontWeight: 'bold',
146
138
  },
147
- imageColor: BLUE,
139
+ imageColor: PRIMARY_100,
148
140
  },
149
141
  };
150
142
 
@@ -1,13 +1,6 @@
1
1
  import React, {useState} from 'react';
2
2
  import {Pressable, Text, View} from 'react-native';
3
- import {
4
- BLUE,
5
- BLUE_80,
6
- LIGHT_PURPLE_60,
7
- PURPLE,
8
- WHITE,
9
- YELLOW_50,
10
- } from '../../styles/colors';
3
+ import { NEUTRALS_100, PRIMARY_100, PRIMARY_80, QUATERNARY_100, QUATERNARY_50, SECONDARY_50 } from '../../styles/colors';
11
4
  import {ButtonStyleVariant} from './Button.styles';
12
5
  import {ButtonProps, ButtonStyleType} from './Button.types';
13
6
 
@@ -25,25 +18,25 @@ const Button = ({
25
18
  const getHoveredBackgroundColor = (backgroundColor: ButtonStyleType) => {
26
19
  switch (backgroundColor) {
27
20
  case 'primary':
28
- return BLUE_80;
21
+ return PRIMARY_80;
29
22
  case 'secondary':
30
- return YELLOW_50;
23
+ return SECONDARY_50;
31
24
  case 'terciary':
32
- return LIGHT_PURPLE_60;
25
+ return QUATERNARY_50;
33
26
  case 'whiteBorder':
34
- return BLUE;
27
+ return PRIMARY_100;
35
28
  }
36
29
  };
37
30
  const getHoveredTextColorAndViewColor = (typeStyle: ButtonStyleType) => {
38
31
  switch (typeStyle) {
39
32
  case 'white':
40
- return PURPLE;
33
+ return QUATERNARY_100;
41
34
  case 'whiteBorder':
42
- return WHITE;
35
+ return NEUTRALS_100;
43
36
  case 'primary':
44
- return WHITE;
37
+ return NEUTRALS_100;
45
38
  default:
46
- return BLUE;
39
+ return PRIMARY_100;
47
40
  }
48
41
  };
49
42
 
@@ -18,7 +18,7 @@ exports[`Running Test for Input Check Button disabled 1`] = `
18
18
  Array [
19
19
  Object {
20
20
  "alignItems": "center",
21
- "backgroundColor": "#D3D6E1",
21
+ "backgroundColor": "#DDDFF6",
22
22
  "borderRadius": 5,
23
23
  "flexDirection": "row",
24
24
  "justifyContent": "center",
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import {Story, Meta} from '@storybook/react';
3
- import {View,ScrollView} from 'react-native';
3
+ import {View,ScrollView, Text} from 'react-native';
4
4
  import addMarginContainer from '../../../helpers/addMargin';
5
5
  import CardDropdown from './CardDropdown';
6
6
  import {DeliveryBox} from '../../../assets/images/icons/DeliveryBox';
@@ -8,9 +8,8 @@ import {UsersIcon} from '../../../assets/images/icons/UsersIcon';
8
8
  import {Binoculars} from '../../../assets/images/icons/Binoculars';
9
9
  import {DocumentIcon} from '../../../assets/images/icons/DocumentIcon';
10
10
  import {CardDrpopdownProps} from './CardDropdown.types';
11
- import CardDropdownSkeleton from './component/CardDropdownSkeleton';
12
- import CardSkeleton from './component/CardSkeleton';
13
11
  import {styles} from './CardDropdown.styles';
12
+ import {styles as stylesTitle} from '../../docs/screens/changelog/ChangeLogScreen.style';
14
13
  import { cardDataDropdown } from './CardDropdown.data';
15
14
 
16
15
  const meta: Meta = {
@@ -26,7 +25,9 @@ const TemplateDefault: Story<CardDrpopdownProps> = args => (
26
25
  );
27
26
 
28
27
  const TemplateVariants: Story<CardDrpopdownProps> = args => (
29
- <ScrollView style={[addMarginContainer()]}>
28
+ <ScrollView horizontal={true} style={[addMarginContainer()]}>
29
+ <ScrollView>
30
+ <Text style={stylesTitle.title}>Dropdown</Text>
30
31
  <View style={styles.cardDropdownStoriesRow}>
31
32
  <View style={styles.cardDropdownStoriesContainer}>
32
33
  <CardDropdown
@@ -77,12 +78,9 @@ const TemplateVariants: Story<CardDrpopdownProps> = args => (
77
78
  />
78
79
  </View>
79
80
  </View>
81
+ <Text style={stylesTitle.title}>Card</Text>
80
82
  <View
81
- style={{
82
- display: 'flex',
83
- flexDirection: 'row',
84
- flexWrap: 'wrap',
85
- }}
83
+ style={styles.cardDropdownStoriesRow}
86
84
  >
87
85
  <View style={styles.cardDropdownStoriesContainer}>
88
86
  <CardDropdown
@@ -133,29 +131,57 @@ const TemplateVariants: Story<CardDrpopdownProps> = args => (
133
131
  />
134
132
  </View>
135
133
  </View>
136
- </ScrollView>
137
- );
138
- const TemplatePlaceholder: Story<CardDrpopdownProps> = args => (
139
- <ScrollView style={[styles.cardDropdownStoriesRow,addMarginContainer()]}>
140
- <View style={styles.cardDropdownStoriesSkeletonContainer}>
141
- <CardSkeleton styleType={'primary'} />
142
- </View>
143
- <View style={styles.cardDropdownStoriesSkeletonOptionContainer}>
144
- <CardDropdownSkeleton onClose={() => {}} styleType={'primary'} />
145
- </View>
146
- <View style={styles.cardDropdownStoriesSkeletonContainerBlue}>
147
- <CardSkeleton styleType={'secondary'} />
148
- </View>
149
- <View style={styles.cardDropdownStoriesSkeletonOptionContainerBlue}>
150
- <CardDropdownSkeleton onClose={() => {}} styleType={'secondary'} />
134
+ <Text style={stylesTitle.title}>Placeholder</Text>
135
+ <View
136
+ style={styles.cardDropdownStoriesRow}
137
+ >
138
+ <View style={styles.cardDropdownStoriesContainer}>
139
+ <CardDropdown
140
+ title={'Physical inventory'}
141
+ image={<DeliveryBox />}
142
+ route="/home"
143
+ onPress={route => {}}
144
+ styleType={'primary'}
145
+ disabled={false}
146
+ isDropdown={true}
147
+ />
148
+ </View>
149
+ <View style={styles.cardDropdownStoriesContainer}>
150
+ <CardDropdown
151
+ title={'Physical inventory'}
152
+ image={<DeliveryBox />}
153
+ route="/home"
154
+ onPress={route => {}}
155
+ styleType={'secondary'}
156
+ disabled={false}
157
+ isDropdown={true}
158
+ />
159
+ </View>
160
+ <View style={styles.cardDropdownStoriesContainer}>
161
+ <CardDropdown
162
+ route="/home"
163
+ onPress={route => {}}
164
+ styleType={'primary'}
165
+ isDropdown={false}
166
+ />
167
+ </View>
168
+ <View style={styles.cardDropdownStoriesContainer}>
169
+ <CardDropdown
170
+ route="/home"
171
+ onPress={route => {}}
172
+ dataOptions={cardDataDropdown}
173
+ styleType={'secondary'}
174
+ isDropdown={false}
175
+ />
176
+ </View>
151
177
  </View>
178
+ </ScrollView>
152
179
  </ScrollView>
153
180
  );
154
181
 
155
182
  export default meta;
156
183
  export const CardDropdownDefault = TemplateDefault.bind({});
157
184
  export const CardDropdownVariants = TemplateVariants.bind({});
158
- export const CardDropdownPlaceholder = TemplatePlaceholder.bind({});
159
185
 
160
186
  CardDropdownDefault.args = {
161
187
  title: 'Physical inventory',
@@ -1,21 +1,20 @@
1
1
  import {StyleSheet} from 'react-native';
2
2
  import {
3
- BLACK,
4
- BLACK_TRANSPARENT,
5
- BLUE,
6
- BLUE_30,
7
- BLUE_40,
8
- BLUE_50,
9
- BLUE_80,
10
- GREY_10,
11
- GREY_40,
12
- GREY_5,
13
- GREY_BLUE,
14
- GREY_BLUE_30,
15
- GREY_BLUE_50,
16
- PURPLE_50,
17
- WHITE,
18
- YELLOW,
3
+ NEUTRALS_0,
4
+ NEUTRALS_10,
5
+ NEUTRALS_100,
6
+ NEUTRALS_40,
7
+ NEUTRALS_5,
8
+ PRIMARY_100,
9
+ PRIMARY_30,
10
+ PRIMARY_40,
11
+ PRIMARY_50,
12
+ PRIMARY_80,
13
+ QUATERNARY_50,
14
+ SECONDARY_100,
15
+ TERTIARY_100,
16
+ TERTIARY_30,
17
+ TERTIARY_50,
19
18
  } from '../../../styles/colors';
20
19
  import {CardStyleVariant} from './CardDropdown.types';
21
20
 
@@ -222,7 +221,7 @@ export const styles = StyleSheet.create({
222
221
  borderRadius: 16,
223
222
  height: 168,
224
223
  overflow: 'hidden',
225
- backgroundColor: BLUE,
224
+ backgroundColor: PRIMARY_100,
226
225
  },
227
226
  cardDropdownStoriesSkeletonOptionContainer: {
228
227
  marginRight: 20,
@@ -237,52 +236,58 @@ export const styles = StyleSheet.create({
237
236
  width: 276,
238
237
  borderRadius: 16,
239
238
  overflow: 'hidden',
240
- backgroundColor: BLUE,
239
+ backgroundColor: PRIMARY_100,
241
240
  },
242
241
  cardDropdownStoriesContainer: {marginBottom: 20, marginRight: 20},
243
242
  });
244
243
 
245
244
  export const CardVariant: CardStyleVariant = {
246
245
  primary: {
247
- colorCardContainer: {backgroundColor: WHITE},
248
- colorCardImageContainer: {backgroundColor: PURPLE_50},
249
- colorCardTitle: {color: BLUE},
250
- colorCardOptionContainer: {backgroundColor: WHITE},
251
- colorCardOptionHeader: {backgroundColor: BLUE, borderBottomColor: WHITE},
252
- colorCardOptionHeaderTitle: {color: WHITE},
253
- colorCardItemContainer: {borderBottomColor: GREY_10},
254
- colorCardItemTitle: {color: BLUE},
255
- colorCardItemDescription: {color: GREY_BLUE},
256
- colorCardOptionSkeletonContainer: {borderBottomColor: GREY_10},
257
- colorCardItemImageContainer: {backgroundColor: PURPLE_50},
258
- colorCardOptionSkeletonItem: GREY_BLUE_30,
259
- colorCardOptionSkeletonHeaderItem: BLUE_80,
260
- colorCardArrowImageFill: BLUE,
261
- colorCardImageFill: BLUE,
262
- colorCardImageOptionFill: BLUE,
246
+ colorCardContainer: {backgroundColor: NEUTRALS_0},
247
+ colorCardImageContainer: {backgroundColor: QUATERNARY_50},
248
+ colorCardTitle: {color: PRIMARY_100},
249
+ colorCardOptionContainer: {backgroundColor: NEUTRALS_0},
250
+ colorCardOptionHeader: {
251
+ backgroundColor: PRIMARY_100,
252
+ borderBottomColor: NEUTRALS_0,
253
+ },
254
+ colorCardOptionHeaderTitle: {color: NEUTRALS_0},
255
+ colorCardItemContainer: {borderBottomColor: NEUTRALS_10},
256
+ colorCardItemTitle: {color: PRIMARY_100},
257
+ colorCardItemDescription: {color: TERTIARY_100},
258
+ colorCardOptionSkeletonContainer: {borderBottomColor: NEUTRALS_10},
259
+ colorCardItemImageContainer: {backgroundColor: QUATERNARY_50},
260
+ colorCardOptionSkeletonItem: TERTIARY_30,
261
+ colorCardOptionSkeletonHeaderItem: PRIMARY_80,
262
+ colorCardArrowImageFill: PRIMARY_100,
263
+ colorCardImageFill: PRIMARY_100,
264
+ colorCardImageOptionFill: PRIMARY_100,
263
265
  },
264
266
  secondary: {
265
- colorCardContainer: {backgroundColor: BLUE},
266
- colorCardImageContainer: {backgroundColor: BLUE_80},
267
- colorCardTitle: {color: WHITE},
268
- colorCardOptionContainer: {backgroundColor: BLUE},
269
- colorCardOptionHeader: {backgroundColor: BLUE, borderBottomColor: BLACK},
270
- colorCardOptionHeaderTitle: {color: WHITE},
271
- colorCardItemContainer: {borderBottomColor: BLACK},
272
- colorCardItemTitle: {color: WHITE},
273
- colorCardItemDescription: {color: GREY_BLUE_50},
274
- colorCardOptionSkeletonContainer: {borderBottomColor: BLACK},
275
- colorCardItemImageContainer: {backgroundColor: BLUE_80},
276
- colorCardOptionSkeletonItem: BLUE_80,
277
- colorCardOptionSkeletonHeaderItem: BLUE_80,
278
- colorCardArrowImageFill: WHITE,
279
- colorCardImageFill: YELLOW,
280
- colorCardImageOptionFill: WHITE,
267
+ colorCardContainer: {backgroundColor: PRIMARY_100},
268
+ colorCardImageContainer: {backgroundColor: PRIMARY_80},
269
+ colorCardTitle: {color: NEUTRALS_0},
270
+ colorCardOptionContainer: {backgroundColor: PRIMARY_100},
271
+ colorCardOptionHeader: {
272
+ backgroundColor: PRIMARY_100,
273
+ borderBottomColor: NEUTRALS_100,
274
+ },
275
+ colorCardOptionHeaderTitle: {color: NEUTRALS_0},
276
+ colorCardItemContainer: {borderBottomColor: NEUTRALS_100},
277
+ colorCardItemTitle: {color: NEUTRALS_0},
278
+ colorCardItemDescription: {color: TERTIARY_50},
279
+ colorCardOptionSkeletonContainer: {borderBottomColor: NEUTRALS_0},
280
+ colorCardItemImageContainer: {backgroundColor: PRIMARY_80},
281
+ colorCardOptionSkeletonItem: PRIMARY_80,
282
+ colorCardOptionSkeletonHeaderItem: PRIMARY_80,
283
+ colorCardArrowImageFill: NEUTRALS_0,
284
+ colorCardImageFill: SECONDARY_100,
285
+ colorCardImageOptionFill: NEUTRALS_0,
281
286
  },
282
287
  disabledPrimary: {
283
- colorCardContainer: {backgroundColor: GREY_5},
284
- colorCardImageContainer: {backgroundColor: GREY_10},
285
- colorCardTitle: {color: GREY_40},
288
+ colorCardContainer: {backgroundColor: NEUTRALS_5},
289
+ colorCardImageContainer: {backgroundColor: NEUTRALS_10},
290
+ colorCardTitle: {color: NEUTRALS_40},
286
291
  colorCardOptionContainer: {},
287
292
  colorCardOptionHeader: {},
288
293
  colorCardOptionHeaderTitle: {},
@@ -293,14 +298,14 @@ export const CardVariant: CardStyleVariant = {
293
298
  colorCardItemImageContainer: {},
294
299
  colorCardOptionSkeletonItem: '',
295
300
  colorCardOptionSkeletonHeaderItem: '',
296
- colorCardArrowImageFill: GREY_40,
297
- colorCardImageFill: GREY_40,
301
+ colorCardArrowImageFill: NEUTRALS_40,
302
+ colorCardImageFill: NEUTRALS_40,
298
303
  colorCardImageOptionFill: '',
299
304
  },
300
305
  disabledSecondary: {
301
- colorCardContainer: {backgroundColor: BLUE_40},
302
- colorCardImageContainer: {backgroundColor: BLUE_50},
303
- colorCardTitle: {color: BLUE_30},
306
+ colorCardContainer: {backgroundColor: PRIMARY_40},
307
+ colorCardImageContainer: {backgroundColor: PRIMARY_50},
308
+ colorCardTitle: {color: PRIMARY_30},
304
309
  colorCardOptionContainer: {},
305
310
  colorCardOptionHeader: {},
306
311
  colorCardOptionHeaderTitle: {},
@@ -311,8 +316,8 @@ export const CardVariant: CardStyleVariant = {
311
316
  colorCardItemImageContainer: {},
312
317
  colorCardOptionSkeletonItem: '',
313
318
  colorCardOptionSkeletonHeaderItem: '',
314
- colorCardArrowImageFill: BLUE_30,
315
- colorCardImageFill: BLUE_30,
319
+ colorCardArrowImageFill: PRIMARY_30,
320
+ colorCardImageFill: PRIMARY_30,
316
321
  colorCardImageOptionFill: '',
317
322
  },
318
323
  };
@@ -9,12 +9,12 @@ import {
9
9
  import React, {useState} from 'react';
10
10
  import {CardVariant, styles} from '../CardDropdown.styles';
11
11
  import CardDropdownSkeleton from './CardDropdownSkeleton';
12
- import {PURPLE_10, WHITE, YELLOW, BLUE_60} from '../../../../styles/colors';
13
12
  import {ArrowDown} from '../../../../assets/images/icons/ArrowDown';
14
13
  import {
15
14
  CardDropdownData,
16
15
  CardDropdownOptionsProps,
17
16
  } from '../CardDropdown.types';
17
+ import { NEUTRALS_0, PRIMARY_60, QUATERNARY_10, SECONDARY_100 } from '../../../../styles/colors';
18
18
 
19
19
  const CardDropdownOptions = ({
20
20
  data,
@@ -30,7 +30,7 @@ const CardDropdownOptions = ({
30
30
  const [indexHover, setIndexHover] = useState<number>(-1);
31
31
  const newImage = image ? (
32
32
  React.cloneElement(image, {
33
- fill: YELLOW,
33
+ fill: SECONDARY_100,
34
34
  style: styles.cardOptionHeaderImagenSize,
35
35
  })
36
36
  ) : (
@@ -48,10 +48,10 @@ const CardDropdownOptions = ({
48
48
  }
49
49
  if (indexCurrent === indexHover) {
50
50
  if (styleType === 'primary') {
51
- styleFinal.push({backgroundColor: PURPLE_10});
51
+ styleFinal.push({backgroundColor: QUATERNARY_10});
52
52
  }
53
53
  if (styleType === 'secondary') {
54
- styleFinal.push({backgroundColor: BLUE_60});
54
+ styleFinal.push({backgroundColor: PRIMARY_60});
55
55
  }
56
56
  }
57
57
  styleFinal.push([CardVariant[styleType].colorCardItemContainer]);
@@ -99,7 +99,7 @@ const CardDropdownOptions = ({
99
99
  {title}
100
100
  </Text>
101
101
  <View style={styles.cardOptionArrowContainer}>
102
- <ArrowDown style={styles.cardOptionArrowImage} fill={WHITE} />
102
+ <ArrowDown style={styles.cardOptionArrowImage} fill={NEUTRALS_0} />
103
103
  </View>
104
104
  </View>
105
105
  </TouchableOpacity>
@@ -1,26 +1,26 @@
1
1
  import {StyleSheet} from 'react-native';
2
- import {GREY_10, LIGHT_BLACK} from '../../../../styles/colors';
2
+ import {NEUTRALS_10, NEUTRALS_100} from '../../../../styles/colors';
3
3
 
4
4
  export const styles = StyleSheet.create({
5
5
  title: {
6
6
  fontSize: 30,
7
7
  fontWeight: '600',
8
8
  marginBottom: 20,
9
- color: LIGHT_BLACK,
9
+ color: NEUTRALS_100,
10
10
  },
11
11
  version: {
12
12
  fontSize: 30,
13
13
  fontWeight: '600',
14
14
  marginBottom: 10,
15
- color: LIGHT_BLACK,
15
+ color: NEUTRALS_100,
16
16
  borderBottomWidth: 1,
17
- borderColor: GREY_10,
17
+ borderColor: NEUTRALS_10,
18
18
  },
19
19
  feature: {
20
20
  fontSize: 18,
21
21
  fontWeight: '600',
22
- color: LIGHT_BLACK,
22
+ color: NEUTRALS_100,
23
23
  marginBottom: 10,
24
24
  },
25
- items: {color: LIGHT_BLACK, fontSize: 15, marginLeft: 20, marginBottom: 10},
25
+ items: {color: NEUTRALS_100, fontSize: 15, marginLeft: 20, marginBottom: 10},
26
26
  });