react-native-exp-fig 0.1.13 → 0.1.15

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 (216) hide show
  1. package/lib/commonjs/common/icons-svg/agent/index.js +2 -2
  2. package/lib/commonjs/common/icons-svg/agent/index.js.map +1 -1
  3. package/lib/commonjs/common/icons-svg/bed/index.js +4 -4
  4. package/lib/commonjs/common/icons-svg/bed/index.js.map +1 -1
  5. package/lib/commonjs/common/icons-svg/car/index.js +4 -4
  6. package/lib/commonjs/common/icons-svg/car/index.js.map +1 -1
  7. package/lib/commonjs/common/icons-svg/check-outline/index.js +6 -6
  8. package/lib/commonjs/common/icons-svg/check-outline/index.js.map +1 -1
  9. package/lib/commonjs/common/icons-svg/coffee/index.js +4 -4
  10. package/lib/commonjs/common/icons-svg/coffee/index.js.map +1 -1
  11. package/lib/commonjs/common/icons-svg/constants/index.js +4 -4
  12. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  13. package/lib/commonjs/common/icons-svg/index.js +4 -4
  14. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  15. package/lib/commonjs/common/icons-svg/pencil/index.js +4 -4
  16. package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -1
  17. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  18. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  19. package/lib/commonjs/common/icons-svg/truck-activity/index.js +4 -4
  20. package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -1
  21. package/lib/commonjs/components/activities-daily/index.js +4 -4
  22. package/lib/commonjs/components/activities-daily/index.js.map +1 -1
  23. package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -1
  24. package/lib/commonjs/components/activities-progress/index.js +4 -4
  25. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  26. package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
  27. package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
  28. package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -1
  29. package/lib/commonjs/components/card-history/index.js +7 -7
  30. package/lib/commonjs/components/card-history/index.js.map +1 -1
  31. package/lib/commonjs/components/card-loading/index.js +7 -7
  32. package/lib/commonjs/components/card-loading/index.js.map +1 -1
  33. package/lib/commonjs/components/card-work-session/index.js +4 -4
  34. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  35. package/lib/commonjs/components/check-box/index.js +6 -6
  36. package/lib/commonjs/components/check-box/index.js.map +1 -1
  37. package/lib/commonjs/components/check-box/interface.d.js.map +1 -1
  38. package/lib/commonjs/components/coil/index.js +4 -4
  39. package/lib/commonjs/components/coil/index.js.map +1 -1
  40. package/lib/commonjs/components/coil/interface.d.js.map +1 -1
  41. package/lib/commonjs/components/filter-date-selector/index.js +7 -7
  42. package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
  43. package/lib/commonjs/components/history-details/index.js +1 -2
  44. package/lib/commonjs/components/history-details/index.js.map +1 -1
  45. package/lib/commonjs/components/history-details/interface.d.js.map +1 -1
  46. package/lib/commonjs/components/image-capture-with-remove/index.js +7 -7
  47. package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
  48. package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -1
  49. package/lib/commonjs/components/loading-progress/index.js +12 -9
  50. package/lib/commonjs/components/loading-progress/index.js.map +1 -1
  51. package/lib/commonjs/components/notification-loading/index.js +9 -2
  52. package/lib/commonjs/components/notification-loading/index.js.map +1 -1
  53. package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -1
  54. package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
  55. package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -1
  56. package/lib/commonjs/components/step-indicator/index.js +6 -6
  57. package/lib/commonjs/components/step-indicator/index.js.map +1 -1
  58. package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -1
  59. package/lib/commonjs/components/step-indicator/styles.js +9 -8
  60. package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
  61. package/lib/commonjs/components/user-profile/index.js +6 -6
  62. package/lib/commonjs/components/user-profile/index.js.map +1 -1
  63. package/lib/commonjs/index.js.map +1 -1
  64. package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -1
  65. package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
  66. package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  67. package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
  68. package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
  69. package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
  70. package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  71. package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -1
  72. package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  73. package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -1
  74. package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  75. package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
  76. package/lib/commonjs/styles/theme/theme.js +4 -4
  77. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  78. package/lib/commonjs/utils/format-data/index.js +11 -11
  79. package/lib/commonjs/utils/format-data/index.js.map +1 -1
  80. package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
  81. package/lib/module/common/icons-svg/agent/index.js +2 -2
  82. package/lib/module/common/icons-svg/agent/index.js.map +1 -1
  83. package/lib/module/common/icons-svg/bed/index.js +4 -4
  84. package/lib/module/common/icons-svg/bed/index.js.map +1 -1
  85. package/lib/module/common/icons-svg/car/index.js +4 -4
  86. package/lib/module/common/icons-svg/car/index.js.map +1 -1
  87. package/lib/module/common/icons-svg/check-outline/index.js +6 -6
  88. package/lib/module/common/icons-svg/check-outline/index.js.map +1 -1
  89. package/lib/module/common/icons-svg/coffee/index.js +4 -4
  90. package/lib/module/common/icons-svg/coffee/index.js.map +1 -1
  91. package/lib/module/common/icons-svg/constants/index.js +4 -4
  92. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  93. package/lib/module/common/icons-svg/index.js +4 -4
  94. package/lib/module/common/icons-svg/index.js.map +1 -1
  95. package/lib/module/common/icons-svg/pencil/index.js +4 -4
  96. package/lib/module/common/icons-svg/pencil/index.js.map +1 -1
  97. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  98. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  99. package/lib/module/common/icons-svg/truck-activity/index.js +4 -4
  100. package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -1
  101. package/lib/module/components/activities-daily/index.js +4 -4
  102. package/lib/module/components/activities-daily/index.js.map +1 -1
  103. package/lib/module/components/activities-daily/interface.d.js.map +1 -1
  104. package/lib/module/components/activities-progress/index.js +4 -4
  105. package/lib/module/components/activities-progress/index.js.map +1 -1
  106. package/lib/module/components/activities-progress/interface.d.js.map +1 -1
  107. package/lib/module/components/avatar-profile/index.js.map +1 -1
  108. package/lib/module/components/avatar-profile/interface.d.js.map +1 -1
  109. package/lib/module/components/card-history/index.js +7 -7
  110. package/lib/module/components/card-history/index.js.map +1 -1
  111. package/lib/module/components/card-loading/index.js +7 -7
  112. package/lib/module/components/card-loading/index.js.map +1 -1
  113. package/lib/module/components/card-work-session/index.js +4 -4
  114. package/lib/module/components/card-work-session/index.js.map +1 -1
  115. package/lib/module/components/check-box/index.js +6 -6
  116. package/lib/module/components/check-box/index.js.map +1 -1
  117. package/lib/module/components/check-box/interface.d.js.map +1 -1
  118. package/lib/module/components/coil/index.js +4 -4
  119. package/lib/module/components/coil/index.js.map +1 -1
  120. package/lib/module/components/coil/interface.d.js.map +1 -1
  121. package/lib/module/components/filter-date-selector/index.js +7 -7
  122. package/lib/module/components/filter-date-selector/index.js.map +1 -1
  123. package/lib/module/components/history-details/index.js +1 -2
  124. package/lib/module/components/history-details/index.js.map +1 -1
  125. package/lib/module/components/history-details/interface.d.js.map +1 -1
  126. package/lib/module/components/image-capture-with-remove/index.js +7 -7
  127. package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
  128. package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
  129. package/lib/module/components/loading-progress/index.js +12 -9
  130. package/lib/module/components/loading-progress/index.js.map +1 -1
  131. package/lib/module/components/notification-loading/index.js +9 -2
  132. package/lib/module/components/notification-loading/index.js.map +1 -1
  133. package/lib/module/components/notification-loading/interface.d.js.map +1 -1
  134. package/lib/module/components/profile-menu-option/index.js.map +1 -1
  135. package/lib/module/components/profile-menu-option/interface.d.js.map +1 -1
  136. package/lib/module/components/step-indicator/index.js +6 -6
  137. package/lib/module/components/step-indicator/index.js.map +1 -1
  138. package/lib/module/components/step-indicator/interface.d.js.map +1 -1
  139. package/lib/module/components/step-indicator/styles.js +9 -8
  140. package/lib/module/components/step-indicator/styles.js.map +1 -1
  141. package/lib/module/components/user-profile/index.js +6 -6
  142. package/lib/module/components/user-profile/index.js.map +1 -1
  143. package/lib/module/index.js +2 -2
  144. package/lib/module/index.js.map +1 -1
  145. package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -1
  146. package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
  147. package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  148. package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
  149. package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
  150. package/lib/module/stories/coil/coil.stories.js.map +1 -1
  151. package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  152. package/lib/module/stories/history-details/history-details.stories.js.map +1 -1
  153. package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  154. package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -1
  155. package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  156. package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
  157. package/lib/module/styles/theme/theme.js +4 -4
  158. package/lib/module/styles/theme/theme.js.map +1 -1
  159. package/lib/module/utils/format-data/index.js +11 -11
  160. package/lib/module/utils/format-data/index.js.map +1 -1
  161. package/lib/module/utils/status-color/return-color.js.map +1 -1
  162. package/lib/typescript/src/components/step-indicator/styles.d.ts +1 -0
  163. package/package.json +5 -5
  164. package/src/common/icons-svg/agent/index.tsx +40 -40
  165. package/src/common/icons-svg/bed/index.tsx +41 -41
  166. package/src/common/icons-svg/car/index.tsx +29 -29
  167. package/src/common/icons-svg/check-outline/index.tsx +42 -42
  168. package/src/common/icons-svg/coffee/index.tsx +43 -43
  169. package/src/common/icons-svg/constants/index.ts +63 -63
  170. package/src/common/icons-svg/index.tsx +255 -255
  171. package/src/common/icons-svg/pencil/index.tsx +32 -32
  172. package/src/common/icons-svg/refresh-ccw-dot/index.tsx +32 -32
  173. package/src/common/icons-svg/truck-activity/index.tsx +29 -29
  174. package/src/components/activities-daily/index.tsx +116 -116
  175. package/src/components/activities-daily/interface.d.ts +22 -22
  176. package/src/components/activities-progress/index.tsx +162 -162
  177. package/src/components/activities-progress/interface.d.ts +41 -41
  178. package/src/components/avatar-profile/index.tsx +95 -95
  179. package/src/components/avatar-profile/interface.d.ts +39 -39
  180. package/src/components/card-history/index.tsx +149 -149
  181. package/src/components/card-loading/index.tsx +278 -278
  182. package/src/components/card-work-session/index.tsx +187 -187
  183. package/src/components/check-box/index.tsx +94 -94
  184. package/src/components/check-box/interface.d.ts +31 -31
  185. package/src/components/coil/index.tsx +103 -103
  186. package/src/components/coil/interface.d.ts +26 -26
  187. package/src/components/filter-date-selector/index.tsx +101 -101
  188. package/src/components/history-details/index.tsx +1 -2
  189. package/src/components/history-details/interface.d.ts +18 -18
  190. package/src/components/image-capture-with-remove/index.tsx +89 -89
  191. package/src/components/image-capture-with-remove/interface.d.ts +25 -25
  192. package/src/components/loading-progress/index.tsx +92 -91
  193. package/src/components/notification-loading/index.tsx +9 -2
  194. package/src/components/notification-loading/interface.d.ts +35 -35
  195. package/src/components/profile-menu-option/index.tsx +65 -65
  196. package/src/components/profile-menu-option/interface.d.ts +42 -42
  197. package/src/components/step-indicator/index.tsx +164 -164
  198. package/src/components/step-indicator/interface.d.ts +34 -34
  199. package/src/components/step-indicator/styles.ts +68 -67
  200. package/src/components/user-profile/index.tsx +204 -204
  201. package/src/index.ts +42 -42
  202. package/src/stories/activities-daily/activities-daily.stories.tsx +40 -40
  203. package/src/stories/activities-progress/activities-progress.stories.tsx +61 -61
  204. package/src/stories/avatar-profile/avatar-profile.stories.tsx +32 -32
  205. package/src/stories/card-loading/card-loading.stories.tsx +85 -85
  206. package/src/stories/check-box/check-box.stories.tsx +81 -81
  207. package/src/stories/coil/coil.stories.tsx +98 -98
  208. package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +122 -122
  209. package/src/stories/history-details/history-details.stories.tsx +36 -36
  210. package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +57 -57
  211. package/src/stories/notification-loading/notification-loading.stories.tsx +88 -88
  212. package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -70
  213. package/src/stories/step-indicator/step-indicator.stories.tsx +124 -124
  214. package/src/styles/theme/theme.ts +170 -170
  215. package/src/utils/format-data/index.ts +66 -66
  216. package/src/utils/status-color/return-color.ts +23 -23
