react-native-exp-fig 0.1.22 → 0.1.24

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 (171) hide show
  1. package/lib/commonjs/components/activities-daily/index.js +9 -9
  2. package/lib/commonjs/components/activities-daily/index.js.map +1 -1
  3. package/lib/commonjs/components/activities-progress/index.js +14 -14
  4. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  5. package/lib/commonjs/components/avatar-profile/index.js +4 -4
  6. package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
  7. package/lib/commonjs/components/box/index.js +27 -22
  8. package/lib/commonjs/components/box/index.js.map +1 -1
  9. package/lib/commonjs/components/box/interface.d.js.map +1 -1
  10. package/lib/commonjs/components/box/styles.js.map +1 -1
  11. package/lib/commonjs/components/card-history/index.js +16 -16
  12. package/lib/commonjs/components/card-history/index.js.map +1 -1
  13. package/lib/commonjs/components/card-hours/index.js +3 -3
  14. package/lib/commonjs/components/card-hours/index.js.map +1 -1
  15. package/lib/commonjs/components/card-loading/index.js +13 -13
  16. package/lib/commonjs/components/card-loading/index.js.map +1 -1
  17. package/lib/commonjs/components/card-scheduled-journey/index.js +6 -6
  18. package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -1
  19. package/lib/commonjs/components/card-work-session/index.js +12 -12
  20. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  21. package/lib/commonjs/components/check-box/index.js +5 -5
  22. package/lib/commonjs/components/check-box/index.js.map +1 -1
  23. package/lib/commonjs/components/coil/index.js +5 -5
  24. package/lib/commonjs/components/coil/index.js.map +1 -1
  25. package/lib/commonjs/components/filter-date-selector/index.js +2 -2
  26. package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
  27. package/lib/commonjs/components/header-profile/index.js +8 -8
  28. package/lib/commonjs/components/header-profile/index.js.map +1 -1
  29. package/lib/commonjs/components/history-activities-card/index.js +14 -13
  30. package/lib/commonjs/components/history-activities-card/index.js.map +1 -1
  31. package/lib/commonjs/components/history-details/index.js +5 -5
  32. package/lib/commonjs/components/history-details/index.js.map +1 -1
  33. package/lib/commonjs/components/image-capture-with-remove/index.js +2 -2
  34. package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
  35. package/lib/commonjs/components/input/index.js +11 -11
  36. package/lib/commonjs/components/input/index.js.map +1 -1
  37. package/lib/commonjs/components/loading-details/index.js +10 -10
  38. package/lib/commonjs/components/loading-details/index.js.map +1 -1
  39. package/lib/commonjs/components/loading-progress/index.js +5 -5
  40. package/lib/commonjs/components/loading-progress/index.js.map +1 -1
  41. package/lib/commonjs/components/menu-item/index.js +3 -3
  42. package/lib/commonjs/components/menu-item/index.js.map +1 -1
  43. package/lib/commonjs/components/modal-activities/index.js +5 -5
  44. package/lib/commonjs/components/modal-activities/index.js.map +1 -1
  45. package/lib/commonjs/components/modal-change-activity/index.js +15 -14
  46. package/lib/commonjs/components/modal-change-activity/index.js.map +1 -1
  47. package/lib/commonjs/components/no-data/index.js +2 -2
  48. package/lib/commonjs/components/no-data/index.js.map +1 -1
  49. package/lib/commonjs/components/notification-loading/index.js +12 -12
  50. package/lib/commonjs/components/notification-loading/index.js.map +1 -1
  51. package/lib/commonjs/components/profile-menu-option/index.js +3 -3
  52. package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
  53. package/lib/commonjs/components/scheduled-journey-indicators/index.js +4 -4
  54. package/lib/commonjs/components/scheduled-journey-indicators/index.js.map +1 -1
  55. package/lib/commonjs/components/user-profile/index.js +9 -9
  56. package/lib/commonjs/components/user-profile/index.js.map +1 -1
  57. package/lib/commonjs/helpers/text-utils.js +5 -5
  58. package/lib/commonjs/helpers/text-utils.js.map +1 -1
  59. package/lib/commonjs/index.js +3 -2
  60. package/lib/commonjs/index.js.map +1 -1
  61. package/lib/commonjs/stories/box/box.stories.js +2 -2
  62. package/lib/commonjs/stories/box/box.stories.js.map +1 -1
  63. package/lib/commonjs/stories/modal-change-activity/modal-change-activity.stories.js +4 -4
  64. package/lib/commonjs/stories/modal-change-activity/modal-change-activity.stories.js.map +1 -1
  65. package/lib/commonjs/utils/get-icon-by-property/index.js +10 -11
  66. package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -1
  67. package/lib/module/components/activities-daily/index.js +5 -5
  68. package/lib/module/components/activities-daily/index.js.map +1 -1
  69. package/lib/module/components/activities-progress/index.js +5 -5
  70. package/lib/module/components/activities-progress/index.js.map +1 -1
  71. package/lib/module/components/avatar-profile/index.js +1 -1
  72. package/lib/module/components/avatar-profile/index.js.map +1 -1
  73. package/lib/module/components/box/index.js +23 -22
  74. package/lib/module/components/box/index.js.map +1 -1
  75. package/lib/module/components/box/interface.d.js.map +1 -1
  76. package/lib/module/components/box/styles.js.map +1 -1
  77. package/lib/module/components/card-history/index.js +8 -8
  78. package/lib/module/components/card-history/index.js.map +1 -1
  79. package/lib/module/components/card-hours/index.js +1 -1
  80. package/lib/module/components/card-hours/index.js.map +1 -1
  81. package/lib/module/components/card-loading/index.js +1 -1
  82. package/lib/module/components/card-loading/index.js.map +1 -1
  83. package/lib/module/components/card-scheduled-journey/index.js +1 -1
  84. package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
  85. package/lib/module/components/card-work-session/index.js +1 -1
  86. package/lib/module/components/card-work-session/index.js.map +1 -1
  87. package/lib/module/components/check-box/index.js +1 -1
  88. package/lib/module/components/check-box/index.js.map +1 -1
  89. package/lib/module/components/coil/index.js +1 -1
  90. package/lib/module/components/coil/index.js.map +1 -1
  91. package/lib/module/components/filter-date-selector/index.js +1 -1
  92. package/lib/module/components/filter-date-selector/index.js.map +1 -1
  93. package/lib/module/components/header-profile/index.js +1 -1
  94. package/lib/module/components/header-profile/index.js.map +1 -1
  95. package/lib/module/components/history-activities-card/index.js +1 -1
  96. package/lib/module/components/history-activities-card/index.js.map +1 -1
  97. package/lib/module/components/history-details/index.js +1 -1
  98. package/lib/module/components/history-details/index.js.map +1 -1
  99. package/lib/module/components/image-capture-with-remove/index.js +1 -1
  100. package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
  101. package/lib/module/components/input/index.js +1 -1
  102. package/lib/module/components/input/index.js.map +1 -1
  103. package/lib/module/components/loading-details/index.js +5 -5
  104. package/lib/module/components/loading-details/index.js.map +1 -1
  105. package/lib/module/components/loading-progress/index.js +1 -1
  106. package/lib/module/components/loading-progress/index.js.map +1 -1
  107. package/lib/module/components/menu-item/index.js +1 -1
  108. package/lib/module/components/menu-item/index.js.map +1 -1
  109. package/lib/module/components/modal-activities/index.js +1 -1
  110. package/lib/module/components/modal-activities/index.js.map +1 -1
  111. package/lib/module/components/modal-change-activity/index.js +10 -9
  112. package/lib/module/components/modal-change-activity/index.js.map +1 -1
  113. package/lib/module/components/no-data/index.js +1 -1
  114. package/lib/module/components/no-data/index.js.map +1 -1
  115. package/lib/module/components/notification-loading/index.js +5 -5
  116. package/lib/module/components/notification-loading/index.js.map +1 -1
  117. package/lib/module/components/profile-menu-option/index.js +1 -1
  118. package/lib/module/components/profile-menu-option/index.js.map +1 -1
  119. package/lib/module/components/scheduled-journey-indicators/index.js +1 -1
  120. package/lib/module/components/scheduled-journey-indicators/index.js.map +1 -1
  121. package/lib/module/components/user-profile/index.js +1 -1
  122. package/lib/module/components/user-profile/index.js.map +1 -1
  123. package/lib/module/helpers/text-utils.js +5 -5
  124. package/lib/module/helpers/text-utils.js.map +1 -1
  125. package/lib/module/index.js +3 -3
  126. package/lib/module/index.js.map +1 -1
  127. package/lib/module/stories/box/box.stories.js +1 -1
  128. package/lib/module/stories/box/box.stories.js.map +1 -1
  129. package/lib/module/stories/modal-change-activity/modal-change-activity.stories.js +4 -4
  130. package/lib/module/stories/modal-change-activity/modal-change-activity.stories.js.map +1 -1
  131. package/lib/module/utils/get-icon-by-property/index.js +10 -11
  132. package/lib/module/utils/get-icon-by-property/index.js.map +1 -1
  133. package/lib/typescript/src/components/box/index.d.ts +8 -5
  134. package/lib/typescript/src/components/box/styles.d.ts +2 -2
  135. package/lib/typescript/src/index.d.ts +1 -1
  136. package/lib/typescript/src/stories/box/box.stories.d.ts +1 -1
  137. package/package.json +1 -1
  138. package/src/components/activities-daily/index.tsx +116 -116
  139. package/src/components/activities-progress/index.tsx +170 -170
  140. package/src/components/avatar-profile/index.tsx +1 -1
  141. package/src/components/box/index.tsx +53 -49
  142. package/src/components/box/interface.d.ts +2 -2
  143. package/src/components/box/styles.ts +2 -2
  144. package/src/components/card-history/index.tsx +221 -221
  145. package/src/components/card-hours/index.tsx +2 -1
  146. package/src/components/card-loading/index.tsx +1 -1
  147. package/src/components/card-scheduled-journey/index.tsx +1 -1
  148. package/src/components/card-work-session/index.tsx +1 -1
  149. package/src/components/check-box/index.tsx +1 -1
  150. package/src/components/coil/index.tsx +1 -1
  151. package/src/components/filter-date-selector/index.tsx +1 -1
  152. package/src/components/header-profile/index.tsx +1 -1
  153. package/src/components/history-activities-card/index.tsx +1 -1
  154. package/src/components/history-details/index.tsx +1 -1
  155. package/src/components/image-capture-with-remove/index.tsx +1 -1
  156. package/src/components/input/index.tsx +1 -1
  157. package/src/components/loading-details/index.tsx +156 -156
  158. package/src/components/loading-progress/index.tsx +1 -1
  159. package/src/components/menu-item/index.tsx +1 -1
  160. package/src/components/modal-activities/index.tsx +1 -1
  161. package/src/components/modal-change-activity/index.tsx +200 -202
  162. package/src/components/no-data/index.tsx +1 -1
  163. package/src/components/notification-loading/index.tsx +157 -157
  164. package/src/components/profile-menu-option/index.tsx +1 -1
  165. package/src/components/scheduled-journey-indicators/index.tsx +1 -1
  166. package/src/components/user-profile/index.tsx +1 -1
  167. package/src/helpers/text-utils.ts +15 -15
  168. package/src/index.ts +45 -45
  169. package/src/stories/box/box.stories.tsx +1 -1
  170. package/src/stories/modal-change-activity/modal-change-activity.stories.tsx +51 -52
  171. package/src/utils/get-icon-by-property/index.tsx +65 -67
