react-native-exp-fig 0.1.3 → 0.1.4

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 (431) hide show
  1. package/lib/commonjs/common/icons-svg/check-box-fill/index.js +1 -1
  2. package/lib/commonjs/common/icons-svg/check-box-fill/index.js.map +1 -1
  3. package/lib/commonjs/common/icons-svg/check-box-outline/index.js +1 -1
  4. package/lib/commonjs/common/icons-svg/check-box-outline/index.js.map +1 -1
  5. package/lib/commonjs/common/icons-svg/check-circle/index.js +23 -10
  6. package/lib/commonjs/common/icons-svg/check-circle/index.js.map +1 -1
  7. package/lib/commonjs/common/icons-svg/closed/index.js +4 -3
  8. package/lib/commonjs/common/icons-svg/closed/index.js.map +1 -1
  9. package/lib/commonjs/common/icons-svg/constants/index.js +8 -1
  10. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  11. package/lib/commonjs/common/icons-svg/ellipse/index.js +43 -0
  12. package/lib/commonjs/common/icons-svg/ellipse/index.js.map +1 -0
  13. package/lib/commonjs/common/icons-svg/exclamation-circle/index.js +47 -0
  14. package/lib/commonjs/common/icons-svg/exclamation-circle/index.js.map +1 -0
  15. package/lib/commonjs/common/icons-svg/files/index.js +35 -0
  16. package/lib/commonjs/common/icons-svg/files/index.js.map +1 -0
  17. package/lib/commonjs/common/icons-svg/index.js +50 -1
  18. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  19. package/lib/commonjs/common/icons-svg/lifebuoy/index.js +39 -0
  20. package/lib/commonjs/common/icons-svg/lifebuoy/index.js.map +1 -0
  21. package/lib/commonjs/common/icons-svg/plus/index.js +55 -0
  22. package/lib/commonjs/common/icons-svg/plus/index.js.map +1 -0
  23. package/lib/commonjs/common/icons-svg/recused/index.js +48 -0
  24. package/lib/commonjs/common/icons-svg/recused/index.js.map +1 -0
  25. package/lib/commonjs/common/icons-svg/x-circle/index.js +56 -0
  26. package/lib/commonjs/common/icons-svg/x-circle/index.js.map +1 -0
  27. package/lib/commonjs/components/button/index.js +12 -10
  28. package/lib/commonjs/components/button/index.js.map +1 -1
  29. package/lib/commonjs/components/button/styles.js +2 -2
  30. package/lib/commonjs/components/button/styles.js.map +1 -1
  31. package/lib/commonjs/components/card-history/index.js +158 -0
  32. package/lib/commonjs/components/card-history/index.js.map +1 -0
  33. package/lib/commonjs/components/card-history/interface.d.js +6 -0
  34. package/lib/commonjs/components/card-history/interface.d.js.map +1 -0
  35. package/lib/commonjs/components/card-loading/index.js +21 -23
  36. package/lib/commonjs/components/card-loading/index.js.map +1 -1
  37. package/lib/commonjs/components/card-work-session/index.js +10 -7
  38. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  39. package/lib/commonjs/components/check-box/index.js +137 -0
  40. package/lib/commonjs/components/check-box/index.js.map +1 -0
  41. package/lib/commonjs/components/check-box/interface.d.js +6 -0
  42. package/lib/commonjs/components/check-box/interface.d.js.map +1 -0
  43. package/lib/commonjs/components/coil/index.js +119 -0
  44. package/lib/commonjs/components/coil/index.js.map +1 -0
  45. package/lib/commonjs/components/coil/interface.d.js +6 -0
  46. package/lib/commonjs/components/coil/interface.d.js.map +1 -0
  47. package/lib/commonjs/components/filter-journey/index.js +67 -0
  48. package/lib/commonjs/components/filter-journey/index.js.map +1 -0
  49. package/lib/commonjs/components/filter-journey/interface.d.js +6 -0
  50. package/lib/commonjs/components/filter-journey/interface.d.js.map +1 -0
  51. package/lib/commonjs/components/image-capture-with-remove/index.js +96 -0
  52. package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -0
  53. package/lib/commonjs/components/image-capture-with-remove/interface.d.js +6 -0
  54. package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -0
  55. package/lib/commonjs/components/input/index.js +5 -4
  56. package/lib/commonjs/components/input/index.js.map +1 -1
  57. package/lib/commonjs/components/loading-details/index.js +170 -0
  58. package/lib/commonjs/components/loading-details/index.js.map +1 -0
  59. package/lib/commonjs/components/loading-details/interface.d.js +6 -0
  60. package/lib/commonjs/components/loading-details/interface.d.js.map +1 -0
  61. package/lib/commonjs/components/loading-progress/index.js +108 -0
  62. package/lib/commonjs/components/loading-progress/index.js.map +1 -0
  63. package/lib/commonjs/components/loading-progress/interface.d.js +6 -0
  64. package/lib/commonjs/components/loading-progress/interface.d.js.map +1 -0
  65. package/lib/commonjs/components/menu-item/index.js +2 -6
  66. package/lib/commonjs/components/menu-item/index.js.map +1 -1
  67. package/lib/commonjs/components/no-data/index.js +47 -0
  68. package/lib/commonjs/components/no-data/index.js.map +1 -0
  69. package/lib/commonjs/components/no-data/interface.d.js +6 -0
  70. package/lib/{module/components/card-loading/styles.js.map → commonjs/components/no-data/interface.d.js.map} +1 -1
  71. package/lib/commonjs/components/notification-loading/index.js +157 -0
  72. package/lib/commonjs/components/notification-loading/index.js.map +1 -0
  73. package/lib/commonjs/components/notification-loading/interface.d.js +6 -0
  74. package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -0
  75. package/lib/commonjs/components/scheduled-journey-indicators/index.js +3 -1
  76. package/lib/commonjs/components/scheduled-journey-indicators/index.js.map +1 -1
  77. package/lib/commonjs/index.js +67 -4
  78. package/lib/commonjs/index.js.map +1 -1
  79. package/lib/commonjs/stories/box/box.stories.js +1 -1
  80. package/lib/commonjs/stories/box/box.stories.js.map +1 -1
  81. package/lib/commonjs/stories/button/button.stories.js +67 -2
  82. package/lib/commonjs/stories/button/button.stories.js.map +1 -1
  83. package/lib/commonjs/stories/card-history/card-history.stories.js +50 -0
  84. package/lib/commonjs/stories/card-history/card-history.stories.js.map +1 -0
  85. package/lib/commonjs/stories/check-box/check-box.stories.js +78 -0
  86. package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -0
  87. package/lib/commonjs/stories/coil/coil.stories.js +62 -0
  88. package/lib/commonjs/stories/coil/coil.stories.js.map +1 -0
  89. package/lib/commonjs/stories/filter-journey/filter-journey.stories.js +79 -0
  90. package/lib/commonjs/stories/filter-journey/filter-journey.stories.js.map +1 -0
  91. package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js +45 -0
  92. package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -0
  93. package/lib/commonjs/stories/input/input.stories.js +1 -1
  94. package/lib/commonjs/stories/input/input.stories.js.map +1 -1
  95. package/lib/commonjs/stories/loading-details/loading-details.stories.js +47 -0
  96. package/lib/commonjs/stories/loading-details/loading-details.stories.js.map +1 -0
  97. package/lib/commonjs/stories/loading-progress/loading-progress.stories.js +34 -0
  98. package/lib/commonjs/stories/loading-progress/loading-progress.stories.js.map +1 -0
  99. package/lib/commonjs/stories/no-data/no-data.stories.js +35 -0
  100. package/lib/commonjs/stories/no-data/no-data.stories.js.map +1 -0
  101. package/lib/commonjs/stories/notification-loading/notification-loading.stories.js +72 -0
  102. package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -0
  103. package/lib/commonjs/stories/user-profile/user-profile.stories.js +1 -1
  104. package/lib/commonjs/styles/theme/theme.js +9 -2
  105. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  106. package/lib/commonjs/{components/card-loading/helpers/return-colors.js → utils/status-color/return-color.js} +2 -2
  107. package/lib/commonjs/utils/status-color/return-color.js.map +1 -0
  108. package/lib/module/common/icons-svg/check-box-fill/index.js +1 -1
  109. package/lib/module/common/icons-svg/check-box-fill/index.js.map +1 -1
  110. package/lib/module/common/icons-svg/check-box-outline/index.js +1 -1
  111. package/lib/module/common/icons-svg/check-box-outline/index.js.map +1 -1
  112. package/lib/module/common/icons-svg/check-circle/index.js +24 -11
  113. package/lib/module/common/icons-svg/check-circle/index.js.map +1 -1
  114. package/lib/module/common/icons-svg/closed/index.js +4 -3
  115. package/lib/module/common/icons-svg/closed/index.js.map +1 -1
  116. package/lib/module/common/icons-svg/constants/index.js +8 -1
  117. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  118. package/lib/module/common/icons-svg/ellipse/index.js +36 -0
  119. package/lib/module/common/icons-svg/ellipse/index.js.map +1 -0
  120. package/lib/module/common/icons-svg/exclamation-circle/index.js +40 -0
  121. package/lib/module/common/icons-svg/exclamation-circle/index.js.map +1 -0
  122. package/lib/module/common/icons-svg/files/index.js +28 -0
  123. package/lib/module/common/icons-svg/files/index.js.map +1 -0
  124. package/lib/module/common/icons-svg/index.js +50 -1
  125. package/lib/module/common/icons-svg/index.js.map +1 -1
  126. package/lib/module/common/icons-svg/lifebuoy/index.js +32 -0
  127. package/lib/module/common/icons-svg/lifebuoy/index.js.map +1 -0
  128. package/lib/module/common/icons-svg/plus/index.js +48 -0
  129. package/lib/module/common/icons-svg/plus/index.js.map +1 -0
  130. package/lib/module/common/icons-svg/recused/index.js +41 -0
  131. package/lib/module/common/icons-svg/recused/index.js.map +1 -0
  132. package/lib/module/common/icons-svg/x-circle/index.js +47 -0
  133. package/lib/module/common/icons-svg/x-circle/index.js.map +1 -0
  134. package/lib/module/components/button/index.js +13 -11
  135. package/lib/module/components/button/index.js.map +1 -1
  136. package/lib/module/components/button/styles.js +2 -2
  137. package/lib/module/components/button/styles.js.map +1 -1
  138. package/lib/module/components/card-history/index.js +154 -0
  139. package/lib/module/components/card-history/index.js.map +1 -0
  140. package/lib/module/components/card-history/interface.d.js +4 -0
  141. package/lib/module/components/card-history/interface.d.js.map +1 -0
  142. package/lib/module/components/card-loading/index.js +21 -23
  143. package/lib/module/components/card-loading/index.js.map +1 -1
  144. package/lib/module/components/card-work-session/index.js +10 -7
  145. package/lib/module/components/card-work-session/index.js.map +1 -1
  146. package/lib/module/components/check-box/index.js +133 -0
  147. package/lib/module/components/check-box/index.js.map +1 -0
  148. package/lib/module/components/check-box/interface.d.js +4 -0
  149. package/lib/module/components/check-box/interface.d.js.map +1 -0
  150. package/lib/module/components/coil/index.js +113 -0
  151. package/lib/module/components/coil/index.js.map +1 -0
  152. package/lib/module/components/coil/interface.d.js +4 -0
  153. package/lib/module/components/coil/interface.d.js.map +1 -0
  154. package/lib/module/components/filter-journey/index.js +62 -0
  155. package/lib/module/components/filter-journey/index.js.map +1 -0
  156. package/lib/module/components/filter-journey/interface.d.js +4 -0
  157. package/lib/module/components/filter-journey/interface.d.js.map +1 -0
  158. package/lib/module/components/image-capture-with-remove/index.js +92 -0
  159. package/lib/module/components/image-capture-with-remove/index.js.map +1 -0
  160. package/lib/module/components/image-capture-with-remove/interface.d.js +4 -0
  161. package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -0
  162. package/lib/module/components/input/index.js +6 -5
  163. package/lib/module/components/input/index.js.map +1 -1
  164. package/lib/module/components/loading-details/index.js +164 -0
  165. package/lib/module/components/loading-details/index.js.map +1 -0
  166. package/lib/module/components/loading-details/interface.d.js +4 -0
  167. package/lib/module/components/loading-details/interface.d.js.map +1 -0
  168. package/lib/module/components/loading-progress/index.js +104 -0
  169. package/lib/module/components/loading-progress/index.js.map +1 -0
  170. package/lib/module/components/loading-progress/interface.d.js +4 -0
  171. package/lib/module/components/loading-progress/interface.d.js.map +1 -0
  172. package/lib/module/components/menu-item/index.js +3 -7
  173. package/lib/module/components/menu-item/index.js.map +1 -1
  174. package/lib/module/components/no-data/index.js +41 -0
  175. package/lib/module/components/no-data/index.js.map +1 -0
  176. package/lib/module/components/no-data/interface.d.js +4 -0
  177. package/lib/{commonjs/components/card-loading/styles.js.map → module/components/no-data/interface.d.js.map} +1 -1
  178. package/lib/module/components/notification-loading/index.js +151 -0
  179. package/lib/module/components/notification-loading/index.js.map +1 -0
  180. package/lib/module/components/notification-loading/interface.d.js +4 -0
  181. package/lib/module/components/notification-loading/interface.d.js.map +1 -0
  182. package/lib/module/components/scheduled-journey-indicators/index.js +3 -1
  183. package/lib/module/components/scheduled-journey-indicators/index.js.map +1 -1
  184. package/lib/module/index.js +9 -0
  185. package/lib/module/index.js.map +1 -1
  186. package/lib/module/stories/box/box.stories.js +1 -1
  187. package/lib/module/stories/box/box.stories.js.map +1 -1
  188. package/lib/module/stories/button/button.stories.js +65 -1
  189. package/lib/module/stories/button/button.stories.js.map +1 -1
  190. package/lib/module/stories/card-history/card-history.stories.js +46 -0
  191. package/lib/module/stories/card-history/card-history.stories.js.map +1 -0
  192. package/lib/module/stories/check-box/check-box.stories.js +74 -0
  193. package/lib/module/stories/check-box/check-box.stories.js.map +1 -0
  194. package/lib/module/stories/coil/coil.stories.js +58 -0
  195. package/lib/module/stories/coil/coil.stories.js.map +1 -0
  196. package/lib/module/stories/filter-journey/filter-journey.stories.js +74 -0
  197. package/lib/module/stories/filter-journey/filter-journey.stories.js.map +1 -0
  198. package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js +41 -0
  199. package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -0
  200. package/lib/module/stories/input/input.stories.js +1 -1
  201. package/lib/module/stories/input/input.stories.js.map +1 -1
  202. package/lib/module/stories/loading-details/loading-details.stories.js +43 -0
  203. package/lib/module/stories/loading-details/loading-details.stories.js.map +1 -0
  204. package/lib/module/stories/loading-progress/loading-progress.stories.js +30 -0
  205. package/lib/module/stories/loading-progress/loading-progress.stories.js.map +1 -0
  206. package/lib/module/stories/no-data/no-data.stories.js +31 -0
  207. package/lib/module/stories/no-data/no-data.stories.js.map +1 -0
  208. package/lib/module/stories/notification-loading/notification-loading.stories.js +68 -0
  209. package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -0
  210. package/lib/module/stories/user-profile/user-profile.stories.js +1 -1
  211. package/lib/module/styles/theme/theme.js +9 -2
  212. package/lib/module/styles/theme/theme.js.map +1 -1
  213. package/lib/module/{components/card-loading/helpers/return-colors.js → utils/status-color/return-color.js} +2 -2
  214. package/lib/module/utils/status-color/return-color.js.map +1 -0
  215. package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +7 -0
  217. package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/src/common/icons-svg/ellipse/index.d.ts +5 -0
  219. package/lib/typescript/commonjs/src/common/icons-svg/ellipse/index.d.ts.map +1 -0
  220. package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts +8 -0
  221. package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts.map +1 -0
  222. package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts +8 -0
  223. package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts.map +1 -0
  224. package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
  225. package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts +11 -0
  226. package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts.map +1 -0
  227. package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts +11 -0
  228. package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts.map +1 -0
  229. package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts +11 -0
  230. package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts.map +1 -0
  231. package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts +14 -0
  232. package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts.map +1 -0
  233. package/lib/typescript/commonjs/src/components/button/index.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/src/components/card-history/index.d.ts +15 -0
  235. package/lib/typescript/commonjs/src/components/card-history/index.d.ts.map +1 -0
  236. package/lib/typescript/commonjs/src/components/card-loading/index.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/src/components/check-box/index.d.ts +14 -0
  239. package/lib/typescript/commonjs/src/components/check-box/index.d.ts.map +1 -0
  240. package/lib/typescript/commonjs/src/components/coil/index.d.ts +11 -0
  241. package/lib/typescript/commonjs/src/components/coil/index.d.ts.map +1 -0
  242. package/lib/typescript/commonjs/src/components/filter-journey/index.d.ts +8 -0
  243. package/lib/typescript/commonjs/src/components/filter-journey/index.d.ts.map +1 -0
  244. package/lib/typescript/commonjs/src/components/image-capture-with-remove/index.d.ts +15 -0
  245. package/lib/typescript/commonjs/src/components/image-capture-with-remove/index.d.ts.map +1 -0
  246. package/lib/typescript/commonjs/src/components/input/index.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/src/components/loading-details/index.d.ts +11 -0
  248. package/lib/typescript/commonjs/src/components/loading-details/index.d.ts.map +1 -0
  249. package/lib/typescript/commonjs/src/components/loading-progress/index.d.ts +15 -0
  250. package/lib/typescript/commonjs/src/components/loading-progress/index.d.ts.map +1 -0
  251. package/lib/typescript/commonjs/src/components/menu-item/index.d.ts.map +1 -1
  252. package/lib/typescript/commonjs/src/components/no-data/index.d.ts +8 -0
  253. package/lib/typescript/commonjs/src/components/no-data/index.d.ts.map +1 -0
  254. package/lib/typescript/commonjs/src/components/notification-loading/index.d.ts +11 -0
  255. package/lib/typescript/commonjs/src/components/notification-loading/index.d.ts.map +1 -0
  256. package/lib/typescript/commonjs/src/components/scheduled-journey-indicators/index.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/src/index.d.ts +9 -0
  258. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts +1 -0
  261. package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts.map +1 -1
  262. package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts +7 -0
  263. package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts.map +1 -0
  264. package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts +10 -0
  265. package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts.map +1 -0
  266. package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts +9 -0
  267. package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts.map +1 -0
  268. package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts +7 -0
  269. package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts.map +1 -0
  270. package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +8 -0
  271. package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +1 -0
  272. package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts.map +1 -1
  273. package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts +7 -0
  274. package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts.map +1 -0
  275. package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts +7 -0
  276. package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts.map +1 -0
  277. package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts +7 -0
  278. package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts.map +1 -0
  279. package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts +9 -0
  280. package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts.map +1 -0
  281. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +7 -0
  282. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -1
  283. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +7 -0
  284. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -1
  285. package/lib/typescript/commonjs/src/{components/card-loading/helpers/return-colors.d.ts → utils/status-color/return-color.d.ts} +1 -1
  286. package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts.map +1 -0
  287. package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts.map +1 -1
  288. package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +7 -0
  289. package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -1
  290. package/lib/typescript/module/src/common/icons-svg/ellipse/index.d.ts +5 -0
  291. package/lib/typescript/module/src/common/icons-svg/ellipse/index.d.ts.map +1 -0
  292. package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts +8 -0
  293. package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts.map +1 -0
  294. package/lib/typescript/module/src/common/icons-svg/files/index.d.ts +8 -0
  295. package/lib/typescript/module/src/common/icons-svg/files/index.d.ts.map +1 -0
  296. package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
  297. package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts +11 -0
  298. package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts.map +1 -0
  299. package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts +11 -0
  300. package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts.map +1 -0
  301. package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts +11 -0
  302. package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts.map +1 -0
  303. package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts +14 -0
  304. package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts.map +1 -0
  305. package/lib/typescript/module/src/components/button/index.d.ts.map +1 -1
  306. package/lib/typescript/module/src/components/card-history/index.d.ts +15 -0
  307. package/lib/typescript/module/src/components/card-history/index.d.ts.map +1 -0
  308. package/lib/typescript/module/src/components/card-loading/index.d.ts.map +1 -1
  309. package/lib/typescript/module/src/components/card-work-session/index.d.ts.map +1 -1
  310. package/lib/typescript/module/src/components/check-box/index.d.ts +14 -0
  311. package/lib/typescript/module/src/components/check-box/index.d.ts.map +1 -0
  312. package/lib/typescript/module/src/components/coil/index.d.ts +11 -0
  313. package/lib/typescript/module/src/components/coil/index.d.ts.map +1 -0
  314. package/lib/typescript/module/src/components/filter-journey/index.d.ts +8 -0
  315. package/lib/typescript/module/src/components/filter-journey/index.d.ts.map +1 -0
  316. package/lib/typescript/module/src/components/image-capture-with-remove/index.d.ts +15 -0
  317. package/lib/typescript/module/src/components/image-capture-with-remove/index.d.ts.map +1 -0
  318. package/lib/typescript/module/src/components/input/index.d.ts.map +1 -1
  319. package/lib/typescript/module/src/components/loading-details/index.d.ts +11 -0
  320. package/lib/typescript/module/src/components/loading-details/index.d.ts.map +1 -0
  321. package/lib/typescript/module/src/components/loading-progress/index.d.ts +15 -0
  322. package/lib/typescript/module/src/components/loading-progress/index.d.ts.map +1 -0
  323. package/lib/typescript/module/src/components/menu-item/index.d.ts.map +1 -1
  324. package/lib/typescript/module/src/components/no-data/index.d.ts +8 -0
  325. package/lib/typescript/module/src/components/no-data/index.d.ts.map +1 -0
  326. package/lib/typescript/module/src/components/notification-loading/index.d.ts +11 -0
  327. package/lib/typescript/module/src/components/notification-loading/index.d.ts.map +1 -0
  328. package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts.map +1 -1
  329. package/lib/typescript/module/src/index.d.ts +9 -0
  330. package/lib/typescript/module/src/index.d.ts.map +1 -1
  331. package/lib/typescript/module/src/stories/box/box.stories.d.ts.map +1 -1
  332. package/lib/typescript/module/src/stories/button/button.stories.d.ts +1 -0
  333. package/lib/typescript/module/src/stories/button/button.stories.d.ts.map +1 -1
  334. package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts +7 -0
  335. package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts.map +1 -0
  336. package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts +10 -0
  337. package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts.map +1 -0
  338. package/lib/typescript/module/src/stories/coil/coil.stories.d.ts +9 -0
  339. package/lib/typescript/module/src/stories/coil/coil.stories.d.ts.map +1 -0
  340. package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts +7 -0
  341. package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts.map +1 -0
  342. package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +8 -0
  343. package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +1 -0
  344. package/lib/typescript/module/src/stories/input/input.stories.d.ts.map +1 -1
  345. package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts +7 -0
  346. package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts.map +1 -0
  347. package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts +7 -0
  348. package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts.map +1 -0
  349. package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts +7 -0
  350. package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts.map +1 -0
  351. package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts +9 -0
  352. package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts.map +1 -0
  353. package/lib/typescript/module/src/styles/global/theme-provider.d.ts +7 -0
  354. package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -1
  355. package/lib/typescript/module/src/styles/theme/theme.d.ts +7 -0
  356. package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -1
  357. package/lib/typescript/module/src/{components/card-loading/helpers/return-colors.d.ts → utils/status-color/return-color.d.ts} +1 -1
  358. package/lib/typescript/module/src/utils/status-color/return-color.d.ts.map +1 -0
  359. package/package.json +2 -3
  360. package/src/common/icons-svg/check-box-fill/index.tsx +1 -1
  361. package/src/common/icons-svg/check-box-outline/index.tsx +1 -1
  362. package/src/common/icons-svg/check-circle/index.tsx +20 -7
  363. package/src/common/icons-svg/closed/index.tsx +2 -2
  364. package/src/common/icons-svg/constants/index.ts +7 -0
  365. package/src/common/icons-svg/ellipse/index.tsx +27 -0
  366. package/src/common/icons-svg/exclamation-circle/index.tsx +33 -0
  367. package/src/common/icons-svg/files/index.tsx +26 -0
  368. package/src/common/icons-svg/index.tsx +29 -1
  369. package/src/common/icons-svg/interface.d.ts +1 -0
  370. package/src/common/icons-svg/lifebuoy/index.tsx +29 -0
  371. package/src/common/icons-svg/plus/index.tsx +40 -0
  372. package/src/common/icons-svg/recused/index.tsx +33 -0
  373. package/src/common/icons-svg/x-circle/index.tsx +40 -0
  374. package/src/components/button/index.tsx +13 -11
  375. package/src/components/button/interface.d.ts +9 -0
  376. package/src/components/button/styles.ts +2 -2
  377. package/src/components/card-history/index.tsx +150 -0
  378. package/src/components/card-history/interface.d.ts +28 -0
  379. package/src/components/card-loading/index.tsx +19 -21
  380. package/src/components/card-loading/interface.d.ts +15 -8
  381. package/src/components/card-work-session/index.tsx +10 -4
  382. package/src/components/check-box/index.tsx +125 -0
  383. package/src/components/check-box/interface.d.ts +27 -0
  384. package/src/components/coil/index.tsx +82 -0
  385. package/src/components/coil/interface.d.ts +26 -0
  386. package/src/components/filter-date-selector/index.tsx +89 -0
  387. package/src/components/filter-date-selector/interface.d.ts +43 -0
  388. package/src/components/filter-journey/index.tsx +60 -0
  389. package/src/components/filter-journey/interface.d.ts +37 -0
  390. package/src/components/image-capture-with-remove/index.tsx +83 -0
  391. package/src/components/image-capture-with-remove/interface.d.ts +22 -0
  392. package/src/components/input/index.tsx +10 -6
  393. package/src/components/loading-details/index.tsx +154 -0
  394. package/src/components/loading-details/interface.d.ts +28 -0
  395. package/src/components/loading-progress/index.tsx +91 -0
  396. package/src/components/loading-progress/interface.d.ts +22 -0
  397. package/src/components/menu-item/index.tsx +3 -7
  398. package/src/components/no-data/index.tsx +40 -0
  399. package/src/components/no-data/interface.d.ts +16 -0
  400. package/src/components/notification-loading/index.tsx +144 -0
  401. package/src/components/notification-loading/interface.d.ts +31 -0
  402. package/src/components/scheduled-journey-indicators/index.tsx +3 -1
  403. package/src/index.ts +37 -27
  404. package/src/stories/box/box.stories.tsx +1 -1
  405. package/src/stories/button/button.stories.tsx +65 -0
  406. package/src/stories/card-history/card-history.stories.tsx +50 -0
  407. package/src/stories/check-box/check-box.stories.tsx +83 -0
  408. package/src/stories/coil/coil.stories.tsx +64 -0
  409. package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +93 -0
  410. package/src/stories/filter-journey/filter-journey.stories.tsx +64 -0
  411. package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +47 -0
  412. package/src/stories/input/input.stories.tsx +1 -1
  413. package/src/stories/loading-details/loading-details.stories.tsx +48 -0
  414. package/src/stories/loading-progress/loading-progress.stories.tsx +35 -0
  415. package/src/stories/no-data/no-data.stories.tsx +35 -0
  416. package/src/stories/notification-loading/notification-loading.stories.tsx +73 -0
  417. package/src/stories/user-profile/user-profile.stories.tsx +1 -1
  418. package/src/styles/theme/theme.ts +7 -0
  419. package/src/utils/format-data/index.ts +40 -14
  420. package/src/{components/card-loading/helpers/return-colors.ts → utils/status-color/return-color.ts} +1 -1
  421. package/lib/commonjs/components/card-loading/helpers/return-colors.js.map +0 -1
  422. package/lib/commonjs/components/card-loading/styles.js +0 -2
  423. package/lib/module/components/card-loading/helpers/return-colors.js.map +0 -1
  424. package/lib/module/components/card-loading/styles.js +0 -2
  425. package/lib/typescript/commonjs/src/components/card-loading/helpers/return-colors.d.ts.map +0 -1
  426. package/lib/typescript/commonjs/src/components/card-loading/styles.d.ts +0 -1
  427. package/lib/typescript/commonjs/src/components/card-loading/styles.d.ts.map +0 -1
  428. package/lib/typescript/module/src/components/card-loading/helpers/return-colors.d.ts.map +0 -1
  429. package/lib/typescript/module/src/components/card-loading/styles.d.ts +0 -1
  430. package/lib/typescript/module/src/components/card-loading/styles.d.ts.map +0 -1
  431. package/src/components/card-loading/styles.ts +0 -0