@@ -1,255 +1,255 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
-
6
- // commons / svg
7
- import { SvgIconSteeringWheel } from "./steering-wheel";
8
- import { SvgIconCheckBoxFill } from "./check-box-fill";
9
- import { SvgIconCheckBoxOutline } from "./check-box-outline";
10
- import { SvgIconCameraPlus } from "./camera-plus";
11
- import { SvgIconMoonStars } from "./moon-stars";
12
- import { SvgIconCallBell } from "./call-bell";
13
- import { SvgIconSteeringWheelFill } from "./steering-wheel-fill";
14
- import { SvgIconTrophy } from "./trophy";
15
- import { IconShoppingCart } from "./shopping-cart";
16
- import { IconCreditCard } from "./credit-card";
17
- import { IconFileText } from "./file-text";
18
- import { IconTruck } from "./truck";
19
- import { IconPackageCheck } from "./package-check";
20
- import { SvgIconEyeSlash } from "./eye-slash";
21
- import { SvgIconCalendar } from "./calendar";
22
- import { SvgIconCurrency } from "./currency";
23
- import { SvgIconEye } from "./eye";
24
- import { SvgIconGasPump } from "./gas-pump";
25
- import { SvgIconGauge } from "./gauge";
26
- import { SvgIconGear } from "./gear";
27
- import { SvgIconTimer } from "./timer";
28
- import { SvgIconNotePencil } from "./note-pincel";
29
- import { SvgIconCheckCircle } from "./check-circle";
30
- import { SvgIconArrowLeft } from "./arrow-left";
31
- import { SvgIconBluetooth } from "./bluetooth";
32
- import { SvgIconBluetoothConnected } from "./bluetooth-connected";
33
- import { SvgIconList } from "./list";
34
- import { SvgIconWiFiHigh } from "./wifi-high";
35
- import { SvgIconWiFiX } from "./wifi-x";
36
- import { SvgIconArrowDropDown } from "./arrow-drop-down";
37
- import { SvgIconClosed } from "./closed";
38
- import { SvgPackage } from "./package";
39
- import { SvgChartBar } from "./chart-bar";
40
- import { SvgTruckTrailer } from "./truck-trailer";
41
- import { SvgIconBell } from "./bell";
42
- import { SvgIconFiles } from "./files";
43
- import { SvgIconLifebuoy } from "./lifebuoy";
44
- import { SvgIconRecused } from "./recused";
45
- import { SvgIconExclamationCircle } from "./exclamation-circle";
46
- import { SvgIconPlus } from "./plus";
47
- import { SvgIconXCirle } from "./x-circle";
48
- import { SvgIconEllipse } from "./ellipse";
49
- import { SvgIconCheckBox } from "./check-box";
50
- import { SvgIconPencil } from "./pencil";
51
- import { SvgIconCar } from "./car";
52
- import { SvgIconTruckActivity } from "./truck-activity";
53
- import { SvgIconCheckOutline } from "./check-outline";
54
-
55
- // typing
56
- import { ISvgProps } from "./interface";
57
-
58
- // styles
59
- import { theme } from "../../styles/theme/theme";
60
- import { SvgIconCoffee } from "./coffee";
61
- import { SvgIconAgent } from "./agent";
62
- import { SvgIconBed } from "./bed";
63
- import { SvgIconRefreshCcwDot } from "./refresh-ccw-dot";
64
-
65
- const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
66
- switch (icon) {
67
- case "STEERING_WHEEL":
68
- return <SvgIconSteeringWheel icon="STEERING_WHEEL" color={color} size={size} />;
69
-
70
- case "CHECK_BOX_FILL":
71
- return <SvgIconCheckBoxFill icon="CHECK_BOX_FILL" color={color} size={size} />;
72
-
73
- case "CHECK_OUTLINE":
74
- return <SvgIconCheckOutline icon="CHECK_OUTLINE" color={color} size={size} />;
75
-
76
- case "CHECK_BOX_OUTLINE":
77
- return <SvgIconCheckBoxOutline icon="CHECK_BOX_OUTLINE" color={color} size={size} />;
78
-
79
- case "CHECK_BOX":
80
- return <SvgIconCheckBox icon="CHECK_BOX" color={color} size={size} background={background} />;
81
-
82
- case "CAMERA_PLUS":
83
- return <SvgIconCameraPlus color={color} size={size} icon={"CAMERA_PLUS"} />;
84
-
85
- case "MOON_STARS":
86
- return <SvgIconMoonStars color={color} size={size} icon={"MOON_STARS"} />;
87
-
88
- case "CALL_BELL":
89
- return <SvgIconCallBell color={color} size={size} icon={"CALL_BELL"} />;
90
-
91
- case "STEERING_WHEEL_FILL":
92
- return <SvgIconSteeringWheelFill color={color} size={size} icon={"STEERING_WHEEL_FILL"} />;
93
-
94
- case "TROPHY":
95
- return <SvgIconTrophy color={theme.colors.orange[150]} size={size} icon={"TROPHY"} />;
96
-
97
- case "SHOPPING_CART":
98
- return <IconShoppingCart icon={"SHOPPING_CART"} />;
99
-
100
- case "CREDIT_CARD":
101
- return <IconCreditCard icon={"CREDIT_CARD"} />;
102
-
103
- case "FILE_TEXT":
104
- return <IconFileText icon={"FILE_TEXT"} />;
105
-
106
- case "TRUCK":
107
- return <IconTruck icon={"TRUCK"} />;
108
-
109
- case "PACKAGE_CHECK":
110
- return <IconPackageCheck icon={"PACKAGE_CHECK"} />;
111
-
112
- case "EYE_SLASH":
113
- return <SvgIconEyeSlash color={color} size={size} icon={"EYE_SLASH"} />;
114
-
115
- case "EYE":
116
- return <SvgIconEye color={color} size={size} icon={"EYE"} />;
117
-
118
- case "CALENDAR":
119
- return <SvgIconCalendar color={color} size={size} icon={"CALENDAR"} />;
120
-
121
- case "TIMER":
122
- return <SvgIconTimer color={color} size={size} icon={"TIMER"} />;
123
-
124
- case "GEAR":
125
- return <SvgIconGear color={color} size={size} icon={"GEAR"} />;
126
-
127
- case "CURRENCY":
128
- return <SvgIconCurrency color={color} size={size} icon={"CURRENCY"} />;
129
-
130
- case "GAUGE":
131
- return <SvgIconGauge color={color} size={size} icon={"GAUGE"} />;
132
-
133
- case "GAS_PUMP":
134
- return <SvgIconGasPump color={color} size={size} icon={"GAS_PUMP"} />;
135
-
136
- case "ARROW_LEFT":
137
- return <SvgIconArrowLeft color={color} size={size} icon={"ARROW_LEFT"} />;
138
-
139
- case "BLUETOOTH":
140
- return <SvgIconBluetooth color={color} size={size} icon={"BLUETOOTH"} />;
141
-
142
- case "BLUETOOTH_CONNECTED":
143
- return <SvgIconBluetoothConnected color={color} size={size} icon={"BLUETOOTH_CONNECTED"} />;
144
-
145
- case "BED":
146
- return <SvgIconBed color={color} size={size} icon={"BED"} />;
147
-
148
- case "LIST":
149
- return <SvgIconList color={color} size={size} icon={"LIST"} />;
150
-
151
- case "WIFI_HIGH":
152
- return <SvgIconWiFiHigh color={color} size={size} icon={"WIFI_HIGH"} />;
153
-
154
- case "WIFI_X":
155
- return <SvgIconWiFiX color={color} size={size} icon={"WIFI_X"} />;
156
-
157
- case "NOTE_PINCEL":
158
- return <SvgIconNotePencil color={color} size={size} icon={"NOTE_PINCEL"} />;
159
-
160
- case "CHECK_CIRCLE":
161
- return (
162
- <SvgIconCheckCircle
163
- color={color}
164
- size={size}
165
- icon={"CHECK_CIRCLE"}
166
- background={background}
167
- />
168
- );
169
-
170
- case "ARROW_DROP_DOWN":
171
- return <SvgIconArrowDropDown color={color} size={size} icon={"ARROW_DROP_DOWN"} />;
172
-
173
- case "CLOSED":
174
- return <SvgIconClosed color={color} size={size} icon={"CLOSED"} />;
175
-
176
- case "BELL":
177
- return <SvgIconBell color={color} size={size} icon={"BELL"} />;
178
-
179
- case "FILES":
180
- return <SvgIconFiles color={color} size={size} icon={"FILES"} />;
181
-
182
- case "LIFEBUOY":
183
- return <SvgIconLifebuoy color={color} size={size} icon={"LIFEBUOY"} />;
184
-
185
- case "RECUSED":
186
- return <SvgIconRecused color={color} size={size} icon={"RECUSED"} background={background} />;
187
-
188
- case "EXCLAMATION_CIRCLE":
189
- return (
190
- <SvgIconExclamationCircle
191
- color={color}
192
- size={size}
193
- icon={"EXCLAMATION_CIRCLE"}
194
- background={background}
195
- />
196
- );
197
-
198
- case "PLUS":
199
- return <SvgIconPlus color={color} size={size} icon={"PLUS"} />;
200
-
201
- case "X_CIRCLE":
202
- return <SvgIconXCirle color={color} size={size} icon={"X_CIRCLE"} />;
203
-
204
- case "ELLIPSE":
205
- return <SvgIconEllipse color={color} size={size} icon={"ELLIPSE"} />;
206
-
207
- case "PENCIL":
208
- return <SvgIconPencil color={color} size={size} icon={"PENCIL"} />;
209
- case "CAR":
210
- return <SvgIconCar color={color} size={size} icon={"CAR"} />;
211
-
212
- case "TRUCK_ACTIVITY":
213
- return (
214
- <SvgIconTruckActivity
215
- color={color}
216
- size={size}
217
- background={background}
218
- icon={"TRUCK_ACTIVITY"}
219
- />
220
- );
221
-
222
- case "COFFEE":
223
- return <SvgIconCoffee color={color} size={size} icon={"COFFEE"} />;
224
-
225
- case "AGENT":
226
- return <SvgIconAgent color={color} size={size} icon={"AGENT"} />;
227
-
228
- case "REFRESH_CCW_DOT":
229
- return <SvgIconRefreshCcwDot color={color} size={size} icon={"REFRESH_CCW_DOT"} />;
230
-
231
- default:
232
- return <SvgIconCameraPlus color={color} size={size} icon={"CAMERA_PLUS"} />;
233
- }
234
- };
235
-
236
- const IconsMenuItems: React.FC<ISvgProps> = ({ icon, color, size }) => {
237
- switch (icon) {
238
- case "COIL":
239
- return <SvgPackage color={color} size={size} icon={"COIL"} />;
240
- case "LOADING":
241
- return <SvgTruckTrailer color={color} size={size} icon={"LOADING"} />;
242
-
243
- case "HISTORY":
244
- return <SvgChartBar color={color} size={size} icon={"HISTORY"} />;
245
-
246
- default:
247
- return <SvgPackage color={color} size={size} icon={"COIL"} />;
248
- }
249
- };
250
-
251
- /**
252
- * EXPORTS
253
- */
254
-
255
- export { Icons, IconsMenuItems };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+
6
+ // commons / svg
7
+ import { SvgIconSteeringWheel } from "./steering-wheel";
8
+ import { SvgIconCheckBoxFill } from "./check-box-fill";
9
+ import { SvgIconCheckBoxOutline } from "./check-box-outline";
10
+ import { SvgIconCameraPlus } from "./camera-plus";
11
+ import { SvgIconMoonStars } from "./moon-stars";
12
+ import { SvgIconCallBell } from "./call-bell";
13
+ import { SvgIconSteeringWheelFill } from "./steering-wheel-fill";
14
+ import { SvgIconTrophy } from "./trophy";
15
+ import { IconShoppingCart } from "./shopping-cart";
16
+ import { IconCreditCard } from "./credit-card";
17
+ import { IconFileText } from "./file-text";
18
+ import { IconTruck } from "./truck";
19
+ import { IconPackageCheck } from "./package-check";
20
+ import { SvgIconEyeSlash } from "./eye-slash";
21
+ import { SvgIconCalendar } from "./calendar";
22
+ import { SvgIconCurrency } from "./currency";
23
+ import { SvgIconEye } from "./eye";
24
+ import { SvgIconGasPump } from "./gas-pump";
25
+ import { SvgIconGauge } from "./gauge";
26
+ import { SvgIconGear } from "./gear";
27
+ import { SvgIconTimer } from "./timer";
28
+ import { SvgIconNotePencil } from "./note-pincel";
29
+ import { SvgIconCheckCircle } from "./check-circle";
30
+ import { SvgIconArrowLeft } from "./arrow-left";
31
+ import { SvgIconBluetooth } from "./bluetooth";
32
+ import { SvgIconBluetoothConnected } from "./bluetooth-connected";
33
+ import { SvgIconList } from "./list";
34
+ import { SvgIconWiFiHigh } from "./wifi-high";
35
+ import { SvgIconWiFiX } from "./wifi-x";
36
+ import { SvgIconArrowDropDown } from "./arrow-drop-down";
37
+ import { SvgIconClosed } from "./closed";
38
+ import { SvgPackage } from "./package";
39
+ import { SvgChartBar } from "./chart-bar";
40
+ import { SvgTruckTrailer } from "./truck-trailer";
41
+ import { SvgIconBell } from "./bell";
42
+ import { SvgIconFiles } from "./files";
43
+ import { SvgIconLifebuoy } from "./lifebuoy";
44
+ import { SvgIconRecused } from "./recused";
45
+ import { SvgIconExclamationCircle } from "./exclamation-circle";
46
+ import { SvgIconPlus } from "./plus";
47
+ import { SvgIconXCirle } from "./x-circle";
48
+ import { SvgIconEllipse } from "./ellipse";
49
+ import { SvgIconCheckBox } from "./check-box";
50
+ import { SvgIconPencil } from "./pencil";
51
+ import { SvgIconCar } from "./car";
52
+ import { SvgIconTruckActivity } from "./truck-activity";
53
+ import { SvgIconCheckOutline } from "./check-outline";
54
+
55
+ // typing
56
+ import { ISvgProps } from "./interface";
57
+
58
+ // styles
59
+ import { theme } from "../../styles/theme/theme";
60
+ import { SvgIconCoffee } from "./coffee";
61
+ import { SvgIconAgent } from "./agent";
62
+ import { SvgIconBed } from "./bed";
63
+ import { SvgIconRefreshCcwDot } from "./refresh-ccw-dot";
64
+
65
+ const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
66
+ switch (icon) {
67
+ case "STEERING_WHEEL":
68
+ return <SvgIconSteeringWheel icon="STEERING_WHEEL" color={color} size={size} />;
69
+
70
+ case "CHECK_BOX_FILL":
71
+ return <SvgIconCheckBoxFill icon="CHECK_BOX_FILL" color={color} size={size} />;
72
+
73
+ case "CHECK_OUTLINE":
74
+ return <SvgIconCheckOutline icon="CHECK_OUTLINE" color={color} size={size} />;
75
+
76
+ case "CHECK_BOX_OUTLINE":
77
+ return <SvgIconCheckBoxOutline icon="CHECK_BOX_OUTLINE" color={color} size={size} />;
78
+
79
+ case "CHECK_BOX":
80
+ return <SvgIconCheckBox icon="CHECK_BOX" color={color} size={size} background={background} />;
81
+
82
+ case "CAMERA_PLUS":
83
+ return <SvgIconCameraPlus color={color} size={size} icon={"CAMERA_PLUS"} />;
84
+
85
+ case "MOON_STARS":
86
+ return <SvgIconMoonStars color={color} size={size} icon={"MOON_STARS"} />;
87
+
88
+ case "CALL_BELL":
89
+ return <SvgIconCallBell color={color} size={size} icon={"CALL_BELL"} />;
90
+
91
+ case "STEERING_WHEEL_FILL":
92
+ return <SvgIconSteeringWheelFill color={color} size={size} icon={"STEERING_WHEEL_FILL"} />;
93
+
94
+ case "TROPHY":
95
+ return <SvgIconTrophy color={theme.colors.orange[150]} size={size} icon={"TROPHY"} />;
96
+
97
+ case "SHOPPING_CART":
98
+ return <IconShoppingCart icon={"SHOPPING_CART"} />;
99
+
100
+ case "CREDIT_CARD":
101
+ return <IconCreditCard icon={"CREDIT_CARD"} />;
102
+
103
+ case "FILE_TEXT":
104
+ return <IconFileText icon={"FILE_TEXT"} />;
105
+
106
+ case "TRUCK":
107
+ return <IconTruck icon={"TRUCK"} />;
108
+
109
+ case "PACKAGE_CHECK":
110
+ return <IconPackageCheck icon={"PACKAGE_CHECK"} />;
111
+
112
+ case "EYE_SLASH":
113
+ return <SvgIconEyeSlash color={color} size={size} icon={"EYE_SLASH"} />;
114
+
115
+ case "EYE":
116
+ return <SvgIconEye color={color} size={size} icon={"EYE"} />;
117
+
118
+ case "CALENDAR":
119
+ return <SvgIconCalendar color={color} size={size} icon={"CALENDAR"} />;
120
+
121
+ case "TIMER":
122
+ return <SvgIconTimer color={color} size={size} icon={"TIMER"} />;
123
+
124
+ case "GEAR":
125
+ return <SvgIconGear color={color} size={size} icon={"GEAR"} />;
126
+
127
+ case "CURRENCY":
128
+ return <SvgIconCurrency color={color} size={size} icon={"CURRENCY"} />;
129
+
130
+ case "GAUGE":
131
+ return <SvgIconGauge color={color} size={size} icon={"GAUGE"} />;
132
+
133
+ case "GAS_PUMP":
134
+ return <SvgIconGasPump color={color} size={size} icon={"GAS_PUMP"} />;
135
+
136
+ case "ARROW_LEFT":
137
+ return <SvgIconArrowLeft color={color} size={size} icon={"ARROW_LEFT"} />;
138
+
139
+ case "BLUETOOTH":
140
+ return <SvgIconBluetooth color={color} size={size} icon={"BLUETOOTH"} />;
141
+
142
+ case "BLUETOOTH_CONNECTED":
143
+ return <SvgIconBluetoothConnected color={color} size={size} icon={"BLUETOOTH_CONNECTED"} />;
144
+
145
+ case "BED":
146
+ return <SvgIconBed color={color} size={size} icon={"BED"} />;
147
+
148
+ case "LIST":
149
+ return <SvgIconList color={color} size={size} icon={"LIST"} />;
150
+
151
+ case "WIFI_HIGH":
152
+ return <SvgIconWiFiHigh color={color} size={size} icon={"WIFI_HIGH"} />;
153
+
154
+ case "WIFI_X":
155
+ return <SvgIconWiFiX color={color} size={size} icon={"WIFI_X"} />;
156
+
157
+ case "NOTE_PINCEL":
158
+ return <SvgIconNotePencil color={color} size={size} icon={"NOTE_PINCEL"} />;
159
+
160
+ case "CHECK_CIRCLE":
161
+ return (
162
+ <SvgIconCheckCircle
163
+ color={color}
164
+ size={size}
165
+ icon={"CHECK_CIRCLE"}
166
+ background={background}
167
+ />
168
+ );
169
+
170
+ case "ARROW_DROP_DOWN":
171
+ return <SvgIconArrowDropDown color={color} size={size} icon={"ARROW_DROP_DOWN"} />;
172
+
173
+ case "CLOSED":
174
+ return <SvgIconClosed color={color} size={size} icon={"CLOSED"} />;
175
+
176
+ case "BELL":
177
+ return <SvgIconBell color={color} size={size} icon={"BELL"} />;
178
+
179
+ case "FILES":
180
+ return <SvgIconFiles color={color} size={size} icon={"FILES"} />;
181
+
182
+ case "LIFEBUOY":
183
+ return <SvgIconLifebuoy color={color} size={size} icon={"LIFEBUOY"} />;
184
+
185
+ case "RECUSED":
186
+ return <SvgIconRecused color={color} size={size} icon={"RECUSED"} background={background} />;
187
+
188
+ case "EXCLAMATION_CIRCLE":
189
+ return (
190
+ <SvgIconExclamationCircle
191
+ color={color}
192
+ size={size}
193
+ icon={"EXCLAMATION_CIRCLE"}
194
+ background={background}
195
+ />
196
+ );
197
+
198
+ case "PLUS":
199
+ return <SvgIconPlus color={color} size={size} icon={"PLUS"} />;
200
+
201
+ case "X_CIRCLE":
202
+ return <SvgIconXCirle color={color} size={size} icon={"X_CIRCLE"} />;
203
+
204
+ case "ELLIPSE":
205
+ return <SvgIconEllipse color={color} size={size} icon={"ELLIPSE"} />;
206
+
207
+ case "PENCIL":
208
+ return <SvgIconPencil color={color} size={size} icon={"PENCIL"} />;
209
+ case "CAR":
210
+ return <SvgIconCar color={color} size={size} icon={"CAR"} />;
211
+
212
+ case "TRUCK_ACTIVITY":
213
+ return (
214
+ <SvgIconTruckActivity
215
+ color={color}
216
+ size={size}
217
+ background={background}
218
+ icon={"TRUCK_ACTIVITY"}
219
+ />
220
+ );
221
+
222
+ case "COFFEE":
223
+ return <SvgIconCoffee color={color} size={size} icon={"COFFEE"} />;
224
+
225
+ case "AGENT":
226
+ return <SvgIconAgent color={color} size={size} icon={"AGENT"} />;
227
+
228
+ case "REFRESH_CCW_DOT":
229
+ return <SvgIconRefreshCcwDot color={color} size={size} icon={"REFRESH_CCW_DOT"} />;
230
+
231
+ default:
232
+ return <SvgIconCameraPlus color={color} size={size} icon={"CAMERA_PLUS"} />;
233
+ }
234
+ };
235
+
236
+ const IconsMenuItems: React.FC<ISvgProps> = ({ icon, color, size }) => {
237
+ switch (icon) {
238
+ case "COIL":
239
+ return <SvgPackage color={color} size={size} icon={"COIL"} />;
240
+ case "LOADING":
241
+ return <SvgTruckTrailer color={color} size={size} icon={"LOADING"} />;
242
+
243
+ case "HISTORY":
244
+ return <SvgChartBar color={color} size={size} icon={"HISTORY"} />;
245
+
246
+ default:
247
+ return <SvgPackage color={color} size={size} icon={"COIL"} />;
248
+ }
249
+ };
250
+
251
+ /**
252
+ * EXPORTS
253
+ */
254
+
255
+ export { Icons, IconsMenuItems };
@@ -1,32 +1,32 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import * as React from "react";
5
- import Svg, { Path } from "react-native-svg";
6
-
7
- // typings
8
- import { ISvgProps } from "../interface";
9
-
10
- const SvgIconPencil: React.FC<ISvgProps> = ({ color, size }) => (
11
- <Svg
12
- // @ts-ignore
13
- xmlns="http://www.w3.org/2000/svg"
14
- width={size ?? "24"}
15
- height={size ?? "24"}
16
- fill="none"
17
- viewBox="0 0 24 24"
18
- >
19
- <Path
20
- stroke={color ?? "#fff"}
21
- strokeLinecap="round"
22
- strokeLinejoin="round"
23
- strokeWidth="1.5"
24
- d="M8.69 20.25H4.5a.75.75 0 0 1-.75-.75v-4.19a.74.74 0 0 1 .216-.526l11.25-11.25a.75.75 0 0 1 1.068 0l4.182 4.182a.75.75 0 0 1 0 1.068l-11.25 11.25a.74.74 0 0 1-.525.216M12.75 6 18 11.25"
25
- ></Path>
26
- </Svg>
27
- );
28
-
29
- /**
30
- * EXPORTS
31
- */
32
- export { SvgIconPencil };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path } from "react-native-svg";
6
+
7
+ // typings
8
+ import { ISvgProps } from "../interface";
9
+
10
+ const SvgIconPencil: React.FC<ISvgProps> = ({ color, size }) => (
11
+ <Svg
12
+ // @ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? "24"}
15
+ height={size ?? "24"}
16
+ fill="none"
17
+ viewBox="0 0 24 24"
18
+ >
19
+ <Path
20
+ stroke={color ?? "#fff"}
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth="1.5"
24
+ d="M8.69 20.25H4.5a.75.75 0 0 1-.75-.75v-4.19a.74.74 0 0 1 .216-.526l11.25-11.25a.75.75 0 0 1 1.068 0l4.182 4.182a.75.75 0 0 1 0 1.068l-11.25 11.25a.74.74 0 0 1-.525.216M12.75 6 18 11.25"
25
+ ></Path>
26
+ </Svg>
27
+ );
28
+
29
+ /**
30
+ * EXPORTS
31
+ */
32
+ export { SvgIconPencil };
@@ -1,32 +1,32 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import * as React from "react";
5
- import Svg, { Path, Circle } from "react-native-svg";
6
-
7
- //typings
8
- import { ISvgProps } from "../interface";
9
-
10
- const SvgIconRefreshCcwDot: React.FC<ISvgProps> = ({ size, color }) => (
11
- <Svg
12
- //@ts-ignore
13
- xmlns="http://www.w3.org/2000/svg"
14
- width={size ?? 24}
15
- height={size ?? 24}
16
- viewBox="0 0 24 24"
17
- fill="none"
18
- stroke={color ?? "#000"}
19
- stroke-width="2"
20
- stroke-linecap="round"
21
- stroke-linejoin="round"
22
- class="lucide lucide-refresh-ccw-dot-icon lucide-refresh-ccw-dot"
23
- >
24
- <Path d="M3 2v6h6" />
25
- <Path d="M21 12A9 9 0 0 0 6 5.3L3 8" />
26
- <Path d="M21 22v-6h-6" />
27
- <Path d="M3 12a9 9 0 0 0 15 6.7l3-2.7" />
28
- <Circle cx="12" cy="12" r="1" />
29
- </Svg>
30
- );
31
-
32
- export { SvgIconRefreshCcwDot };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path, Circle } from "react-native-svg";
6
+
7
+ //typings
8
+ import { ISvgProps } from "../interface";
9
+
10
+ const SvgIconRefreshCcwDot: React.FC<ISvgProps> = ({ size, color }) => (
11
+ <Svg
12
+ //@ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? 24}
15
+ height={size ?? 24}
16
+ viewBox="0 0 24 24"
17
+ fill="none"
18
+ stroke={color ?? "#000"}
19
+ stroke-width="2"
20
+ stroke-linecap="round"
21
+ stroke-linejoin="round"
22
+ class="lucide lucide-refresh-ccw-dot-icon lucide-refresh-ccw-dot"
23
+ >
24
+ <Path d="M3 2v6h6" />
25
+ <Path d="M21 12A9 9 0 0 0 6 5.3L3 8" />
26
+ <Path d="M21 22v-6h-6" />
27
+ <Path d="M3 12a9 9 0 0 0 15 6.7l3-2.7" />
28
+ <Circle cx="12" cy="12" r="1" />
29
+ </Svg>
30
+ );
31
+
32
+ export { SvgIconRefreshCcwDot };