@@ -1,221 +1,221 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
- import { Image, TouchableOpacity } from "react-native";
6
-
7
- // components
8
- import { Box } from "../box";
9
- import { Typography } from "../typography";
10
-
11
- // typings
12
- import { ICardHistory } from "./interface";
13
-
14
- // styles
15
- import { theme } from "../../styles/theme/theme";
16
- import { Icons } from "../../common/icons-svg";
17
-
18
- /**
19
- *
20
- * Componente CardLoading para a interação do usuário com ui.
21
- */
22
- const CardHistory: React.FC<ICardHistory> = ({
23
- width,
24
- title = "Carregamento #01020304050607",
25
- local = "Doca 1, Patío 03 - Usiminas Ipatinga",
26
- vehicle = "EXP-0000",
27
- data_start = "12:34 10/03/2025",
28
- data_end = "13:34 10/03/2025",
29
- duration = "01:34",
30
- testID,
31
- handleNavigation,
32
- status_carregamento,
33
- }: ICardHistory) => {
34
- return (
35
- <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>
36
- <Box
37
- testID={testID}
38
- width={width ?? "100%"}
39
- backgroundColor={theme.colors.blue[400]}
40
- marginStyle={{ marginBottom: theme.margins.md }}
41
- paddingStyle={{ padding: theme.paddings["2xs"] }}
42
- borderStyled={{
43
- borderWidth: theme.borderWidths.thin,
44
- borderColor: theme.colors.blue[400],
45
- borderRadius: theme.borderWidths.thick_medium,
46
- }}
47
- flexStyle={{ flexDirection: "row", justifyContent: "flex-start", alignItems: "center" }}
48
- >
49
- <Box width={"25%"} borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}>
50
- <Image
51
- source={{
52
- uri: "https://th.bing.com/th/id/OIP.Rr9_IUNo8J66QbvQkxzXtwHaEJ?w=276&h=180&c=7&r=0&o=5&pid=1.7",
53
- }}
54
- style={{
55
- width: "100%",
56
- flex: 1,
57
- borderRadius: theme.borderWidths.thick_medium,
58
- }}
59
- />
60
- </Box>
61
-
62
- <Box width={"75%"} paddingStyle={{ paddingLeft: theme.paddings["2xs"] }}>
63
- <Typography
64
- text={title}
65
- ellipsizeMode="tail"
66
- numberOfLines={1}
67
- color={theme.colors.neutral[25]}
68
- size={theme.fontSizes.sm}
69
- fontFamily={theme.fonts.inter_bold_700}
70
- lineHeight={theme.fontSizes.xl ?? 20}
71
- letterSpacing={"regular"}
72
- marginBottom={4}
73
- />
74
-
75
- <Typography
76
- text={local}
77
- color={theme.colors.neutral[25]}
78
- size={theme.fontSizes.xs}
79
- fontFamily={theme.fonts.inter_regular_400}
80
- lineHeight={theme.fontSizes.md ?? 16}
81
- letterSpacing={"regular"}
82
- marginBottom={4}
83
- />
84
-
85
- {/**DADOS DO VEÍCULOS */}
86
- <Box
87
- flexStyle={{
88
- flexDirection: "row",
89
- justifyContent: "space-between",
90
- alignItems: "center",
91
- }}
92
- marginStyle={{
93
- marginBottom: 4,
94
- }}
95
- >
96
- <Box
97
- flexStyle={{
98
- flexDirection: "row",
99
- alignItems: "center",
100
- }}
101
- >
102
- <Typography
103
- text={"Dados Veículo:"}
104
- color={theme.colors.neutral[25]}
105
- size={theme.fontSizes.xs}
106
- fontFamily={theme.fonts.inter_regular_400}
107
- lineHeight={theme.fontSizes.md ?? 16}
108
- letterSpacing={"regular"}
109
- />
110
- <Typography
111
- text={vehicle}
112
- color={theme.colors.neutral[25]}
113
- size={theme.fontSizes.xs}
114
- fontFamily={theme.fonts.inter_bold_700}
115
- lineHeight={theme.fontSizes.md ?? 16}
116
- letterSpacing={"regular"}
117
- marginLeft={4}
118
- />
119
- </Box>
120
- <Icons size={9} color={status_carregamento} icon={"ELLIPSE"} />
121
- </Box>
122
-
123
- {/**DATA INICIO DO CARREGAMENTO */}
124
- <Box
125
- flexStyle={{
126
- flexDirection: "row",
127
- justifyContent: "flex-start",
128
- alignItems: "center",
129
- }}
130
- marginStyle={{
131
- marginBottom: 4,
132
- }}
133
- >
134
- <Typography
135
- text={"Data Inicio:"}
136
- color={theme.colors.neutral[25]}
137
- size={theme.fontSizes.xs}
138
- fontFamily={theme.fonts.inter_regular_400}
139
- lineHeight={theme.fontSizes.md ?? 16}
140
- letterSpacing={"regular"}
141
- />
142
- <Typography
143
- text={data_start}
144
- color={theme.colors.neutral[25]}
145
- size={theme.fontSizes.xs}
146
- fontFamily={theme.fonts.inter_bold_700}
147
- lineHeight={theme.fontSizes.md ?? 16}
148
- letterSpacing={"regular"}
149
- marginLeft={4}
150
- />
151
- </Box>
152
-
153
- {/**DATA FIM DO CARREGAMENTO */}
154
- <Box
155
- flexStyle={{
156
- flexDirection: "row",
157
- justifyContent: "flex-start",
158
- alignItems: "center",
159
- }}
160
- marginStyle={{
161
- marginBottom: 4,
162
- }}
163
- >
164
- <Typography
165
- text={"Data Fim:"}
166
- color={theme.colors.neutral[25]}
167
- size={theme.fontSizes.xs}
168
- fontFamily={theme.fonts.inter_regular_400}
169
- lineHeight={theme.fontSizes.md ?? 16}
170
- letterSpacing={"regular"}
171
- />
172
- <Typography
173
- text={data_end}
174
- color={theme.colors.neutral[25]}
175
- size={theme.fontSizes.xs}
176
- fontFamily={theme.fonts.inter_bold_700}
177
- lineHeight={theme.fontSizes.md ?? 16}
178
- letterSpacing={"regular"}
179
- marginLeft={4}
180
- />
181
- </Box>
182
-
183
- {/**DURAÇÃO DO CARREGAMENTO */}
184
- <Box
185
- flexStyle={{
186
- flexDirection: "row",
187
- justifyContent: "flex-start",
188
- alignItems: "center",
189
- }}
190
- marginStyle={{
191
- marginBottom: 4,
192
- }}
193
- >
194
- <Typography
195
- text={"Duração:"}
196
- color={theme.colors.neutral[25]}
197
- size={theme.fontSizes.xs}
198
- fontFamily={theme.fonts.inter_regular_400}
199
- lineHeight={theme.fontSizes.md ?? 16}
200
- letterSpacing={"regular"}
201
- />
202
- <Typography
203
- text={duration}
204
- color={theme.colors.neutral[25]}
205
- size={theme.fontSizes.xs}
206
- fontFamily={theme.fonts.inter_bold_700}
207
- lineHeight={theme.fontSizes.md ?? 16}
208
- letterSpacing={"regular"}
209
- marginLeft={4}
210
- />
211
- </Box>
212
- </Box>
213
- </Box>
214
- </TouchableOpacity>
215
- );
216
- };
217
-
218
- /**
219
- * EXPORTS
220
- */
221
- export { CardHistory };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { Image, TouchableOpacity } from "react-native";
6
+
7
+ // components
8
+ import Box from "../box";
9
+ import { Typography } from "../typography";
10
+
11
+ // typings
12
+ import { ICardHistory } from "./interface";
13
+
14
+ // styles
15
+ import { theme } from "../../styles/theme/theme";
16
+ import { Icons } from "../../common/icons-svg";
17
+
18
+ /**
19
+ *
20
+ * Componente CardLoading para a interação do usuário com ui.
21
+ */
22
+ const CardHistory: React.FC<ICardHistory> = ({
23
+ width,
24
+ title = "Carregamento #01020304050607",
25
+ local = "Doca 1, Patío 03 - Usiminas Ipatinga",
26
+ vehicle = "EXP-0000",
27
+ data_start = "12:34 10/03/2025",
28
+ data_end = "13:34 10/03/2025",
29
+ duration = "01:34",
30
+ testID,
31
+ handleNavigation,
32
+ status_carregamento,
33
+ }: ICardHistory) => {
34
+ return (
35
+ <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>
36
+ <Box
37
+ testID={testID}
38
+ width={width ?? "100%"}
39
+ backgroundColor={theme.colors.blue[400]}
40
+ marginStyle={{ marginBottom: theme.margins.md }}
41
+ paddingStyle={{ padding: theme.paddings["2xs"] }}
42
+ borderStyled={{
43
+ borderWidth: theme.borderWidths.thin,
44
+ borderColor: theme.colors.blue[400],
45
+ borderRadius: theme.borderWidths.thick_medium,
46
+ }}
47
+ flexStyle={{ flexDirection: "row", justifyContent: "flex-start", alignItems: "center" }}
48
+ >
49
+ <Box width={"25%"} borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}>
50
+ <Image
51
+ source={{
52
+ uri: "https://th.bing.com/th/id/OIP.Rr9_IUNo8J66QbvQkxzXtwHaEJ?w=276&h=180&c=7&r=0&o=5&pid=1.7",
53
+ }}
54
+ style={{
55
+ width: "100%",
56
+ flex: 1,
57
+ borderRadius: theme.borderWidths.thick_medium,
58
+ }}
59
+ />
60
+ </Box>
61
+
62
+ <Box width={"75%"} paddingStyle={{ paddingLeft: theme.paddings["2xs"] }}>
63
+ <Typography
64
+ text={title}
65
+ ellipsizeMode="tail"
66
+ numberOfLines={1}
67
+ color={theme.colors.neutral[25]}
68
+ size={theme.fontSizes.sm}
69
+ fontFamily={theme.fonts.inter_bold_700}
70
+ lineHeight={theme.fontSizes.xl ?? 20}
71
+ letterSpacing={"regular"}
72
+ marginBottom={4}
73
+ />
74
+
75
+ <Typography
76
+ text={local}
77
+ color={theme.colors.neutral[25]}
78
+ size={theme.fontSizes.xs}
79
+ fontFamily={theme.fonts.inter_regular_400}
80
+ lineHeight={theme.fontSizes.md ?? 16}
81
+ letterSpacing={"regular"}
82
+ marginBottom={4}
83
+ />
84
+
85
+ {/**DADOS DO VEÍCULOS */}
86
+ <Box
87
+ flexStyle={{
88
+ flexDirection: "row",
89
+ justifyContent: "space-between",
90
+ alignItems: "center",
91
+ }}
92
+ marginStyle={{
93
+ marginBottom: 4,
94
+ }}
95
+ >
96
+ <Box
97
+ flexStyle={{
98
+ flexDirection: "row",
99
+ alignItems: "center",
100
+ }}
101
+ >
102
+ <Typography
103
+ text={"Dados Veículo:"}
104
+ color={theme.colors.neutral[25]}
105
+ size={theme.fontSizes.xs}
106
+ fontFamily={theme.fonts.inter_regular_400}
107
+ lineHeight={theme.fontSizes.md ?? 16}
108
+ letterSpacing={"regular"}
109
+ />
110
+ <Typography
111
+ text={vehicle}
112
+ color={theme.colors.neutral[25]}
113
+ size={theme.fontSizes.xs}
114
+ fontFamily={theme.fonts.inter_bold_700}
115
+ lineHeight={theme.fontSizes.md ?? 16}
116
+ letterSpacing={"regular"}
117
+ marginLeft={4}
118
+ />
119
+ </Box>
120
+ <Icons size={9} color={status_carregamento} icon={"ELLIPSE"} />
121
+ </Box>
122
+
123
+ {/**DATA INICIO DO CARREGAMENTO */}
124
+ <Box
125
+ flexStyle={{
126
+ flexDirection: "row",
127
+ justifyContent: "flex-start",
128
+ alignItems: "center",
129
+ }}
130
+ marginStyle={{
131
+ marginBottom: 4,
132
+ }}
133
+ >
134
+ <Typography
135
+ text={"Data Inicio:"}
136
+ color={theme.colors.neutral[25]}
137
+ size={theme.fontSizes.xs}
138
+ fontFamily={theme.fonts.inter_regular_400}
139
+ lineHeight={theme.fontSizes.md ?? 16}
140
+ letterSpacing={"regular"}
141
+ />
142
+ <Typography
143
+ text={data_start}
144
+ color={theme.colors.neutral[25]}
145
+ size={theme.fontSizes.xs}
146
+ fontFamily={theme.fonts.inter_bold_700}
147
+ lineHeight={theme.fontSizes.md ?? 16}
148
+ letterSpacing={"regular"}
149
+ marginLeft={4}
150
+ />
151
+ </Box>
152
+
153
+ {/**DATA FIM DO CARREGAMENTO */}
154
+ <Box
155
+ flexStyle={{
156
+ flexDirection: "row",
157
+ justifyContent: "flex-start",
158
+ alignItems: "center",
159
+ }}
160
+ marginStyle={{
161
+ marginBottom: 4,
162
+ }}
163
+ >
164
+ <Typography
165
+ text={"Data Fim:"}
166
+ color={theme.colors.neutral[25]}
167
+ size={theme.fontSizes.xs}
168
+ fontFamily={theme.fonts.inter_regular_400}
169
+ lineHeight={theme.fontSizes.md ?? 16}
170
+ letterSpacing={"regular"}
171
+ />
172
+ <Typography
173
+ text={data_end}
174
+ color={theme.colors.neutral[25]}
175
+ size={theme.fontSizes.xs}
176
+ fontFamily={theme.fonts.inter_bold_700}
177
+ lineHeight={theme.fontSizes.md ?? 16}
178
+ letterSpacing={"regular"}
179
+ marginLeft={4}
180
+ />
181
+ </Box>
182
+
183
+ {/**DURAÇÃO DO CARREGAMENTO */}
184
+ <Box
185
+ flexStyle={{
186
+ flexDirection: "row",
187
+ justifyContent: "flex-start",
188
+ alignItems: "center",
189
+ }}
190
+ marginStyle={{
191
+ marginBottom: 4,
192
+ }}
193
+ >
194
+ <Typography
195
+ text={"Duração:"}
196
+ color={theme.colors.neutral[25]}
197
+ size={theme.fontSizes.xs}
198
+ fontFamily={theme.fonts.inter_regular_400}
199
+ lineHeight={theme.fontSizes.md ?? 16}
200
+ letterSpacing={"regular"}
201
+ />
202
+ <Typography
203
+ text={duration}
204
+ color={theme.colors.neutral[25]}
205
+ size={theme.fontSizes.xs}
206
+ fontFamily={theme.fonts.inter_bold_700}
207
+ lineHeight={theme.fontSizes.md ?? 16}
208
+ letterSpacing={"regular"}
209
+ marginLeft={4}
210
+ />
211
+ </Box>
212
+ </Box>
213
+ </Box>
214
+ </TouchableOpacity>
215
+ );
216
+ };
217
+
218
+ /**
219
+ * EXPORTS
220
+ */
221
+ export { CardHistory };
@@ -3,7 +3,8 @@
3
3
  */ import React from "react";