@@ -2,7 +2,7 @@
2
2
  * IMPORTS
3
3
  */
4
4
  import React from "react";
5
- import { Pressable, Image } from "react-native";
5
+ import { Image, TouchableOpacity } from "react-native";
6
6
 
7
7
  // components
8
8
  import { Box } from "../box";
@@ -16,7 +16,7 @@ import { ICardLoading } from "./interface";
16
16
 
17
17
  // styles
18
18
  import { theme } from "../../styles/theme/theme";
19
- import { getStatusColor, StatusType } from "./helpers/return-colors";
19
+ import { getStatusColor, StatusType } from "../../utils/status-color/return-color";
20
20
 
21
21
  /**
22
22
  *
@@ -32,18 +32,16 @@ const CardLoading: React.FC<ICardLoading> = ({
32
32
  qtdCoils = 10,
33
33
  status = "Pendente",
34
34
  handleNavigation,
35
+ testID,
35
36
  }: ICardLoading) => {
36
37
  return (
37
- <Pressable
38
- onPress={handleNavigation}
39
- style={({ pressed }) => [{ opacity: pressed ? 0.75 : 1.0 }]}
40
- >
38
+ <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>
41
39
  <Box
42
- testID={"card-loading"}
40
+ testID={testID}
43
41
  width={width ?? "100%"}
44
42
  backgroundColor={theme.colors.blue[400]}
45
- marginStyle={{ marginBottom: 16 }}
46
- paddingStyle={{ padding: 10 }}
43
+ marginStyle={{ marginBottom: theme.margins.md }}
44
+ paddingStyle={{ padding: theme.paddings["2xs"] }}
47
45
  borderStyled={{
48
46
  borderWidth: theme.borderWidths.thin,
49
47
  borderColor: theme.colors.blue[400],
@@ -64,7 +62,7 @@ const CardLoading: React.FC<ICardLoading> = ({
64
62
  />
65
63
  </Box>
66
64
 
67
- <Box width={"75%"} marginStyle={{ marginLeft: 5 }}>
65
+ <Box width={"74%"} marginStyle={{ marginLeft: 5 }} height={120}>
68
66
  <Typography
69
67
  text={title}
70
68
  ellipsizeMode="tail"
@@ -81,7 +79,7 @@ const CardLoading: React.FC<ICardLoading> = ({
81
79
  color={theme.colors.neutral[25]}
82
80
  size={theme.fontSizes.xs}
83
81
  fontFamily={theme.fonts.inter_regular_400}
84
- lineHeight={theme.fontSizes.xs ?? 18}
82
+ lineHeight={theme.fontSizes.md ?? 16}
85
83
  letterSpacing={"regular"}
86
84
  />
87
85
 
@@ -108,7 +106,7 @@ const CardLoading: React.FC<ICardLoading> = ({
108
106
  color={theme.colors.neutral[25]}
109
107
  size={theme.fontSizes.xs}
110
108
  fontFamily={theme.fonts.inter_bold_700}
111
- lineHeight={theme.fontSizes.lg ?? 18}
109
+ lineHeight={theme.fontSizes.md ?? 16}
112
110
  letterSpacing={"regular"}
113
111
  marginLeft={2}
114
112
  />
@@ -130,7 +128,7 @@ const CardLoading: React.FC<ICardLoading> = ({
130
128
  color={theme.colors.neutral[25]}
131
129
  size={theme.fontSizes.xs}
132
130
  fontFamily={theme.fonts.inter_bold_700}
133
- lineHeight={theme.fontSizes.lg ?? 18}
131
+ lineHeight={theme.fontSizes.md ?? 16}
134
132
  letterSpacing={"regular"}
135
133
  marginLeft={2}
136
134
  />
@@ -149,7 +147,7 @@ const CardLoading: React.FC<ICardLoading> = ({
149
147
  color={theme.colors.neutral[25]}
150
148
  size={theme.fontSizes.xs}
151
149
  fontFamily={theme.fonts.inter_bold_700}
152
- lineHeight={theme.fontSizes.lg ?? 18}
150
+ lineHeight={theme.fontSizes.md ?? 16}
153
151
  letterSpacing={"regular"}
154
152
  marginLeft={2}
155
153
  />
@@ -169,7 +167,7 @@ const CardLoading: React.FC<ICardLoading> = ({
169
167
  color={theme.colors.neutral[25]}
170
168
  size={theme.fontSizes.xs}
171
169
  fontFamily={theme.fonts.inter_regular_400}
172
- lineHeight={theme.fontSizes.lg ?? 18}
170
+ lineHeight={theme.fontSizes.md ?? 16}
173
171
  letterSpacing={"regular"}
174
172
  />
175
173
  <Typography
@@ -177,7 +175,7 @@ const CardLoading: React.FC<ICardLoading> = ({
177
175
  color={theme.colors.neutral[25]}
178
176
  size={theme.fontSizes.xs}
179
177
  fontFamily={theme.fonts.inter_bold_700}
180
- lineHeight={theme.fontSizes.lg ?? 18}
178
+ lineHeight={theme.fontSizes.md ?? 16}
181
179
  letterSpacing={"regular"}
182
180
  marginLeft={4}
183
181
  />
@@ -204,7 +202,7 @@ const CardLoading: React.FC<ICardLoading> = ({
204
202
  color={theme.colors.neutral[25]}
205
203
  size={theme.fontSizes.xs}
206
204
  fontFamily={theme.fonts.inter_regular_400}
207
- lineHeight={theme.fontSizes.lg ?? 18}
205
+ lineHeight={theme.fontSizes.md ?? 16}
208
206
  letterSpacing={"regular"}
209
207
  />
210
208
  <Typography
@@ -212,7 +210,7 @@ const CardLoading: React.FC<ICardLoading> = ({
212
210
  color={theme.colors.neutral[25]}
213
211
  size={theme.fontSizes.xs}
214
212
  fontFamily={theme.fonts.inter_bold_700}
215
- lineHeight={theme.fontSizes.lg ?? 18}
213
+ lineHeight={theme.fontSizes.md ?? 16}
216
214
  letterSpacing={"regular"}
217
215
  marginLeft={4}
218
216
  />
@@ -239,7 +237,7 @@ const CardLoading: React.FC<ICardLoading> = ({
239
237
  color={theme.colors.neutral[25]}
240
238
  size={theme.fontSizes.xs}
241
239
  fontFamily={theme.fonts.inter_regular_400}
242
- lineHeight={theme.fontSizes.lg ?? 18}
240
+ lineHeight={theme.fontSizes.md ?? 16}
243
241
  letterSpacing={"regular"}
244
242
  />
245
243
  <Typography
@@ -247,7 +245,7 @@ const CardLoading: React.FC<ICardLoading> = ({
247
245
  color={getStatusColor(status as StatusType)}
248
246
  size={theme.fontSizes.xs}
249
247
  fontFamily={theme.fonts.inter_bold_700}
250
- lineHeight={theme.fontSizes.lg ?? 18}
248
+ lineHeight={theme.fontSizes.md ?? 16}
251
249
  letterSpacing={"regular"}
252
250
  marginLeft={4}
253
251
  />
@@ -255,7 +253,7 @@ const CardLoading: React.FC<ICardLoading> = ({
255
253
  </Box>
256
254
  </Box>
257
255
  </Box>
258
- </Pressable>
256
+ </TouchableOpacity>
259
257
  );
260
258
  };
261
259
 
@@ -1,24 +1,31 @@
1
1
  /**
2
2
  * IMPORTS
3
3
  */
