react-native-exp-fig 0.1.14 → 0.1.16

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 (260) 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 +2 -1
  12. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  13. package/lib/commonjs/common/icons-svg/hourglass/index.js +36 -0
  14. package/lib/commonjs/common/icons-svg/hourglass/index.js.map +1 -0
  15. package/lib/commonjs/common/icons-svg/index.js +8 -1
  16. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  17. package/lib/commonjs/common/icons-svg/pencil/index.js +4 -4
  18. package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -1
  19. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  20. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  21. package/lib/commonjs/common/icons-svg/truck-activity/index.js +4 -4
  22. package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -1
  23. package/lib/commonjs/components/activities-daily/index.js +4 -4
  24. package/lib/commonjs/components/activities-daily/index.js.map +1 -1
  25. package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -1
  26. package/lib/commonjs/components/activities-progress/index.js +4 -4
  27. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  28. package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
  29. package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
  30. package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -1
  31. package/lib/commonjs/components/button/styles.js +1 -1
  32. package/lib/commonjs/components/button/styles.js.map +1 -1
  33. package/lib/commonjs/components/card-history/index.js +62 -12
  34. package/lib/commonjs/components/card-history/index.js.map +1 -1
  35. package/lib/commonjs/components/card-history/interface.d.js.map +1 -1
  36. package/lib/commonjs/components/card-loading/index.js +21 -10
  37. package/lib/commonjs/components/card-loading/index.js.map +1 -1
  38. package/lib/commonjs/components/card-work-session/index.js +4 -4
  39. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  40. package/lib/commonjs/components/check-box/index.js +6 -6
  41. package/lib/commonjs/components/check-box/index.js.map +1 -1
  42. package/lib/commonjs/components/check-box/interface.d.js.map +1 -1
  43. package/lib/commonjs/components/coil/index.js +4 -4
  44. package/lib/commonjs/components/coil/index.js.map +1 -1
  45. package/lib/commonjs/components/coil/interface.d.js.map +1 -1
  46. package/lib/commonjs/components/filter-date-selector/index.js +7 -7
  47. package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
  48. package/lib/commonjs/components/history-details/index.js +1 -2
  49. package/lib/commonjs/components/history-details/index.js.map +1 -1
  50. package/lib/commonjs/components/history-details/interface.d.js.map +1 -1
  51. package/lib/commonjs/components/image-capture-with-remove/index.js +11 -10
  52. package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
  53. package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -1
  54. package/lib/commonjs/components/loading-progress/index.js +3 -1
  55. package/lib/commonjs/components/loading-progress/index.js.map +1 -1
  56. package/lib/commonjs/components/modal-activities/index.js +155 -0
  57. package/lib/commonjs/components/modal-activities/index.js.map +1 -0
  58. package/lib/commonjs/components/modal-activities/interface.d.js +6 -0
  59. package/lib/commonjs/components/modal-activities/interface.d.js.map +1 -0
  60. package/lib/commonjs/components/notification-loading/index.js +9 -2
  61. package/lib/commonjs/components/notification-loading/index.js.map +1 -1
  62. package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -1
  63. package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
  64. package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -1
  65. package/lib/commonjs/components/step-indicator/index.js +6 -6
  66. package/lib/commonjs/components/step-indicator/index.js.map +1 -1
  67. package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -1
  68. package/lib/commonjs/components/step-indicator/styles.js +9 -8
  69. package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
  70. package/lib/commonjs/components/user-profile/index.js +6 -6
  71. package/lib/commonjs/components/user-profile/index.js.map +1 -1
  72. package/lib/commonjs/index.js +7 -0
  73. package/lib/commonjs/index.js.map +1 -1
  74. package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -1
  75. package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
  76. package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  77. package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
  78. package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
  79. package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
  80. package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  81. package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -1
  82. package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  83. package/lib/commonjs/stories/modal-activities/modal-activities.stories.js +47 -0
  84. package/lib/commonjs/stories/modal-activities/modal-activities.stories.js.map +1 -0
  85. package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -1
  86. package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  87. package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
  88. package/lib/commonjs/styles/global/interface.d.js.map +1 -1
  89. package/lib/commonjs/styles/theme/theme.js +6 -5
  90. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  91. package/lib/commonjs/utils/format-data/index.js +11 -11
  92. package/lib/commonjs/utils/format-data/index.js.map +1 -1
  93. package/lib/commonjs/utils/status-color/return-color.js +12 -2
  94. package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
  95. package/lib/module/common/icons-svg/agent/index.js +2 -2
  96. package/lib/module/common/icons-svg/agent/index.js.map +1 -1
  97. package/lib/module/common/icons-svg/bed/index.js +4 -4
  98. package/lib/module/common/icons-svg/bed/index.js.map +1 -1
  99. package/lib/module/common/icons-svg/car/index.js +4 -4
  100. package/lib/module/common/icons-svg/car/index.js.map +1 -1
  101. package/lib/module/common/icons-svg/check-outline/index.js +6 -6
  102. package/lib/module/common/icons-svg/check-outline/index.js.map +1 -1
  103. package/lib/module/common/icons-svg/coffee/index.js +4 -4
  104. package/lib/module/common/icons-svg/coffee/index.js.map +1 -1
  105. package/lib/module/common/icons-svg/constants/index.js +2 -1
  106. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  107. package/lib/module/common/icons-svg/hourglass/index.js +28 -0
  108. package/lib/module/common/icons-svg/hourglass/index.js.map +1 -0
  109. package/lib/module/common/icons-svg/index.js +11 -4
  110. package/lib/module/common/icons-svg/index.js.map +1 -1
  111. package/lib/module/common/icons-svg/pencil/index.js +4 -4
  112. package/lib/module/common/icons-svg/pencil/index.js.map +1 -1
  113. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  114. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  115. package/lib/module/common/icons-svg/truck-activity/index.js +4 -4
  116. package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -1
  117. package/lib/module/components/activities-daily/index.js +4 -4
  118. package/lib/module/components/activities-daily/index.js.map +1 -1
  119. package/lib/module/components/activities-daily/interface.d.js.map +1 -1
  120. package/lib/module/components/activities-progress/index.js +4 -4
  121. package/lib/module/components/activities-progress/index.js.map +1 -1
  122. package/lib/module/components/activities-progress/interface.d.js.map +1 -1
  123. package/lib/module/components/avatar-profile/index.js.map +1 -1
  124. package/lib/module/components/avatar-profile/interface.d.js.map +1 -1
  125. package/lib/module/components/button/styles.js +1 -1
  126. package/lib/module/components/button/styles.js.map +1 -1
  127. package/lib/module/components/card-history/index.js +62 -12
  128. package/lib/module/components/card-history/index.js.map +1 -1
  129. package/lib/module/components/card-history/interface.d.js.map +1 -1
  130. package/lib/module/components/card-loading/index.js +22 -11
  131. package/lib/module/components/card-loading/index.js.map +1 -1
  132. package/lib/module/components/card-work-session/index.js +4 -4
  133. package/lib/module/components/card-work-session/index.js.map +1 -1
  134. package/lib/module/components/check-box/index.js +6 -6
  135. package/lib/module/components/check-box/index.js.map +1 -1
  136. package/lib/module/components/check-box/interface.d.js.map +1 -1
  137. package/lib/module/components/coil/index.js +4 -4
  138. package/lib/module/components/coil/index.js.map +1 -1
  139. package/lib/module/components/coil/interface.d.js.map +1 -1
  140. package/lib/module/components/filter-date-selector/index.js +7 -7
  141. package/lib/module/components/filter-date-selector/index.js.map +1 -1
  142. package/lib/module/components/history-details/index.js +1 -2
  143. package/lib/module/components/history-details/index.js.map +1 -1
  144. package/lib/module/components/history-details/interface.d.js.map +1 -1
  145. package/lib/module/components/image-capture-with-remove/index.js +11 -10
  146. package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
  147. package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
  148. package/lib/module/components/loading-progress/index.js +3 -1
  149. package/lib/module/components/loading-progress/index.js.map +1 -1
  150. package/lib/module/components/modal-activities/index.js +148 -0
  151. package/lib/module/components/modal-activities/index.js.map +1 -0
  152. package/lib/module/components/modal-activities/interface.d.js +2 -0
  153. package/lib/module/components/modal-activities/interface.d.js.map +1 -0
  154. package/lib/module/components/notification-loading/index.js +9 -2
  155. package/lib/module/components/notification-loading/index.js.map +1 -1
  156. package/lib/module/components/notification-loading/interface.d.js.map +1 -1
  157. package/lib/module/components/profile-menu-option/index.js.map +1 -1
  158. package/lib/module/components/profile-menu-option/interface.d.js.map +1 -1
  159. package/lib/module/components/step-indicator/index.js +6 -6
  160. package/lib/module/components/step-indicator/index.js.map +1 -1
  161. package/lib/module/components/step-indicator/interface.d.js.map +1 -1
  162. package/lib/module/components/step-indicator/styles.js +9 -8
  163. package/lib/module/components/step-indicator/styles.js.map +1 -1
  164. package/lib/module/components/user-profile/index.js +6 -6
  165. package/lib/module/components/user-profile/index.js.map +1 -1
  166. package/lib/module/index.js +1 -0
  167. package/lib/module/index.js.map +1 -1
  168. package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -1
  169. package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
  170. package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  171. package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
  172. package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
  173. package/lib/module/stories/coil/coil.stories.js.map +1 -1
  174. package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  175. package/lib/module/stories/history-details/history-details.stories.js.map +1 -1
  176. package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  177. package/lib/module/stories/modal-activities/modal-activities.stories.js +41 -0
  178. package/lib/module/stories/modal-activities/modal-activities.stories.js.map +1 -0
  179. package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -1
  180. package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  181. package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
  182. package/lib/module/styles/global/interface.d.js.map +1 -1
  183. package/lib/module/styles/theme/theme.js +6 -5
  184. package/lib/module/styles/theme/theme.js.map +1 -1
  185. package/lib/module/utils/format-data/index.js +11 -11
  186. package/lib/module/utils/format-data/index.js.map +1 -1
  187. package/lib/module/utils/status-color/return-color.js +12 -3
  188. package/lib/module/utils/status-color/return-color.js.map +1 -1
  189. package/lib/typescript/src/common/icons-svg/constants/index.d.ts +1 -0
  190. package/lib/typescript/src/common/icons-svg/hourglass/index.d.ts +10 -0
  191. package/lib/typescript/src/components/button/styles.d.ts +2 -3
  192. package/lib/typescript/src/components/modal-activities/index.d.ts +6 -0
  193. package/lib/typescript/src/components/step-indicator/styles.d.ts +1 -0
  194. package/lib/typescript/src/index.d.ts +1 -0
  195. package/lib/typescript/src/stories/modal-activities/modal-activities.stories.d.ts +6 -0
  196. package/lib/typescript/src/styles/global/theme-provider.d.ts +1 -0
  197. package/lib/typescript/src/styles/theme/theme.d.ts +1 -0
  198. package/lib/typescript/src/utils/status-color/return-color.d.ts +2 -1
  199. package/package.json +221 -221
  200. package/src/common/icons-svg/agent/index.tsx +40 -40
  201. package/src/common/icons-svg/bed/index.tsx +41 -41
  202. package/src/common/icons-svg/car/index.tsx +29 -29
  203. package/src/common/icons-svg/check-outline/index.tsx +42 -42
  204. package/src/common/icons-svg/coffee/index.tsx +43 -43
  205. package/src/common/icons-svg/constants/index.ts +1 -0
  206. package/src/common/icons-svg/hourglass/index.tsx +28 -0
  207. package/src/common/icons-svg/index.tsx +8 -4
  208. package/src/common/icons-svg/pencil/index.tsx +32 -32
  209. package/src/common/icons-svg/refresh-ccw-dot/index.tsx +32 -32
  210. package/src/common/icons-svg/truck-activity/index.tsx +29 -29
  211. package/src/components/activities-daily/index.tsx +116 -116
  212. package/src/components/activities-daily/interface.d.ts +22 -22
  213. package/src/components/activities-progress/index.tsx +162 -162
  214. package/src/components/activities-progress/interface.d.ts +41 -41
  215. package/src/components/avatar-profile/index.tsx +95 -95
  216. package/src/components/avatar-profile/interface.d.ts +39 -39
  217. package/src/components/button/styles.ts +34 -34
  218. package/src/components/card-history/index.tsx +67 -5
  219. package/src/components/card-history/interface.d.ts +34 -28
  220. package/src/components/card-loading/index.tsx +16 -4
  221. package/src/components/card-work-session/index.tsx +187 -187
  222. package/src/components/check-box/index.tsx +94 -94
  223. package/src/components/check-box/interface.d.ts +31 -31
  224. package/src/components/coil/index.tsx +103 -103
  225. package/src/components/coil/interface.d.ts +26 -26
  226. package/src/components/filter-date-selector/index.tsx +101 -101
  227. package/src/components/history-details/index.tsx +1 -2
  228. package/src/components/history-details/interface.d.ts +18 -18
  229. package/src/components/image-capture-with-remove/index.tsx +11 -8
  230. package/src/components/image-capture-with-remove/interface.d.ts +6 -3
  231. package/src/components/loading-progress/index.tsx +93 -91
  232. package/src/components/modal-activities/index.tsx +139 -0
  233. package/src/components/modal-activities/interface.d.ts +21 -0
  234. package/src/components/notification-loading/index.tsx +9 -2
  235. package/src/components/notification-loading/interface.d.ts +35 -35
  236. package/src/components/profile-menu-option/index.tsx +65 -65
  237. package/src/components/profile-menu-option/interface.d.ts +42 -42
  238. package/src/components/step-indicator/index.tsx +164 -164
  239. package/src/components/step-indicator/interface.d.ts +34 -34
  240. package/src/components/step-indicator/styles.ts +68 -67
  241. package/src/components/user-profile/index.tsx +204 -204
  242. package/src/index.ts +1 -0
  243. package/src/stories/activities-daily/activities-daily.stories.tsx +40 -40
  244. package/src/stories/activities-progress/activities-progress.stories.tsx +61 -61
  245. package/src/stories/avatar-profile/avatar-profile.stories.tsx +32 -32
  246. package/src/stories/card-history/card-history.stories.tsx +50 -50
  247. package/src/stories/card-loading/card-loading.stories.tsx +85 -85
  248. package/src/stories/check-box/check-box.stories.tsx +81 -81
  249. package/src/stories/coil/coil.stories.tsx +98 -98
  250. package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +122 -122
  251. package/src/stories/history-details/history-details.stories.tsx +36 -36
  252. package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +57 -57
  253. package/src/stories/modal-activities/modal-activities.stories.tsx +46 -0
  254. package/src/stories/notification-loading/notification-loading.stories.tsx +88 -88
  255. package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -70
  256. package/src/stories/step-indicator/step-indicator.stories.tsx +124 -124
  257. package/src/styles/global/interface.d.ts +146 -141
  258. package/src/styles/theme/theme.ts +1 -0
  259. package/src/utils/format-data/index.ts +66 -66
  260. package/src/utils/status-color/return-color.ts +14 -3