4
4
 
5
5
  // components
6
- import { Box } from "../box";
6
+ import Box from "../box";
7
+
7
8
  import { Typography } from "../typography";
8
9
 
9
10
  // typing
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { Image, TouchableOpacity } from "react-native";
6
6
 
7
7
  // components
8
- import { Box } from "../box";
8
+ import Box from "../box";
9
9
  import { Typography } from "../typography";
10
10
 
11
11
  // comons / icons
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { Dimensions } from "react-native";
6
6
 
7
7
  // components
8
- import { Box } from "../box";
8
+ import Box from "../box";
9
9
  import { Typography } from "../typography";
10
10
 
11
11
  // typings
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { Image, TouchableOpacity } from "react-native";
6
6
 
7
7
  // components
8
- import { Box } from "../box";
8
+ import Box from "../box";
9
9
  import { Typography } from "../typography";
10
10
 
11
11
  // commons / icons
@@ -14,7 +14,7 @@ import { Icons } from "../../common/icons-svg";
14
14
  import { ICheckBoxProps } from "./interface";
15
15
 
16
16
  // styles
17
- import { Box } from "../box";
17
+ import Box from "../box";
18
18
 
19
19
  /**
20
20
  * Componente CheckBox para a interação da ui.
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { TouchableOpacity } from "react-native";
6
6
 
7
7
  // components
8
- import { Box } from "../box";
8
+ import Box from "../box";
9
9
  import { Typography } from "../typography";
10
10
 
11
11
  // icons
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { TouchableOpacity, ActivityIndicator, FlatList } from "react-native";
6
6
 
7
7
  // components
8
- import { Box } from "../box";
8
+ import Box from "../box";
9
9
  import { Typography } from "../typography";
10
10
 
11
11
  // styles
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { Dimensions, TouchableOpacity } from "react-native";
6
6
 
7
7
  // components
8
- import { Box } from "../box";
8
+ import Box from "../box";
9
9
  import { Typography } from "../typography";
10
10
 
11
11
  // typings
@@ -5,7 +5,7 @@ import React, { forwardRef } from "react";
5
5
  import { Image } from "react-native";
6
6
 
7
7
  // components
8
- import { Box } from "../box";
8
+ import Box from "../box";
9
9
  import { Typography } from "../typography";
10
10
 
11
11
  //commons/ icons
@@ -4,7 +4,7 @@
4
4
  import React from "react";
5
5
 
6
6
  // components
7
- import { Box } from "../box";
7
+ import Box from "../box";
8
8
  import { Typography } from "../typography";
9
9
 
10
10
  // typings
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { Image, TouchableOpacity } from "react-native";
6
6
 
7
7
  // components
8
- import { Box } from "../box";
8
+ import Box from "../box";
9
9
 
10
10
  // comons / icons
11
11
  import { Icons } from "../../common/icons-svg";
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { Dimensions, TextInput, TouchableOpacity, ViewStyle } from "react-native";
6
6
 
7
7
  // components
8
- import { Box } from "../box";
8
+ import Box from "../box";
9
9
  import { Typography } from "../typography";
10
10
  import { Icons } from "../../common/icons-svg";
11
11