4
- import { PressableProps } from "react-native";
4
+ import { TouchableOpacityProps } from "react-native";
5
5
 
6
6
  // typing
7
7
  import { IGlobalCss } from "../../styles/global/interface";
8
8
 
9
- interface ICardLoading extends PressableProps, IGlobalCss {
9
+ interface ICardLoading extends TouchableOpacityProps, IGlobalCss {
10
+ /**propriedade que indica o título do carregamento */
10
11
  title?: string;
11
- /**propiedade que indica o local do carregamento */
12
+
13
+ /**propriedade que indica o local do carregamento */
12
14
  local?: string;
13
- /**propiedade que indica o veiculo */
15
+
16
+ /**propriedade que indica o veiculo */
14
17
  vehicle?: string;
15
- /**propiedade que indica a previsão do carregamento */
18
+
19
+ /**propriedade que indica a previsão do carregamento */
16
20
  prevision?: string;
17
- /**propiedade que indica o peso do carregamento */
21
+
22
+ /**propriedade que indica o peso do carregamento */
18
23
  kg: number;
19
- /**propiedade que indica a quantidade de bobinas do carregamento */
24
+
25
+ /**propriedade que indica a quantidade de bobinas do carregamento */
20
26
  qtdCoils: number;
21
- /**propiedade que indica o status do carregamento */
27
+
28
+ /**propriedade que indica o status do carregamento */
22
29
  status?: string;
23
30
 
24
31
  handleNavigation: () => void;
@@ -25,14 +25,18 @@ const CardWorkSession: React.FC<ICardWorkSession> = ({
25
25
  initialTime = "11:40",
26
26
  duration = "05:20",
27
27
  avatar = "",
28
+ backgroundColor,
28
29
  width,
29
30
  }) => {
30
31
  return (
31
32
  <Box
32
33
  width={width}
33
- paddingStyle={{ padding: 15 }}
34
- borderStyled={{ borderBottomWidth: 1, borderBottomColor: "#c6c6c6" }}
35
- backgroundColor={theme.colors.neutral[25]}
34
+ paddingStyle={{ padding: theme.paddings.md }}
35
+ borderStyled={{
36
+ borderBottomWidth: theme.borderWidths.thin,
37
+ borderColor: theme.colors.neutral[200],
38
+ }}
39
+ backgroundColor={backgroundColor ?? theme.colors.neutral[25]}
36
40
  style={{
37
41
  position: "relative",
38
42
  }}
@@ -46,7 +50,7 @@ const CardWorkSession: React.FC<ICardWorkSession> = ({
46
50
  width: 50,
47
51
  height: 50,
48
52
  borderRadius: 25,
49
- borderWidth: 2,
53
+ borderWidth: theme.borderWidths.thin_medium,
50
54
  borderColor: theme.colors.blue[500],
51
55
  }}
52
56
  source={{ uri: avatar || IMAGES.IMAGE_ANONIMA }}
@@ -73,6 +77,7 @@ const CardWorkSession: React.FC<ICardWorkSession> = ({
73
77
  size={11}
74
78
  color={theme.colors.black[100]}
75
79
  fontFamily={theme.fonts.inter_bold_700}
80
+ letterSpacing={"regular"}
76
81
  />
77
82
 
78
83
  <Typography
@@ -80,6 +85,7 @@ const CardWorkSession: React.FC<ICardWorkSession> = ({
80
85
  size={11}
81
86
  fontFamily={theme.fonts.inter_regular_400}
82
87
  color={theme.colors.gray[800]}
88
+ letterSpacing={"regular"}
83
89
  />
84
90
  </Box>
85
91
  </Box>
@@ -0,0 +1,125 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { TouchableOpacity } from "react-native";
6
+
7
+ // components
8
+ import { Typography } from "../typography";
9
+
10
+ // commons icons-svg
11
+ import { Icons } from "../../common/icons-svg";
12
+
13
+ // typings
14
+ import { ICheckBoxProps } from "./interface";
15
+
16
+ // styles
17
+ import { Box } from "../box";
18
+
19
+ /**
20
+ * Componente CheckBox para a interação da ui.
21
+ */
22
+ const CheckBox: React.FC<ICheckBoxProps> = ({
23
+ widthBoxCheckIcon,
24
+ heightWrapperTextLabel,
25
+ isChecked,
26
+ backgroundColorCheck,
27
+ backgroundBoxCheckIcon,
28
+ textLabel,
29
+ textSizeLabel,
30
+ colorTextLabel,
31
+ onPress,
32
+ ...res
33
+ }: ICheckBoxProps) => {
34
+ return (
35
+ <TouchableOpacity testID="checkbox-button" onPress={onPress} {...res}>
36
+ {isChecked ? (
37
+ <Box
38
+ width={"100%"}
39
+ paddingStyle={{ paddingLeft: 16, paddingRight: 16 }}
40
+ flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "center" }}
41
+ >
42
+ <Box
43
+ testID="check-box-true"
44
+ width={widthBoxCheckIcon ? widthBoxCheckIcon : 30}
45
+ height={40}
46
+ backgroundColor={backgroundBoxCheckIcon ? backgroundBoxCheckIcon : "transparent"}
47
+ flexStyle={{
48
+ flexDirection: "column",
49
+ alignItems: "flex-start",
50
+ justifyContent: "flex-start",
51
+ }}
52
+ >
53
+ <Icons size={24} color={backgroundColorCheck} icon="CHECK_BOX_OUTLINE" />
54
+ </Box>
55
+
56
+ <Box
57
+ width={"100%"}
58
+ height={heightWrapperTextLabel ? heightWrapperTextLabel : 40}
59
+ backgroundColor="transparent"
60
+ flexStyle={{
61
+ flexDirection: "column",
62
+ alignItems: "flex-start",
63
+ justifyContent: "flex-start",
64
+ }}
65
+ >
66
+ {textLabel && (
67
+ <Typography
68
+ text={textLabel ? textLabel : "Label"}
69
+ color={colorTextLabel ? colorTextLabel : "white"}
70
+ size={textLabel ? textSizeLabel : 16}
71
+ lineHeight={18}
72
+ letterSpacing={"regular"}
73
+ />
74
+ )}
75
+ </Box>
76
+ </Box>
77
+ ) : (
78
+ <Box
79
+ width={"100%"}
80
+ paddingStyle={{ paddingLeft: 16, paddingRight: 16 }}
81
+ flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "center" }}
82
+ testID="check-box-falso"
83
+ >
84
+ <Box
85
+ width={widthBoxCheckIcon ? widthBoxCheckIcon : 30}
86
+ height={40}
87
+ backgroundColor={backgroundBoxCheckIcon ? backgroundBoxCheckIcon : "transparent"}
88
+ flexStyle={{
89
+ flexDirection: "column",
90
+ alignItems: "flex-start",
91
+ justifyContent: "flex-start",
92
+ }}
93
+ >
94
+ <Icons size={24} color={backgroundColorCheck} icon="CHECK_BOX_FILL" />
95
+ </Box>
96
+
97
+ <Box
98
+ width={"100%"}
99
+ height={heightWrapperTextLabel ? heightWrapperTextLabel : 40}
100
+ backgroundColor="transparent"
101
+ flexStyle={{
102
+ flexDirection: "column",
103
+ alignItems: "flex-start",
104
+ justifyContent: "flex-start",
105
+ }}
106
+ >
107
+ {textLabel && (
108
+ <Typography
109
+ text={textLabel ? textLabel : "Label"}
110
+ color={colorTextLabel ? colorTextLabel : "white"}
111
+ size={textLabel ? textSizeLabel : 16}
112
+ lineHeight={18}
113
+ letterSpacing={"regular"}
114
+ />
115
+ )}
116
+ </Box>
117
+ </Box>
118
+ )}
119
+ </TouchableOpacity>
120
+ );
121
+ };
122
+ /**
123
+ * EXPORTS
124
+ */
125
+ export { CheckBox };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import { TouchableOpacityProps } from "react-native";
5
+
6
+ export interface ICheckBoxProps extends TouchableOpacityProps {
7
+ /**Propriedade do tamanho do box do icon-check-outline */
8
+ widthBoxCheckIcon?: number;
9
+ /**Propriedade da altura do wrapper do textLabel */
10
+ heightWrapperTextLabel?: number;
11
+ /**Propriedade para saber se o checkbox esta marcado */
12
+ isChecked: boolean;
13
+ /**Propriedade para mudar a cor do icon quando for marcado */
14
+ backgroundColorCheck?: string;
15
+ /**Propriedade para mudar a cor do icon quando for marcado */
16
+ backgroundBoxCheckIcon?: string;
17
+ /**Propriedade do textLabel */
18
+ textLabel?: string;
19
+ /**Propriedade do tamanho do textLabel */
20
+ textSizeLabel?: number;
21
+ /**Propriedade da cor do textLabel */
22
+ colorTextLabel?: string;
23
+ }
24
+ /**
25
+ * EXPORTS
26
+ */
27
+ export type { ICheckBoxProps };
@@ -0,0 +1,82 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { TouchableOpacity } from "react-native";
6
+
7
+ // components
8
+ import { Box } from "../box";
9
+ import { Typography } from "../typography";
10
+
11
+ // icons
12
+ import { Icons } from "../../common/icons-svg";
13
+
14
+ // theme
15
+ import { theme } from "../../styles/theme/theme";
16
+
17
+ import { ICoil } from "./interface";
18
+
19
+ const Coil: React.FC<ICoil> = ({ description, handleNavigation, title, testID, status }) => {
20
+ return (
21
+ <TouchableOpacity activeOpacity={0.7} testID={testID} onPress={handleNavigation}>
22
+ <Box
23
+ width={"100%"}
24
+ flexStyle={{ flexDirection: "row", alignItems: "center" }}
25
+ height={70}
26
+ backgroundColor={theme.colors.blue[400]}
27
+ borderStyled={{
28
+ borderWidth: 1,
29
+ borderRadius: theme.borderWidths.thick_medium,
30
+ borderColor: theme.colors.blue[400],
31
+ }}
32
+ paddingStyle={{ padding: theme.paddings["2xs"] }}
33
+ marginStyle={{ marginBottom: theme.margins.md }}
34
+ style={{ elevation: 5 }}
35
+ >
36
+ <Box
37
+ width={"80%"}
38
+ height={70}
39
+ flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-start" }}
40
+ >
41
+ <Icons icon={"LIFEBUOY"} size={32} />
42
+
43
+ <Box
44
+ flexStyle={{ flexDirection: "column", flexWrap: "wrap" }}
45
+ marginStyle={{ marginLeft: 18 }}
46
+ >
47
+ <Typography
48
+ text={title}
49
+ size={theme.fontSizes["2xl"]}
50
+ fontFamily={theme.fonts.inter_bold_700}
51
+ color={theme.colors.neutral[25]}
52
+ letterSpacing={"regular"}
53
+ paddingTop={theme.paddings.md}
54
+ />
55
+ <Typography
56
+ text={description}
57
+ size={theme.fontSizes["2xs"]}
58
+ fontFamily={theme.fonts.inter_semi_bold_600}
59
+ color={theme.colors.neutral[25]}
60
+ letterSpacing={"regular"}
61
+ />
62
+ </Box>
63
+ </Box>
64
+
65
+ <Box
66
+ width={"20%"}
67
+ flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-end" }}
68
+ height={70}
69
+ >
70
+ {status == "recused" && <Icons icon={"RECUSED"} size={32} />}
71
+ {status == "approved" && <Icons icon={"CHECK_CIRCLE"} size={32} />}
72
+ {status == "pending" && <Icons icon={"EXCLAMATION_CIRCLE"} size={32} />}
73
+ </Box>
74
+ </Box>
75
+ </TouchableOpacity>
76
+ );
77
+ };
78
+
79
+ /**
80
+ * EXPORTS
81
+ */
82
+ export { Coil };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import { ViewProps } from "react-native";
5
+
6
+ // typing
7
+ import { IGlobalCss } from "../../styles/global/interface";
8
+
9
+ interface ICoil extends ViewProps, IGlobalCss {
10
+ /**propriedade que indica o título da bobina */
11
+ title: string;
12
+
13
+ /**propriedade que indica a descrição da bobina */
14
+ description: string;
15
+
16
+ /**propriedade que indica que levar para tela da bobina */
17
+ handleNavigation: () => void;
18
+
19
+ /**propriedade que indica status da bobina */
20
+ status: "recused" | "pending" | "approved";
21
+ }
22
+
23
+ /**
24
+ * EXPORTS
25
+ */
26
+ export { ICoil };
@@ -0,0 +1,89 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { TouchableOpacity, ActivityIndicator, FlatList } from "react-native";
6
+
7
+ // components
8
+ import { Box } from "../box";
9
+ import { Typography } from "../typography";
10
+
11
+ // styles
12
+ import { theme } from "../../styles/theme/theme";
13
+
14
+ //typing
15
+ import { IFilterDateSelector, ISelectedDay } from "./interface";
16
+
17
+ /**
18
+ *
19
+ * Componente FilterDateSelector para a interação do usuário com ui.
20
+ */
21
+ const FilterDateSelector: React.FC<IFilterDateSelector> = ({
22
+ selectedDay,
23
+ handleSelectedDay,
24
+ days,
25
+ isLoading,
26
+ testID,
27
+ }) => {
28
+ const renderDayBlock = ({ item: day, index }: { item: ISelectedDay; index: number }) => {
29
+ const isSelected = selectedDay && selectedDay.date === day.date;
30
+ return (
31
+ <TouchableOpacity
32
+ disabled={isSelected}
33
+ key={index}
34
+ activeOpacity={0.7}
35
+ onPress={() => handleSelectedDay(day)}
36
+ >
37
+ <Box
38
+ testID={testID}
39
+ width={60}
40
+ height={75}
41
+ flexStyle={{ alignItems: "center", justifyContent: "center" }}
42
+ backgroundColor={isSelected ? theme.colors.blue[400] : theme.colors.gray[350]}
43
+ borderStyled={{
44
+ borderRadius: theme.borderWidths.thick_large,
45
+ borderColor: isSelected ? theme.colors.blue[400] : theme.colors.gray[350],
46
+ borderWidth: theme.borderWidths.thin,
47
+ }}
48
+ marginStyle={{ marginRight: theme.margins["2xs"] }}
49
+ >
50
+ {isSelected && isLoading ? (
51
+ <ActivityIndicator size="small" color="white" />
52
+ ) : (
53
+ <>
54
+ <Typography
55
+ text={day.date.toString().padStart(2, "0")}
56
+ size={theme.fontSizes.lg}
57
+ color={theme.colors.neutral[25]}
58
+ fontFamily={theme.fonts.inter_bold_700}
59
+ />
60
+ <Typography
61
+ text={day.dayName.slice(0, 3)}
62
+ size={theme.fontSizes.lg}
63
+ color={theme.colors.neutral[25]}
64
+ fontFamily={theme.fonts.inter_bold_700}
65
+ letterSpacing="o_16"
66
+ />
67
+ </>
68
+ )}
69
+ </Box>
70
+ </TouchableOpacity>
71
+ );
72
+ };
73
+ const daySorted = days.sort(
74
+ (a, b) => new Date(b.fullDate).getTime() - new Date(a.fullDate).getTime()
75
+ );
76
+ return (
77
+ <FlatList
78
+ horizontal
79
+ data={daySorted}
80
+ showsHorizontalScrollIndicator={false}
81
+ renderItem={renderDayBlock}
82
+ />
83
+ );
84
+ };
85
+
86
+ /**
87
+ * EXPORTS
88
+ */
89
+ export { FilterDateSelector };
@@ -0,0 +1,43 @@
1
+ /*
2
+ * IMPORTS
3
+ */
4
+ import { TouchableOpacityProps } from "react-native";
5
+
6
+ /**
7
+ * INTERFACE
8
+ */
9
+ import { IGlobalCss } from "../../styles/global/interface";
10
+
11
+ interface ISelectedDay {
12
+ date: string | number;
13
+ dayName: string;
14
+ fullDate: Date;
15
+ }
16
+
17
+ interface IFilterDateSelector extends TouchableOpacityProps, IGlobalCss {
18
+ /**
19
+ * prop que mostra o dia selecionado
20
+ */
21
+ selectedDay: ISelectedDay;
22
+
23
+ /**
24
+ * função que seleciona a data
25
+ */
26
+ // eslint-disable-next-line no-unused-vars
27
+ handleSelectedDay: (date: ISelectedDay) => {};
28
+
29
+ /**
30
+ * * Retorna as sete últimas datas dos dias
31
+ */
32
+ days: ISelectedDay[];
33
+
34
+ /**
35
+ * Retorna o loading do componente
36
+ */
37
+ isLoading: boolean;
38
+ }
39
+
40
+ /**
41
+ * EXPORTS
42
+ */
43
+ export type { IFilterDateSelector, ISelectedDay };
@@ -0,0 +1,60 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { FlatList } from "react-native";
6
+
7
+ // components
8
+ import { Button } from "../button";
9
+
10
+ // typing
11
+ import { IFilterJourneyProps } from "./interface";
12
+
13
+ // styles
14
+ import { theme } from "../../styles/theme/theme";
15
+
16
+ const FilterJourney: React.FC<IFilterJourneyProps> = ({
17
+ filters,
18
+ handleFilterSelect,
19
+ selectedFilter,
20
+ isLoading,
21
+ }) => {
22
+ return (
23
+ <FlatList
24
+ horizontal
25
+ data={filters}
26
+ showsHorizontalScrollIndicator={false}
27
+ renderItem={({ item }) => (
28
+ <Button
29
+ isLoading={isLoading || false}
30
+ disabled={isLoading}
31
+ paddingStyle={{ paddingLeft: theme.paddings.sm, paddingRight: theme.paddings.sm }}
32
+ onPress={() => handleFilterSelect(item.descricao)}
33
+ title={item.descricao}
34
+ flexStyle={{ textAlign: "center", alignItems: "center", justifyContent: "center" }}
35
+ marginStyle={{ marginRight: theme.margins["2xs"] }}
36
+ borderStyled={{
37
+ borderWidth: theme.borderWidths.thin,
38
+ borderColor:
39
+ selectedFilter === item.descricao ? theme.colors.blue[400] : theme.colors.gray[800],
40
+ borderRadius: theme.borderWidths.thick_bold,
41
+ }}
42
+ backgroundColor={
43
+ selectedFilter === item.descricao ? theme.colors.blue[400] : theme.colors.neutral[25]
44
+ }
45
+ buttonTextStyle={{
46
+ color:
47
+ selectedFilter === item.descricao ? theme.colors.neutral[25] : theme.colors.gray[800],
48
+ fontFamily: theme.fonts.inter_semi_bold_600,
49
+ fontSize: theme.fontSizes.sm,
50
+ }}
51
+ />
52
+ )}
53
+ />
54
+ );
55
+ };
56
+
57
+ /**
58
+ * EXPORTS
59
+ */
60
+ export { FilterJourney };