@@ -0,0 +1,10 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import { ISvgProps } from "../interface";
6
+ declare const SvgIconHourglass: React.FC<ISvgProps>;
7
+ /**
8
+ * EXPORTS
9
+ */
10
+ export { SvgIconHourglass };
@@ -1,10 +1,9 @@
1
1
  import { type IButtonProps } from "./interface";
2
2
  import { IGlobalCss } from "../../styles/global/interface";
3
3
  /**
4
- * Interface ButtonProps
4
+ * Type ButtonProps
5
5
  */
6
- interface ButtonProps extends Omit<IButtonProps, "color">, Omit<IGlobalCss, "color"> {
7
- }
6
+ declare type ButtonProps = Omit<IButtonProps, "color"> & Omit<IGlobalCss, "color">;
8
7
  declare const styles: (props: ButtonProps) => {
9
8
  buttonStyle: IGlobalCss;
10
9
  buttonTextStyle: {
@@ -0,0 +1,6 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { IModalActivities } from "./interface";
6
+ export declare const ModalActivities: React.FC<IModalActivities>;
@@ -40,6 +40,7 @@ declare const styles: (props: IStepIndicator) => {
40
40
  lineHeight: number;
41
41
  fontSize: number;
42
42
  fontFamily: string;
43
+ fontWeight: "400";
43
44
  marginLeft: number;
44
45
  };
45
46
  containerMain: {
@@ -31,6 +31,7 @@ export { HistoryDetails } from "./components/history-details";
31
31
  export { ActivitiesDaily } from "./components/activities-daily";
32
32
  export { ActivitiesProgress } from "./components/activities-progress";
33
33
  export { ProfileMenuOption } from "./components/profile-menu-option";
34
+ export { ModalActivities } from "./components/modal-activities";
34
35
  export { multiply } from "./utils/mutiply";
35
36
  export { formatDate, getLastSevenDays, formHoursMinute } from "./utils/format-data";
36
37
  export { theme } from "./styles/theme/theme";
@@ -0,0 +1,6 @@
1
+ import { StoryObj, Meta } from "@storybook/react";
2
+ import { ModalActivities } from "../../components/modal-activities";
3
+ declare const meta: Meta<typeof ModalActivities>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -76,6 +76,7 @@ export declare const useTheme: () => {
76
76
  100: string;
77
77
  50: string;
78
78
  75: string;
79
+ 90: string;
79
80
  };
80
81
  };
81
82
  fonts: {
@@ -78,6 +78,7 @@ export declare const theme: {
78
78
  100: string;
79
79
  50: string;
80
80
  75: string;
81
+ 90: string;
81
82
  };
82
83
  };
83
84
  fonts: {
@@ -1,4 +1,5 @@
1
1
  export declare type StatusType = "Andamento" | "Cancelado" | "Pendente" | "Concluido";
2
2
  declare function getBorderColor(status: string): string;
3
3
  declare function getStatusColor(status: StatusType): string;
4
- export { getStatusColor, getBorderColor };
4
+ declare function getStatusTextColor(status: StatusType): string;
5
+ export { getStatusColor, getBorderColor, getStatusTextColor };
package/package.json CHANGED
@@ -1,221 +1,221 @@
1
- {
2
- "name": "react-native-exp-fig",
3
- "version": "0.1.14",
4
- "description": "Lib para interfaces",
5
- "main": "lib/commonjs/index",
6
- "module": "lib/module/index",
7
- "types": "lib/typescript/src/index.d.ts",
8
- "react-native": "./src/index",
9
- "source": "./src/index",
10
- "exports": {
11
- ".": {
12
- "import": {
13
- "types": "./lib/typescript/src/index.d.ts",
14
- "default": "./lib/module/index.js"
15
- },
16
- "require": {
17
- "types": "./lib/typescript/src/index.d.ts",
18
- "default": "./lib/commonjs/index.js"
19
- }
20
- }
21
- },
22
- "files": [
23
- "src",
24
- "lib",
25
- "android",
26
- "ios",
27
- "cpp",
28
- "*.podspec",
29
- "react-native.config.js",
30
- "!ios/build",
31
- "!android/build",
32
- "!android/gradle",
33
- "!android/gradlew",
34
- "!android/gradlew.bat",
35
- "!android/local.properties",
36
- "!**/__tests__",
37
- "!**/__fixtures__",
38
- "!**/__mocks__",
39
- "!**/.*"
40
- ],
41
- "scripts": {
42
- "example": "yarn workspace react-native-exp-fig-example",
43
- "test": "jest",
44
- "typecheck": "tsc",
45
- "lint": "eslint \"**/*.{js,ts,tsx}\"",
46
- "lint:fix": "eslint --fix \"**/*.{js,ts,tsx}\"",
47
- "clean": "del-cli lib",
48
- "prepare:bob": "bob build",
49
- "release": "release-it",
50
- "storybook": "storybook dev -p 6006",
51
- "format": "prettier --write .",
52
- "format:check": "prettier --check .",
53
- "prepare": "husky"
54
- },
55
- "keywords": [
56
- "react-native",
57
- "ios",
58
- "android"
59
- ],
60
- "repository": {
61
- "type": "git",
62
- "url": "https://github.com/expfig/expfig-ui"
63
- },
64
- "author": "Weverson-Luan <wltech2022@gmail.com> (https://github.com/Weverson-Luan)",
65
- "license": "MIT",
66
- "bugs": {
67
- "url": "https://github.com/expfig/expfig-ui/issues"
68
- },
69
- "homepage": "https://github.com/expfig/expfig-ui/blob/main/README.md",
70
- "publishConfig": {
71
- "registry": "https://registry.npmjs.org/"
72
- },
73
- "devDependencies": {
74
- "@babel/core": "^7.26.7",
75
- "@babel/preset-env": "^7.22.20",
76
- "@babel/preset-react": "^7.26.3",
77
- "@commitlint/cli": "^19.7.1",
78
- "@commitlint/config-conventional": "^19.7.1",
79
- "@evilmartians/lefthook": "^1.5.0",
80
- "@react-native-community/bob": "^0.17.1",
81
- "@react-native/eslint-config": "^0.77.0",
82
- "@release-it/conventional-changelog": "^9.0.2",
83
- "@storybook/addon-actions": "^8.3.5",
84
- "@storybook/addon-controls": "^8.3.5",
85
- "@storybook/addon-essentials": "^8.3.5",
86
- "@storybook/addon-links": "^8.3.5",
87
- "@storybook/addon-ondevice-actions": "8.3.10",
88
- "@storybook/addon-ondevice-backgrounds": "8.3.10",
89
- "@storybook/addon-ondevice-controls": "8.3.10",
90
- "@storybook/addon-ondevice-notes": "8.3.10",
91
- "@storybook/addon-react-native-web": "^0.0.26",
92
- "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
93
- "@storybook/addons": "^7.6.17",
94
- "@storybook/react": "^8.3.5",
95
- "@storybook/react-native": "^8.5.3",
96
- "@storybook/react-webpack5": "^8.3.5",
97
- "@testing-library/jest-native": "^5.4.3",
98
- "@testing-library/react-native": "^12.3.0",
99
- "@types/jest": "^29.5.5",
100
- "@types/react": "^18.2.44",
101
- "@typescript-eslint/eslint-plugin": "^8.23.0",
102
- "babel-jest": "^29.7.0",
103
- "babel-loader": "^9.1.3",
104
- "babel-plugin-module-resolver": "^5.0.2",
105
- "babel-plugin-react-docgen-typescript": "^1.5.1",
106
- "babel-plugin-react-native-web": "^0.19.12",
107
- "babel-plugin-transform-inline-environment-variables": "^0.4.4",
108
- "commitlint": "^17.0.2",
109
- "del-cli": "^5.1.0",
110
- "eslint": "^9.19.0",
111
- "eslint-config-prettier": "^10.0.1",
112
- "eslint-plugin-jest": "^28.11.0",
113
- "eslint-plugin-prettier": "^5.2.3",
114
- "eslint-plugin-react": "^7.37.4",
115
- "eslint-plugin-storybook": "^0.11.2",
116
- "husky": "^9.1.7",
117
- "jest": "^29.7.0",
118
- "prettier": "^3.4.2",
119
- "react": "18.3.1",
120
- "react-native": "0.76.6",
121
- "react-native-builder-bob": "^0.32.0",
122
- "release-it": "^17.10.0",
123
- "storybook": "^8.3.5"
124
- },
125
- "resolutions": {
126
- "@types/react": "^18.2.44"
127
- },
128
- "workspaces": [
129
- "example"
130
- ],
131
- "packageManager": "yarn@3.6.1",
132
- "release-it": {
133
- "git": {
134
- "commitMessage": "chore: release ${version}",
135
- "tagName": "v${version}"
136
- },
137
- "npm": {
138
- "publish": true
139
- },
140
- "github": {
141
- "release": true
142
- },
143
- "plugins": {
144
- "@release-it/conventional-changelog": {
145
- "preset": "angular"
146
- }
147
- }
148
- },
149
- "react-native-builder-bob": {
150
- "source": "src",
151
- "output": "lib",
152
- "targets": [
153
- [
154
- "commonjs",
155
- {
156
- "esm": true
157
- }
158
- ],
159
- [
160
- "module",
161
- {
162
- "esm": true
163
- }
164
- ],
165
- [
166
- "typescript",
167
- {
168
- "project": "tsconfig.build.json",
169
- "esm": true
170
- }
171
- ]
172
- ]
173
- },
174
- "create-react-native-library": {
175
- "languages": "js",
176
- "type": "library",
177
- "version": "0.47.0"
178
- },
179
- "dependencies": {
180
- "@react-native-async-storage/async-storage": "^2.0.0",
181
- "@react-native-community/datetimepicker": "^8.2.0",
182
- "@react-native-community/slider": "^4.5.3",
183
- "@storybook/test": "^8.3.0",
184
- "jest-environment-jsdom": "^29.7.0",
185
- "jest-matcher-utils": "^29.7.0",
186
- "react": "*",
187
- "react-dom": "^18.3.1",
188
- "react-native": "*",
189
- "react-native-exp-fig": "^0.1.1",
190
- "react-native-gesture-handler": "^2.19.0",
191
- "react-native-reanimated": "^3.16.7",
192
- "react-native-safe-area-context": "^4.11.0",
193
- "react-native-svg": "^15.6.0",
194
- "react-native-web": "^0.19.12",
195
- "react-test-renderer": "^18.2.0",
196
- "ts-jest": "^29.1.1",
197
- "ts-node": "^10.9.1",
198
- "typescript": "4.8.4"
199
- },
200
- "peerDependencies": {
201
- "@types/react": "*",
202
- "@types/react-native": "*",
203
- "react": "*",
204
- "react-dom": "*",
205
- "react-native": "*",
206
- "react-native-safe-area-context": "*"
207
- },
208
- "@react-native-community/bob": {
209
- "source": "src",
210
- "output": "lib",
211
- "targets": [
212
- "commonjs",
213
- "module",
214
- "typescript"
215
- ]
216
- },
217
- "eslintIgnore": [
218
- "node_modules/",
219
- "lib/"
220
- ]
221
- }
1
+ {
2
+ "name": "react-native-exp-fig",
3
+ "version": "0.1.16",
4
+ "description": "Biblioteca para desenvolvimento dos componentes para utilizar nos app da Expresso Figueiredo.",
5
+ "main": "lib/commonjs/index",
6
+ "module": "lib/module/index",
7
+ "types": "lib/typescript/src/index.d.ts",
8
+ "react-native": "./src/index",
9
+ "source": "./src/index",
10
+ "exports": {
11
+ ".": {
12
+ "import": {
13
+ "types": "./lib/typescript/src/index.d.ts",
14
+ "default": "./lib/module/index.js"
15
+ },
16
+ "require": {
17
+ "types": "./lib/typescript/src/index.d.ts",
18
+ "default": "./lib/commonjs/index.js"
19
+ }
20
+ }
21
+ },
22
+ "files": [
23
+ "src",
24
+ "lib",
25
+ "android",
26
+ "ios",
27
+ "cpp",
28
+ "*.podspec",
29
+ "react-native.config.js",
30
+ "!ios/build",
31
+ "!android/build",
32
+ "!android/gradle",
33
+ "!android/gradlew",
34
+ "!android/gradlew.bat",
35
+ "!android/local.properties",
36
+ "!**/__tests__",
37
+ "!**/__fixtures__",
38
+ "!**/__mocks__",
39
+ "!**/.*"
40
+ ],
41
+ "scripts": {
42
+ "example": "yarn workspace react-native-exp-fig-example",
43
+ "test": "jest",
44
+ "typecheck": "tsc",
45
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
46
+ "lint:fix": "eslint --fix \"**/*.{js,ts,tsx}\"",
47
+ "clean": "del-cli lib",
48
+ "prepare:bob": "bob build",
49
+ "release": "release-it",
50
+ "storybook": "storybook dev -p 6006",
51
+ "format": "prettier --write .",
52
+ "format:check": "prettier --check .",
53
+ "prepare": "husky"
54
+ },
55
+ "keywords": [
56
+ "react-native",
57
+ "ios",
58
+ "android"
59
+ ],
60
+ "repository": {
61
+ "type": "git",
62
+ "url": "https://github.com/expfig/expfig-ui"
63
+ },
64
+ "author": "Weverson-Luan <wltech2022@gmail.com> (https://github.com/Weverson-Luan)",
65
+ "license": "MIT",
66
+ "bugs": {
67
+ "url": "https://github.com/expfig/expfig-ui/issues"
68
+ },
69
+ "homepage": "https://github.com/expfig/expfig-ui/blob/main/README.md",
70
+ "publishConfig": {
71
+ "registry": "https://registry.npmjs.org/"
72
+ },
73
+ "devDependencies": {
74
+ "@babel/core": "^7.26.7",
75
+ "@babel/preset-env": "^7.22.20",
76
+ "@babel/preset-react": "^7.26.3",
77
+ "@commitlint/cli": "^19.7.1",
78
+ "@commitlint/config-conventional": "^19.7.1",
79
+ "@evilmartians/lefthook": "^1.5.0",
80
+ "@react-native-community/bob": "^0.17.1",
81
+ "@react-native/eslint-config": "^0.77.0",
82
+ "@release-it/conventional-changelog": "^9.0.2",
83
+ "@storybook/addon-actions": "^8.3.5",
84
+ "@storybook/addon-controls": "^8.3.5",
85
+ "@storybook/addon-essentials": "^8.3.5",
86
+ "@storybook/addon-links": "^8.3.5",
87
+ "@storybook/addon-ondevice-actions": "8.3.10",
88
+ "@storybook/addon-ondevice-backgrounds": "8.3.10",
89
+ "@storybook/addon-ondevice-controls": "8.3.10",
90
+ "@storybook/addon-ondevice-notes": "8.3.10",
91
+ "@storybook/addon-react-native-web": "^0.0.26",
92
+ "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
93
+ "@storybook/addons": "^7.6.17",
94
+ "@storybook/react": "^8.3.5",
95
+ "@storybook/react-native": "^8.5.3",
96
+ "@storybook/react-webpack5": "^8.3.5",
97
+ "@testing-library/jest-native": "^5.4.3",
98
+ "@testing-library/react-native": "^12.3.0",
99
+ "@types/jest": "^29.5.5",
100
+ "@types/react": "^18.2.44",
101
+ "@typescript-eslint/eslint-plugin": "^8.23.0",
102
+ "babel-jest": "^29.7.0",
103
+ "babel-loader": "^9.1.3",
104
+ "babel-plugin-module-resolver": "^5.0.2",
105
+ "babel-plugin-react-docgen-typescript": "^1.5.1",
106
+ "babel-plugin-react-native-web": "^0.19.12",
107
+ "babel-plugin-transform-inline-environment-variables": "^0.4.4",
108
+ "commitlint": "^17.0.2",
109
+ "del-cli": "^5.1.0",
110
+ "eslint": "^9.19.0",
111
+ "eslint-config-prettier": "^10.0.1",
112
+ "eslint-plugin-jest": "^28.11.0",
113
+ "eslint-plugin-prettier": "^5.2.3",
114
+ "eslint-plugin-react": "^7.37.4",
115
+ "eslint-plugin-storybook": "^0.11.2",
116
+ "husky": "^9.1.7",
117
+ "jest": "^29.7.0",
118
+ "prettier": "^3.4.2",
119
+ "react": "18.3.1",
120
+ "react-native": "0.76.6",
121
+ "react-native-builder-bob": "^0.32.0",
122
+ "release-it": "^17.10.0",
123
+ "storybook": "^8.3.5"
124
+ },
125
+ "resolutions": {
126
+ "@types/react": "^18.2.44"
127
+ },
128
+ "workspaces": [
129
+ "example"
130
+ ],
131
+ "packageManager": "yarn@3.6.1",
132
+ "release-it": {
133
+ "git": {
134
+ "commitMessage": "chore: release ${version}",
135
+ "tagName": "v${version}"
136
+ },
137
+ "npm": {
138
+ "publish": true
139
+ },
140
+ "github": {
141
+ "release": true
142
+ },
143
+ "plugins": {
144
+ "@release-it/conventional-changelog": {
145
+ "preset": "angular"
146
+ }
147
+ }
148
+ },
149
+ "react-native-builder-bob": {
150
+ "source": "src",
151
+ "output": "lib",
152
+ "targets": [
153
+ [
154
+ "commonjs",
155
+ {
156
+ "esm": true
157
+ }
158
+ ],
159
+ [
160
+ "module",
161
+ {
162
+ "esm": true
163
+ }
164
+ ],
165
+ [
166
+ "typescript",
167
+ {
168
+ "project": "tsconfig.build.json",
169
+ "esm": true
170
+ }
171
+ ]
172
+ ]
173
+ },
174
+ "create-react-native-library": {
175
+ "languages": "js",
176
+ "type": "library",
177
+ "version": "0.47.0"
178
+ },
179
+ "dependencies": {
180
+ "@react-native-async-storage/async-storage": "^2.0.0",
181
+ "@react-native-community/datetimepicker": "^8.2.0",
182
+ "@react-native-community/slider": "^4.5.3",
183
+ "@storybook/test": "^8.3.0",
184
+ "jest-environment-jsdom": "^29.7.0",
185
+ "jest-matcher-utils": "^29.7.0",
186
+ "react": "*",
187
+ "react-dom": "^18.3.1",
188
+ "react-native": "*",
189
+ "react-native-exp-fig": "^0.1.1",
190
+ "react-native-gesture-handler": "^2.19.0",
191
+ "react-native-reanimated": "^3.16.7",
192
+ "react-native-safe-area-context": "^4.11.0",
193
+ "react-native-svg": "^15.6.0",
194
+ "react-native-web": "^0.19.12",
195
+ "react-test-renderer": "^18.2.0",
196
+ "ts-jest": "^29.1.1",
197
+ "ts-node": "^10.9.1",
198
+ "typescript": "4.8.4"
199
+ },
200
+ "peerDependencies": {
201
+ "@types/react": "*",
202
+ "@types/react-native": "*",
203
+ "react": "*",
204
+ "react-dom": "*",
205
+ "react-native": "*",
206
+ "react-native-safe-area-context": "*"
207
+ },
208
+ "@react-native-community/bob": {
209
+ "source": "src",
210
+ "output": "lib",
211
+ "targets": [
212
+ "commonjs",
213
+ "module",
214
+ "typescript"
215
+ ]
216
+ },
217
+ "eslintIgnore": [
218
+ "node_modules/",
219
+ "lib/"
220
+ ]
221
+ }
@@ -1,40 +1,40 @@
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 SvgIconAgent: React.FC<ISvgProps> = ({ size, color }) => (
11
- <Svg
12
- // @ts-ignore
13
- xmlns="http://www.w3.org/2000/svg"
14
- width={size ?? "16"}
15
- height={size ?? "16"}
16
- fill="none"
17
- viewBox="0 0 16 16"
18
- >
19
- <Path
20
- stroke={color ?? "#fff"}
21
- strokeLinecap="round"
22
- strokeLinejoin="round"
23
- d="M8 10.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4"
24
- ></Path>
25
- <Path
26
- stroke={color ?? "#fff"}
27
- strokeLinecap="round"
28
- strokeLinejoin="round"
29
- d="M5 12a3.75 3.75 0 0 1 6 0"
30
- ></Path>
31
- <Path
32
- stroke={color ?? "#fff"}
33
- strokeLinecap="round"
34
- strokeLinejoin="round"
35
- d="M13 13.5v-11a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5M6 4h4"
36
- ></Path>
37
- </Svg>
38
- );
39
-
40
- export { SvgIconAgent };
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 SvgIconAgent: React.FC<ISvgProps> = ({ size, color }) => (
11
+ <Svg
12
+ // @ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? "16"}
15
+ height={size ?? "16"}
16
+ fill="none"
17
+ viewBox="0 0 16 16"
18
+ >
19
+ <Path
20
+ stroke={color ?? "#fff"}
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ d="M8 10.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4"
24
+ ></Path>
25
+ <Path
26
+ stroke={color ?? "#fff"}
27
+ strokeLinecap="round"
28
+ strokeLinejoin="round"
29
+ d="M5 12a3.75 3.75 0 0 1 6 0"
30
+ ></Path>
31
+ <Path
32
+ stroke={color ?? "#fff"}
33
+ strokeLinecap="round"
34
+ strokeLinejoin="round"
35
+ d="M13 13.5v-11a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5M6 4h4"
36
+ ></Path>
37
+ </Svg>
38
+ );
39
+
40
+ export { SvgIconAgent };